Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

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

Rev Autor Línea Nro. Línea
2 gabriel 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"
4 gabriel 5
    android:layout_width="match_parent"
2 gabriel 6
    android:layout_height="wrap_content"
7
    android:focusable="true"
8
    android:orientation="horizontal"
9
    android:visibility="visible">
10
 
11
    <!-- A CardView that contains a TextView -->
12
    <androidx.cardview.widget.CardView
71 efrain 13
        android:id="@+id/cardview_item_widget"
4 gabriel 14
        android:layout_width="0dp"
2 gabriel 15
        android:layout_height="wrap_content"
16
        android:layout_gravity="center"
4 gabriel 17
        app:cardBackgroundColor="@color/colorTextColor"
8 gabriel 18
        app:cardCornerRadius="8dp"
2 gabriel 19
        app:cardElevation="9dp"
20
        app:cardUseCompatPadding="true"
21
        app:layout_constraintBottom_toBottomOf="parent"
22
        app:layout_constraintEnd_toEndOf="parent"
23
        app:layout_constraintStart_toStartOf="parent"
24
        app:layout_constraintTop_toTopOf="parent">
25
 
26
        <androidx.constraintlayout.widget.ConstraintLayout
8 gabriel 27
            android:layout_width="match_parent"
28
            android:layout_height="match_parent"
2 gabriel 29
            android:layout_margin="7dp"
9 gabriel 30
            android:paddingStart="5dp"
31
            android:paddingTop="10dp"
32
            android:paddingEnd="5dp"
33
            android:paddingBottom="10dp">
2 gabriel 34
 
35
            <TextView
71 efrain 36
                android:id="@+id/cardview_item_textview_status"
10 gabriel 37
                android:layout_width="210dp"
2 gabriel 38
                android:layout_height="wrap_content"
71 efrain 39
                android:text="@string/common_in_progress"
8 gabriel 40
                android:textColor="@color/colorPrimary"
2 gabriel 41
                android:textSize="16sp"
4 gabriel 42
                android:textStyle="bold"
9 gabriel 43
                app:layout_constraintBottom_toBottomOf="parent"
44
                app:layout_constraintEnd_toEndOf="parent"
10 gabriel 45
                app:layout_constraintHorizontal_bias="0.096"
2 gabriel 46
                app:layout_constraintStart_toStartOf="parent"
9 gabriel 47
                app:layout_constraintTop_toTopOf="parent"
48
                app:layout_constraintVertical_bias="0.0" />
2 gabriel 49
 
50
            <TextView
71 efrain 51
                android:id="@+id/cardview_item_textview_title"
10 gabriel 52
                android:layout_width="210dp"
9 gabriel 53
                android:layout_height="24dp"
54
                android:layout_marginTop="12dp"
2 gabriel 55
                android:fontFamily="sans-serif-medium"
56
                android:textAlignment="viewStart"
57
                android:textColor="@color/colorTitleText"
71 efrain 58
                android:textSize="14sp"
2 gabriel 59
                android:textStyle="bold"
9 gabriel 60
                app:layout_constraintBottom_toBottomOf="parent"
61
                app:layout_constraintEnd_toEndOf="parent"
10 gabriel 62
                app:layout_constraintHorizontal_bias="0.096"
2 gabriel 63
                app:layout_constraintStart_toStartOf="parent"
9 gabriel 64
                app:layout_constraintTop_toTopOf="parent"
65
                app:layout_constraintVertical_bias="0.175" />
2 gabriel 66
 
9 gabriel 67
            <ProgressBar
71 efrain 68
                android:id="@+id/cardview_item_progressbar"
9 gabriel 69
                style="?android:attr/progressBarStyleHorizontal"
71 efrain 70
                android:layout_width="140dp"
9 gabriel 71
                android:layout_height="7dp"
71 efrain 72
                android:layout_marginRight="5dp"
9 gabriel 73
                android:progressTint="@color/buttonIntroBackground"
74
                app:layout_constraintBottom_toBottomOf="parent"
75
                app:layout_constraintEnd_toEndOf="parent"
76
                app:layout_constraintHorizontal_bias="0.071"
77
                app:layout_constraintStart_toStartOf="parent"
78
                app:layout_constraintTop_toTopOf="parent"
79
                app:layout_constraintVertical_bias="0.503" />
80
 
2 gabriel 81
            <TextView
71 efrain 82
                android:id="@+id/cardview_item_textview_progress"
9 gabriel 83
                android:layout_width="wrap_content"
2 gabriel 84
                android:layout_height="wrap_content"
9 gabriel 85
                android:text="100%"
71 efrain 86
                android:layout_marginRight="5dp"
9 gabriel 87
                android:textColor="@color/backgroundTopicProgressBar"
2 gabriel 88
                app:layout_constraintBottom_toBottomOf="parent"
9 gabriel 89
                app:layout_constraintEnd_toEndOf="parent"
90
                app:layout_constraintHorizontal_bias="0.052"
71 efrain 91
                app:layout_constraintStart_toEndOf="@+id/cardview_item_progressbar"
9 gabriel 92
                app:layout_constraintTop_toTopOf="parent"
93
                app:layout_constraintVertical_bias="0.503" />
2 gabriel 94
 
8 gabriel 95
            <androidx.cardview.widget.CardView
71 efrain 96
                android:id="@+id/cardview_item_image"
8 gabriel 97
                android:layout_width="100dp"
98
                android:layout_height="130dp"
99
                app:cardCornerRadius="8dp"
2 gabriel 100
                app:layout_constraintBottom_toBottomOf="parent"
101
                app:layout_constraintEnd_toEndOf="parent"
9 gabriel 102
                app:layout_constraintHorizontal_bias="0.941"
103
                app:layout_constraintStart_toStartOf="parent"
8 gabriel 104
                app:layout_constraintTop_toTopOf="parent">
2 gabriel 105
 
8 gabriel 106
                <ImageView
71 efrain 107
                    android:id="@+id/cardview_item_imageview"
8 gabriel 108
                    android:layout_width="match_parent"
109
                    android:layout_height="match_parent"
9 gabriel 110
                    android:background="@drawable/round_outline"
71 efrain 111
                     />
112
                <!--
113
                tools:visibility="gone"
114
                -->
8 gabriel 115
            </androidx.cardview.widget.CardView>
116
 
2 gabriel 117
            <Button
71 efrain 118
                android:id="@+id/cardview_item_button_continue"
9 gabriel 119
                android:layout_width="108dp"
120
                android:layout_height="40dp"
4 gabriel 121
                android:layout_marginTop="5dp"
8 gabriel 122
                android:background="@drawable/edit_rounded_style"
4 gabriel 123
                android:fontFamily="@font/roboto"
71 efrain 124
                android:text="@string/common_continue"
8 gabriel 125
                android:textAllCaps="false"
4 gabriel 126
                android:textColor="@color/colorPrimary"
8 gabriel 127
                android:textSize="16sp"
128
                android:textStyle="bold"
2 gabriel 129
                app:layout_constraintBottom_toBottomOf="parent"
9 gabriel 130
                app:layout_constraintEnd_toEndOf="parent"
131
                app:layout_constraintHorizontal_bias="0.059"
2 gabriel 132
                app:layout_constraintStart_toStartOf="parent"
9 gabriel 133
                app:layout_constraintTop_toTopOf="parent"
134
                app:layout_constraintVertical_bias="0.904" />
2 gabriel 135
        </androidx.constraintlayout.widget.ConstraintLayout>
136
 
137
    </androidx.cardview.widget.CardView>
138
</androidx.constraintlayout.widget.ConstraintLayout>