1 |
efrain |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<androidx.cardview.widget.CardView
|
|
|
3 |
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
4 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
5 |
android:layout_width="match_parent"
|
|
|
6 |
android:layout_height="wrap_content"
|
|
|
7 |
app:cardBackgroundColor="@android:color/transparent"
|
|
|
8 |
app:cardCornerRadius="5dp"
|
|
|
9 |
app:cardElevation="0dp">
|
|
|
10 |
|
|
|
11 |
<pl.hypeapp.materialtimelineview.MaterialTimelineView
|
|
|
12 |
android:layout_width="match_parent"
|
|
|
13 |
android:layout_height="wrap_content"
|
|
|
14 |
android:background="@color/backgroundTopicFooter"
|
|
|
15 |
android:padding="16dp"
|
|
|
16 |
app:timeline_margin_start="32dp"
|
|
|
17 |
app:timeline_position="middle"
|
|
|
18 |
app:timeline_type="item">
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<ImageView
|
|
|
22 |
android:id="@+id/fragment_timeline_item_event_icon"
|
|
|
23 |
android:layout_width="50dp"
|
|
|
24 |
android:layout_height="0dp"
|
|
|
25 |
android:src="@drawable/ic_login_black_24dp"
|
|
|
26 |
app:layout_constraintRight_toRightOf="parent"
|
|
|
27 |
app:layout_constraintBottom_toBottomOf="@id/fragment_timeline_item_event_description"
|
|
|
28 |
app:layout_constraintTop_toTopOf="@id/fragment_timeline_item_event_date"/>
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
<TextView
|
|
|
32 |
android:id="@+id/fragment_timeline_item_event_date"
|
|
|
33 |
android:layout_width="wrap_content"
|
|
|
34 |
android:layout_height="wrap_content"
|
|
|
35 |
android:layout_marginLeft="8dp"
|
|
|
36 |
android:layout_marginStart="8dp"
|
|
|
37 |
android:textSize="18sp"
|
|
|
38 |
android:fontFamily="@font/roboto"
|
|
|
39 |
android:textStyle="bold"
|
|
|
40 |
app:layout_constraintStart_toStartOf="parent"/>
|
|
|
41 |
<!--
|
|
|
42 |
app:layout_constraintStart_toEndOf="@id/weather_icon
|
|
|
43 |
-->
|
|
|
44 |
|
|
|
45 |
<TextView
|
|
|
46 |
android:id="@+id/fragment_timeline_item_event_description"
|
|
|
47 |
android:layout_width="wrap_content"
|
|
|
48 |
android:layout_height="wrap_content"
|
|
|
49 |
android:fontFamily="@font/roboto"
|
|
|
50 |
app:layout_constraintStart_toStartOf="@id/fragment_timeline_item_event_date"
|
|
|
51 |
app:layout_constraintTop_toBottomOf="@id/fragment_timeline_item_event_date"/>
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
</pl.hypeapp.materialtimelineview.MaterialTimelineView>
|
|
|
55 |
|
|
|
56 |
</androidx.cardview.widget.CardView>
|