Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

| 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
13
        android:id="@+id/card_view"
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"
30
            android:paddingStart="10dp"
31
            android:paddingTop="20dp"
32
            android:paddingEnd="10dp"
33
            android:paddingBottom="20dp">
34
 
35
            <TextView
36
                android:id="@+id/textView17"
37
                android:layout_width="wrap_content"
38
                android:layout_height="wrap_content"
39
                android:text="En curso"
8 gabriel 40
                android:textColor="@color/colorPrimary"
2 gabriel 41
                android:textSize="16sp"
4 gabriel 42
                android:textStyle="bold"
2 gabriel 43
                app:layout_constraintStart_toStartOf="parent"
44
                app:layout_constraintTop_toTopOf="parent" />
45
 
46
            <TextView
47
                android:id="@+id/titleview"
4 gabriel 48
                android:layout_width="213dp"
49
                android:layout_height="39dp"
50
                android:layout_marginTop="4dp"
2 gabriel 51
                android:fontFamily="sans-serif-medium"
52
                android:textAlignment="viewStart"
53
                android:textColor="@color/colorTitleText"
54
                android:textSize="16sp"
55
                android:textStyle="bold"
8 gabriel 56
                app:layout_constraintEnd_toStartOf="@+id/cardView"
2 gabriel 57
                app:layout_constraintHorizontal_bias="0.0"
58
                app:layout_constraintStart_toStartOf="parent"
59
                app:layout_constraintTop_toBottomOf="@+id/textView17" />
60
 
61
            <TextView
62
                android:id="@+id/progressview"
63
                android:layout_width="75sp"
64
                android:layout_height="wrap_content"
65
                android:fontFamily="sans-serif"
66
                android:textColor="@color/colorTitleText"
67
                android:textSize="14sp"
68
                app:layout_constraintBottom_toBottomOf="parent"
8 gabriel 69
                app:layout_constraintEnd_toStartOf="@+id/cardView"
2 gabriel 70
                app:layout_constraintHorizontal_bias="0.0"
71
                app:layout_constraintStart_toStartOf="parent"
72
                app:layout_constraintTop_toBottomOf="@+id/titleview"
4 gabriel 73
                app:layout_constraintVertical_bias="0.0" />
2 gabriel 74
 
8 gabriel 75
            <androidx.cardview.widget.CardView
76
                android:id="@+id/cardView"
77
                android:layout_width="100dp"
78
                android:layout_height="130dp"
79
                app:cardCornerRadius="8dp"
2 gabriel 80
                app:layout_constraintBottom_toBottomOf="parent"
81
                app:layout_constraintEnd_toEndOf="parent"
8 gabriel 82
                app:layout_constraintHorizontal_bias="0.819"
83
                app:layout_constraintStart_toEndOf="@+id/button"
84
                app:layout_constraintTop_toTopOf="parent">
2 gabriel 85
 
8 gabriel 86
                <ImageView
87
                    android:id="@+id/imagelist"
88
                    android:layout_width="match_parent"
89
                    android:layout_height="match_parent"
90
                    android:background="@drawable/round_outline" />
91
            </androidx.cardview.widget.CardView>
92
 
2 gabriel 93
            <Button
94
                android:id="@+id/button"
95
                android:layout_width="102dp"
96
                android:layout_height="43dp"
4 gabriel 97
                android:layout_marginTop="5dp"
8 gabriel 98
                android:background="@drawable/edit_rounded_style"
4 gabriel 99
                android:fontFamily="@font/roboto"
2 gabriel 100
                android:text="Continuar"
8 gabriel 101
                android:textAllCaps="false"
4 gabriel 102
                android:textColor="@color/colorPrimary"
8 gabriel 103
                android:textSize="16sp"
104
                android:textStyle="bold"
2 gabriel 105
                app:layout_constraintBottom_toBottomOf="parent"
106
                app:layout_constraintStart_toStartOf="parent"
107
                app:layout_constraintTop_toBottomOf="@+id/progressview"
4 gabriel 108
                app:layout_constraintVertical_bias="0.0" />
2 gabriel 109
        </androidx.constraintlayout.widget.ConstraintLayout>
110
 
111
    </androidx.cardview.widget.CardView>
112
</androidx.constraintlayout.widget.ConstraintLayout>