Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 39 | Rev 46 | Ir a la última revisión | | Comparar con el anterior | 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 -->
25 gabriel 12
 
11 gabriel 13
    <androidx.cardview.widget.CardView
25 gabriel 14
        android:id="@+id/card_notifi"
11 gabriel 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"
28 gabriel 29
            android:layout_height="wrap_content"
11 gabriel 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="wrap_content"
39
                android:layout_height="wrap_content"
40
                android:paddingRight="10dp"
41
                app:layout_constraintBottom_toBottomOf="parent"
42
                app:layout_constraintEnd_toEndOf="parent"
43
                app:layout_constraintHorizontal_bias="0.047"
44
                app:layout_constraintStart_toStartOf="parent"
45
                app:layout_constraintTop_toTopOf="parent"
46
                app:layout_constraintVertical_bias="0.36"
47
                app:srcCompat="@drawable/notifi" />
48
 
49
            <TextView
50
                android:id="@+id/titlenotifi"
43 gabriel 51
                android:layout_width="250dp"
11 gabriel 52
                android:layout_height="wrap_content"
53
                android:text="Título"
54
                android:textColor="@color/colorPrimary"
55
                android:textSize="16sp"
56
                android:textStyle="bold"
57
                app:layout_constraintBottom_toBottomOf="parent"
58
                app:layout_constraintEnd_toEndOf="parent"
43 gabriel 59
                app:layout_constraintHorizontal_bias="0.648"
11 gabriel 60
                app:layout_constraintStart_toStartOf="parent"
61
                app:layout_constraintTop_toTopOf="parent"
43 gabriel 62
                app:layout_constraintVertical_bias="0.212" />
11 gabriel 63
 
64
            <TextView
65
                android:id="@+id/description"
43 gabriel 66
                android:layout_width="250dp"
28 gabriel 67
                android:layout_height="wrap_content"
11 gabriel 68
                android:layout_marginTop="30dp"
69
                android:fontFamily="sans-serif-medium"
70
                android:text="Descripcion"
71
                android:textAlignment="viewStart"
72
                android:textColor="@color/colorTextColor"
43 gabriel 73
                android:textSize="15sp"
11 gabriel 74
                app:layout_constraintBottom_toBottomOf="parent"
75
                app:layout_constraintEnd_toEndOf="parent"
43 gabriel 76
                app:layout_constraintHorizontal_bias="0.64"
11 gabriel 77
                app:layout_constraintStart_toStartOf="parent"
78
                app:layout_constraintTop_toTopOf="parent"
43 gabriel 79
                app:layout_constraintVertical_bias="0.35" />
11 gabriel 80
 
81
            <Button
82
                android:id="@+id/button"
83
                android:layout_width="20dp"
84
                android:layout_height="20dp"
85
                android:layout_marginTop="5dp"
86
                android:background="@android:drawable/btn_dialog"
87
                android:fontFamily="@font/roboto"
88
                android:textAllCaps="false"
89
                android:textSize="16sp"
90
                android:textStyle="bold"
39 gabriel 91
                android:visibility="gone"
11 gabriel 92
                app:layout_constraintBottom_toBottomOf="parent"
93
                app:layout_constraintEnd_toEndOf="parent"
94
                app:layout_constraintHorizontal_bias="0.952"
95
                app:layout_constraintStart_toStartOf="parent"
96
                app:layout_constraintTop_toTopOf="parent"
97
                app:layout_constraintVertical_bias="0.2" />
98
        </androidx.constraintlayout.widget.ConstraintLayout>
99
 
100
    </androidx.cardview.widget.CardView>
101
</androidx.constraintlayout.widget.ConstraintLayout>