Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
5 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"
5
    android:layout_width="match_parent"
6
    android:layout_height="wrap_content"
11 gabriel 7
    android:clickable="true"
5 gabriel 8
    android:focusable="true"
9
    android:orientation="horizontal"
10
    android:visibility="visible">
11
 
12
    <!-- A CardView that contains a TextView -->
13
    <androidx.cardview.widget.CardView
14
        android:id="@+id/card_view"
15
        android:layout_width="0dp"
16
        android:layout_height="wrap_content"
17
        android:layout_gravity="center"
11 gabriel 18
        android:clickable="true"
5 gabriel 19
        app:cardBackgroundColor="@color/white"
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"
5 gabriel 29
            android:paddingStart="10dp"
30
            android:paddingTop="20dp"
31
            android:paddingEnd="10dp"
32
            android:paddingBottom="20dp">
33
 
34
            <TextView
11 gabriel 35
                android:id="@+id/description"
36
                android:layout_width="0dp"
5 gabriel 37
                android:layout_height="39dp"
38
                android:layout_marginStart="8dp"
39
                android:layout_marginTop="4dp"
40
                android:fontFamily="sans-serif-medium"
41
                android:textAlignment="viewStart"
42
                android:textColor="@color/colorTextColor"
43
                android:textSize="16sp"
44
                android:textStyle="bold"
11 gabriel 45
                app:layout_constraintEnd_toStartOf="@+id/button"
8 gabriel 46
                app:layout_constraintStart_toEndOf="@+id/cardView2"
5 gabriel 47
                app:layout_constraintTop_toTopOf="parent"
48
                tools:text="Titulo de capsula" />
49
 
50
            <TextView
51
                android:id="@+id/progressview"
11 gabriel 52
                android:layout_width="0dp"
5 gabriel 53
                android:layout_height="wrap_content"
11 gabriel 54
                android:layout_marginStart="8dp"
5 gabriel 55
                android:fontFamily="sans-serif"
56
                android:textColor="@color/colorTextColor"
57
                android:textSize="14sp"
8 gabriel 58
                app:layout_constraintBottom_toBottomOf="parent"
5 gabriel 59
                app:layout_constraintEnd_toEndOf="parent"
11 gabriel 60
                app:layout_constraintHorizontal_bias="0.038"
8 gabriel 61
                app:layout_constraintStart_toEndOf="@+id/cardView2"
11 gabriel 62
                app:layout_constraintTop_toBottomOf="@+id/description"
8 gabriel 63
                app:layout_constraintVertical_bias="0.0"
5 gabriel 64
                tools:text="Progreso capsula" />
65
 
8 gabriel 66
            <androidx.cardview.widget.CardView
67
                android:id="@+id/cardView2"
68
                android:layout_width="70dp"
69
                android:layout_height="85dp"
70
                android:layout_marginStart="8dp"
71
                app:cardCornerRadius="8dp"
5 gabriel 72
                app:layout_constraintBottom_toBottomOf="parent"
73
                app:layout_constraintStart_toStartOf="parent"
8 gabriel 74
                app:layout_constraintTop_toTopOf="parent">
5 gabriel 75
 
8 gabriel 76
                <ImageView
77
                    android:id="@+id/imagelist"
78
                    android:layout_width="fill_parent"
79
                    android:layout_height="fill_parent"
80
                    tools:visibility="gone" />
81
            </androidx.cardview.widget.CardView>
82
 
5 gabriel 83
            <Button
84
                android:id="@+id/button"
8 gabriel 85
                android:layout_width="25dp"
86
                android:layout_height="25dp"
87
                android:background="@drawable/topics"
88
                android:backgroundTint="@color/black"
5 gabriel 89
                android:fontFamily="@font/roboto"
90
                android:textColor="@color/colorPrimary"
8 gabriel 91
                app:layout_constraintBottom_toBottomOf="parent"
5 gabriel 92
                app:layout_constraintEnd_toEndOf="parent"
8 gabriel 93
                app:layout_constraintTop_toTopOf="parent"
94
                app:layout_constraintVertical_bias="0.16" />
5 gabriel 95
        </androidx.constraintlayout.widget.ConstraintLayout>
96
 
97
    </androidx.cardview.widget.CardView>
98
</androidx.constraintlayout.widget.ConstraintLayout>