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
25
            android:layout_width="376dp"
26
            android:layout_height="153dp"
27
            android:layout_margin="7dp"
28
            android:paddingStart="10dp"
29
            android:paddingTop="20dp"
30
            android:paddingEnd="10dp"
31
            android:paddingBottom="20dp">
32
 
33
            <TextView
34
                android:id="@+id/titleview"
35
                android:layout_width="213dp"
36
                android:layout_height="39dp"
37
                android:layout_marginStart="8dp"
38
                android:layout_marginTop="4dp"
39
                android:fontFamily="sans-serif-medium"
40
                android:textAlignment="viewStart"
41
                android:textColor="@color/colorTextColor"
42
                android:textSize="16sp"
43
                android:textStyle="bold"
44
                app:layout_constraintStart_toEndOf="@+id/imagelist"
45
                app:layout_constraintTop_toTopOf="parent"
46
                tools:text="Titulo de capsula" />
47
 
48
            <TextView
49
                android:id="@+id/progressview"
50
                android:layout_width="75sp"
51
                android:layout_height="wrap_content"
52
                android:layout_marginTop="8dp"
53
                android:fontFamily="sans-serif"
54
                android:textColor="@color/colorTextColor"
55
                android:textSize="14sp"
56
                app:layout_constraintEnd_toEndOf="parent"
57
                app:layout_constraintHorizontal_bias="0.056"
58
                app:layout_constraintStart_toEndOf="@+id/imagelist"
59
                app:layout_constraintTop_toBottomOf="@+id/titleview"
60
                tools:text="Progreso capsula" />
61
 
62
            <ImageView
63
                android:id="@+id/imagelist"
64
                android:layout_width="122dp"
65
                android:layout_height="164dp"
66
                android:background="@drawable/round_outline"
67
                android:outlineProvider="background"
68
                app:layout_constraintBottom_toBottomOf="parent"
69
                app:layout_constraintStart_toStartOf="parent"
70
                app:layout_constraintTop_toTopOf="parent"
71
                app:layout_constraintVertical_bias="0.508" />
72
 
73
            <Button
74
                android:id="@+id/button"
75
                android:layout_width="20dp"
76
                android:layout_height="22dp"
77
                android:background="@drawable/ic_menu_slideshow"
78
                android:fontFamily="@font/roboto"
79
                android:textColor="@color/colorPrimary"
80
                app:layout_constraintEnd_toEndOf="parent"
81
                app:layout_constraintTop_toTopOf="parent" />
82
        </androidx.constraintlayout.widget.ConstraintLayout>
83
 
84
    </androidx.cardview.widget.CardView>
85
</androidx.constraintlayout.widget.ConstraintLayout>