Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 25 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
11 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/colorNudeNew"
18
        app:cardCornerRadius="8dp"
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
27
            android:layout_width="match_parent"
28
            android:layout_height="match_parent"
29
            android:layout_margin="7dp"
30
            android:paddingStart="5dp"
31
            android:paddingTop="10dp"
32
            android:paddingEnd="5dp"
33
            android:paddingBottom="10dp">
34
 
35
            <ImageView
36
                android:id="@+id/imageView"
37
                android:layout_width="wrap_content"
38
                android:layout_height="wrap_content"
39
                android:paddingRight="10dp"
40
                app:layout_constraintBottom_toBottomOf="parent"
41
                app:layout_constraintEnd_toEndOf="parent"
42
                app:layout_constraintHorizontal_bias="0.047"
43
                app:layout_constraintStart_toStartOf="parent"
44
                app:layout_constraintTop_toTopOf="parent"
45
                app:layout_constraintVertical_bias="0.36"
46
                app:srcCompat="@drawable/notifi" />
47
 
48
            <TextView
49
                android:id="@+id/titlenotifi"
50
                android:layout_width="210dp"
51
                android:layout_height="wrap_content"
52
                android:text="Título"
53
                android:textColor="@color/colorPrimary"
54
                android:textSize="16sp"
55
                android:textStyle="bold"
56
                app:layout_constraintBottom_toBottomOf="parent"
57
                app:layout_constraintEnd_toEndOf="parent"
58
                app:layout_constraintHorizontal_bias="0.551"
59
                app:layout_constraintStart_toStartOf="parent"
60
                app:layout_constraintTop_toTopOf="parent"
61
                app:layout_constraintVertical_bias="0.0" />
62
 
63
            <TextView
64
                android:id="@+id/description"
65
                android:layout_width="210dp"
66
                android:layout_height="24dp"
67
                android:layout_marginTop="30dp"
68
                android:fontFamily="sans-serif-medium"
69
                android:text="Descripcion"
70
                android:textAlignment="viewStart"
71
                android:textColor="@color/colorTextColor"
72
                android:textSize="14sp"
73
                app:layout_constraintBottom_toBottomOf="parent"
74
                app:layout_constraintEnd_toEndOf="parent"
75
                app:layout_constraintHorizontal_bias="0.551"
76
                app:layout_constraintStart_toStartOf="parent"
77
                app:layout_constraintTop_toTopOf="parent"
78
                app:layout_constraintVertical_bias="0.25" />
79
 
80
            <Button
81
                android:id="@+id/button"
82
                android:layout_width="20dp"
83
                android:layout_height="20dp"
84
                android:layout_marginTop="5dp"
85
                android:background="@android:drawable/btn_dialog"
86
                android:fontFamily="@font/roboto"
87
                android:textAllCaps="false"
88
                android:textSize="16sp"
89
                android:textStyle="bold"
90
                app:layout_constraintBottom_toBottomOf="parent"
91
                app:layout_constraintEnd_toEndOf="parent"
92
                app:layout_constraintHorizontal_bias="0.952"
93
                app:layout_constraintStart_toStartOf="parent"
94
                app:layout_constraintTop_toTopOf="parent"
95
                app:layout_constraintVertical_bias="0.2" />
96
        </androidx.constraintlayout.widget.ConstraintLayout>
97
 
98
    </androidx.cardview.widget.CardView>
99
</androidx.constraintlayout.widget.ConstraintLayout>