Proyectos de Subversion Android Microlearning

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?xml version="1.0" encoding="utf-8"?>
2
<androidx.constraintlayout.widget.ConstraintLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    android:layout_width="match_parent"
6
    android:layout_height="wrap_content"
7
    android:layout_marginTop="2dp"
8
    android:layout_marginBottom="2dp"
9
    android:layout_marginLeft="2dp"
10
    android:layout_marginRight="2dp"
11
    android:padding="0dp">
12
 
13
 
14
    <androidx.constraintlayout.widget.ConstraintLayout
15
        android:id="@+id/fragment_quiz_range_simple_answer_item_constraint"
16
        android:layout_width="0dp"
17
        android:layout_height="wrap_content"
18
        android:background="@drawable/cardview_background_topic"
19
        android:paddingTop="2dp"
20
        android:paddingBottom="2dp"
21
        android:paddingLeft="2dp"
22
        app:layout_constraintBottom_toBottomOf="parent"
23
        app:layout_constraintLeft_toLeftOf="parent"
24
        app:layout_constraintTop_toTopOf="parent"
25
 
26
        app:layout_constraintWidth_percent="0.6">
27
 
28
 
29
        <TextView
30
            android:id="@+id/fragment_quiz_range_simple_answer_item_textview"
31
            style="@style/textview_quiz_title_range_single"
32
            android:layout_width="0dp"
33
            android:layout_height="wrap_content"
34
            android:paddingLeft="10dp"
35
            android:text="1"
36
            android:textColor="@color/white"
37
            android:textAlignment="gravity"
38
            android:background="@drawable/cardview_background_range_single_textview"
39
            app:layout_constraintBottom_toBottomOf="parent"
40
            app:layout_constraintLeft_toLeftOf="parent"
41
            app:layout_constraintTop_toTopOf="parent"
42
            app:layout_constraintWidth_percent="0.5"
43
            />
44
 
45
    </androidx.constraintlayout.widget.ConstraintLayout>
46
 
47
    <RadioButton
48
        android:id="@+id/fragment_quiz_range_simple_answer_item_radio"
5 gabriel 49
        android:layout_width="48dp"
50
        android:layout_height="48dp"
1 efrain 51
        android:gravity="center"
52
        android:theme="@style/CheckBox"
53
        app:layout_constraintBottom_toBottomOf="parent"
54
        app:layout_constraintLeft_toRightOf="@id/fragment_quiz_range_simple_answer_item_constraint"
55
        app:layout_constraintRight_toRightOf="parent"
56
        app:layout_constraintTop_toTopOf="parent" />
57
 
58
 
59
</androidx.constraintlayout.widget.ConstraintLayout>