Proyectos de Subversion Android Microlearning - Inconcert

Rev

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

Rev Autor Línea Nro. Línea
1 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
 
13
    <androidx.cardview.widget.CardView
14
        android:id="@+id/card_notifi"
15
        android:layout_width="0dp"
16
        android:layout_height="wrap_content"
17
        android:layout_gravity="center"
18
        app:cardBackgroundColor="@color/colorNudeNew"
19
        app:cardCornerRadius="8dp"
20
        app:cardElevation="9dp"
21
        app:cardUseCompatPadding="true"
22
        app:layout_constraintBottom_toBottomOf="parent"
23
        app:layout_constraintEnd_toEndOf="parent"
24
        app:layout_constraintStart_toStartOf="parent"
25
        app:layout_constraintTop_toTopOf="parent">
26
 
27
        <androidx.constraintlayout.widget.ConstraintLayout
28
            android:layout_width="match_parent"
29
            android:layout_height="wrap_content"
30
            android:layout_margin="7dp"
31
            android:paddingStart="5dp"
32
            android:paddingTop="10dp"
33
            android:paddingEnd="5dp"
34
            android:paddingBottom="10dp">
35
 
36
            <ImageView
37
                android:id="@+id/imageView"
38
                android:layout_width="60dp"
39
                android:layout_height="60dp"
40
                android:paddingRight="10dp"
41
                app:layout_constraintBottom_toBottomOf="parent"
42
                app:layout_constraintEnd_toEndOf="parent"
43
                app:layout_constraintHorizontal_bias="0.015"
44
                app:layout_constraintStart_toStartOf="parent"
45
                app:layout_constraintTop_toTopOf="parent"
46
                app:srcCompat="@drawable/notifi" />
47
 
48
            <TextView
49
                android:id="@+id/titlenotifi"
50
                android:layout_width="250dp"
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.648"
59
                app:layout_constraintStart_toStartOf="parent"
60
                app:layout_constraintTop_toTopOf="parent"
61
                app:layout_constraintVertical_bias="0.212" />
62
 
63
            <TextView
64
                android:id="@+id/description"
65
                android:layout_width="250dp"
66
                android:layout_height="wrap_content"
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="15sp"
73
                app:layout_constraintBottom_toBottomOf="parent"
74
                app:layout_constraintEnd_toEndOf="parent"
75
                app:layout_constraintHorizontal_bias="0.64"
76
                app:layout_constraintStart_toStartOf="parent"
77
                app:layout_constraintTop_toTopOf="parent"
78
                app:layout_constraintVertical_bias="0.35" />
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
                android:visibility="gone"
91
                app:layout_constraintBottom_toBottomOf="parent"
92
                app:layout_constraintEnd_toEndOf="parent"
93
                app:layout_constraintHorizontal_bias="0.952"
94
                app:layout_constraintStart_toStartOf="parent"
95
                app:layout_constraintTop_toTopOf="parent"
96
                app:layout_constraintVertical_bias="0.2" />
97
        </androidx.constraintlayout.widget.ConstraintLayout>
98
 
99
    </androidx.cardview.widget.CardView>
100
</androidx.constraintlayout.widget.ConstraintLayout>