Proyectos de Subversion Android Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
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="match_parent"
14
        android:background="@color/backgroundTopicFooter"
15
        android:padding="16dp"
16
        app:layout_constraintEnd_toEndOf="parent"
17
        app:layout_constraintEnd_toStartOf="parent"
18
        app:timeline_margin_start="32dp"
19
        app:timeline_position="first"
20
        app:timeline_type="item">
21
 
22
        <ImageView
23
            android:id="@+id/fragment_timeline_item_header_icon"
24
            android:layout_width="50dp"
25
            android:layout_height="0dp"
26
            android:src="@drawable/ic_login_black_24dp"
27
            app:layout_constraintRight_toRightOf="parent"
28
            app:layout_constraintBottom_toBottomOf="@id/fragment_timeline_item_header_description"
29
            app:layout_constraintTop_toTopOf="@id/fragment_timeline_item_header_date"/>
30
 
31
 
32
 
33
        <TextView
34
            android:id="@+id/fragment_timeline_item_header_date"
35
            android:layout_width="wrap_content"
36
            android:layout_height="wrap_content"
37
            android:layout_marginLeft="8dp"
38
            android:layout_marginStart="8dp"
39
            android:textSize="18sp"
40
            android:fontFamily="@font/roboto"
41
            android:textStyle="bold"
42
            app:layout_constraintStart_toStartOf="parent"/>
43
        <!--
44
        app:layout_constraintStart_toEndOf="@id/weather_icon
45
        -->
46
 
47
        <TextView
48
            android:id="@+id/fragment_timeline_item_header_description"
49
            android:layout_width="wrap_content"
50
            android:layout_height="wrap_content"
51
            android:fontFamily="@font/roboto"
52
            app:layout_constraintStart_toStartOf="@id/fragment_timeline_item_header_date"
53
            app:layout_constraintTop_toBottomOf="@id/fragment_timeline_item_header_date"/>
54
 
55
    </pl.hypeapp.materialtimelineview.MaterialTimelineView>
56
 
57
</androidx.cardview.widget.CardView>