14 |
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 |
android:visibility="visible"
|
|
|
19 |
app:cardBackgroundColor="@color/colorNavIcon"
|
|
|
20 |
app:cardCornerRadius="8dp"
|
|
|
21 |
app:cardElevation="9dp"
|
|
|
22 |
app:cardUseCompatPadding="true"
|
|
|
23 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
24 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
25 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
26 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
27 |
tools:visibility="visible">
|
|
|
28 |
|
|
|
29 |
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
30 |
android:id="@+id/notificationitem"
|
|
|
31 |
android:layout_width="match_parent"
|
|
|
32 |
android:layout_height="wrap_content"
|
|
|
33 |
android:layout_marginLeft="5dp"
|
|
|
34 |
android:layout_marginTop="5dp"
|
|
|
35 |
android:layout_marginRight="5dp"
|
|
|
36 |
android:layout_marginBottom="5dp"
|
|
|
37 |
android:visibility="visible"
|
|
|
38 |
tools:visibility="visible">
|
|
|
39 |
|
|
|
40 |
<ImageView
|
|
|
41 |
android:id="@+id/imageView"
|
|
|
42 |
android:layout_width="60dp"
|
|
|
43 |
android:layout_height="60dp"
|
|
|
44 |
android:paddingRight="10dp"
|
|
|
45 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
46 |
app:layout_constraintStart_toStartOf="parent"
|
|
|
47 |
app:layout_constraintTop_toTopOf="parent"
|
|
|
48 |
app:srcCompat="@drawable/ic_account_circle" />
|
|
|
49 |
|
|
|
50 |
<TextView
|
|
|
51 |
android:id="@+id/titlenotifi"
|
|
|
52 |
android:layout_width="250dp"
|
|
|
53 |
android:layout_height="wrap_content"
|
|
|
54 |
android:layout_marginTop="2dp"
|
|
|
55 |
android:text="Usuario"
|
|
|
56 |
android:textColor="@color/colorPrimary"
|
|
|
57 |
android:textSize="16sp"
|
|
|
58 |
android:textStyle="bold"
|
|
|
59 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
60 |
app:layout_constraintHorizontal_bias="0.176"
|
|
|
61 |
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
|
62 |
app:layout_constraintTop_toTopOf="parent" />
|
|
|
63 |
|
|
|
64 |
<TextView
|
|
|
65 |
android:id="@+id/description"
|
|
|
66 |
android:layout_width="250dp"
|
|
|
67 |
android:layout_height="wrap_content"
|
|
|
68 |
android:fontFamily="sans-serif-medium"
|
|
|
69 |
android:text="Comentario body"
|
|
|
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.191"
|
|
|
76 |
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
|
77 |
app:layout_constraintTop_toBottomOf="@+id/titlenotifi"
|
|
|
78 |
app:layout_constraintVertical_bias="0.218" />
|
|
|
79 |
|
|
|
80 |
<RatingBar
|
|
|
81 |
android:id="@+id/ratingBar2"
|
|
|
82 |
style="?android:attr/ratingBarStyleSmall"
|
|
|
83 |
android:layout_width="80dp"
|
|
|
84 |
android:layout_height="20dp"
|
|
|
85 |
android:layout_marginStart="8dp"
|
|
|
86 |
android:layout_marginTop="5dp"
|
|
|
87 |
android:progressTint="@color/appBar"
|
|
|
88 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
89 |
app:layout_constraintStart_toEndOf="@+id/imageView"
|
|
|
90 |
app:layout_constraintTop_toBottomOf="@+id/description"
|
|
|
91 |
app:layout_constraintVertical_bias="1.0" />
|
|
|
92 |
|
|
|
93 |
<TextView
|
|
|
94 |
android:id="@+id/textView24"
|
|
|
95 |
android:layout_width="wrap_content"
|
|
|
96 |
android:layout_height="wrap_content"
|
|
|
97 |
android:layout_marginTop="5dp"
|
|
|
98 |
android:text="01/08/2022"
|
|
|
99 |
android:textColor="@color/colorTextColor"
|
|
|
100 |
android:textSize="12sp"
|
|
|
101 |
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
102 |
app:layout_constraintEnd_toEndOf="parent"
|
|
|
103 |
app:layout_constraintHorizontal_bias="0.966"
|
|
|
104 |
app:layout_constraintStart_toEndOf="@+id/ratingBar2"
|
|
|
105 |
app:layout_constraintTop_toBottomOf="@+id/description"
|
|
|
106 |
app:layout_constraintVertical_bias="0.285" />
|
|
|
107 |
|
|
|
108 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
109 |
|
|
|
110 |
</androidx.cardview.widget.CardView>
|
|
|
111 |
</androidx.constraintlayout.widget.ConstraintLayout>
|