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"
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"
14
        android:layout_width="0dp"
15
        android:layout_height="wrap_content"
16
        android:layout_gravity="center"
17
        app:cardBackgroundColor="@color/white"
18
        app:cardUseCompatPadding="true"
19
        app:layout_constraintBottom_toBottomOf="parent"
20
        app:layout_constraintEnd_toEndOf="parent"
21
        app:layout_constraintStart_toStartOf="parent"
22
        app:layout_constraintTop_toTopOf="parent">
23
 
24
        <androidx.constraintlayout.widget.ConstraintLayout
8 gabriel 25
            android:layout_width="match_parent"
26
            android:layout_height="match_parent"
5 gabriel 27
            android:paddingStart="10dp"
28
            android:paddingTop="20dp"
29
            android:paddingEnd="10dp"
30
            android:paddingBottom="20dp">
31
 
32
            <TextView
33
                android:id="@+id/titleview"
34
                android:layout_width="213dp"
35
                android:layout_height="39dp"
36
                android:layout_marginStart="8dp"
37
                android:layout_marginTop="4dp"
38
                android:fontFamily="sans-serif-medium"
39
                android:textAlignment="viewStart"
40
                android:textColor="@color/colorTextColor"
41
                android:textSize="16sp"
42
                android:textStyle="bold"
8 gabriel 43
                app:layout_constraintEnd_toEndOf="parent"
44
                app:layout_constraintHorizontal_bias="0.085"
45
                app:layout_constraintStart_toEndOf="@+id/cardView2"
5 gabriel 46
                app:layout_constraintTop_toTopOf="parent"
47
                tools:text="Titulo de capsula" />
48
 
49
            <TextView
50
                android:id="@+id/progressview"
8 gabriel 51
                android:layout_width="wrap_content"
5 gabriel 52
                android:layout_height="wrap_content"
53
                android:fontFamily="sans-serif"
54
                android:textColor="@color/colorTextColor"
55
                android:textSize="14sp"
8 gabriel 56
                app:layout_constraintBottom_toBottomOf="parent"
5 gabriel 57
                app:layout_constraintEnd_toEndOf="parent"
8 gabriel 58
                app:layout_constraintHorizontal_bias="0.074"
59
                app:layout_constraintStart_toEndOf="@+id/cardView2"
5 gabriel 60
                app:layout_constraintTop_toBottomOf="@+id/titleview"
8 gabriel 61
                app:layout_constraintVertical_bias="0.0"
5 gabriel 62
                tools:text="Progreso capsula" />
63
 
8 gabriel 64
            <androidx.cardview.widget.CardView
65
                android:id="@+id/cardView2"
66
                android:layout_width="70dp"
67
                android:layout_height="85dp"
68
                android:layout_marginStart="8dp"
69
                app:cardCornerRadius="8dp"
5 gabriel 70
                app:layout_constraintBottom_toBottomOf="parent"
71
                app:layout_constraintStart_toStartOf="parent"
8 gabriel 72
                app:layout_constraintTop_toTopOf="parent">
5 gabriel 73
 
8 gabriel 74
                <ImageView
75
                    android:id="@+id/imagelist"
76
                    android:layout_width="fill_parent"
77
                    android:layout_height="fill_parent"
78
                    tools:visibility="gone" />
79
            </androidx.cardview.widget.CardView>
80
 
5 gabriel 81
            <Button
82
                android:id="@+id/button"
8 gabriel 83
                android:layout_width="25dp"
84
                android:layout_height="25dp"
85
                android:background="@drawable/topics"
86
                android:backgroundTint="@color/black"
5 gabriel 87
                android:fontFamily="@font/roboto"
88
                android:textColor="@color/colorPrimary"
8 gabriel 89
                app:layout_constraintBottom_toBottomOf="parent"
5 gabriel 90
                app:layout_constraintEnd_toEndOf="parent"
8 gabriel 91
                app:layout_constraintHorizontal_bias="0.512"
92
                app:layout_constraintStart_toEndOf="@+id/titleview"
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>