Proyectos de Subversion Android Microlearning

Rev

Autoría | Ultima modificación | Ver Log |

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:cardBackgroundColor="@android:color/transparent"
    app:cardCornerRadius="5dp"
    app:cardElevation="0dp">

    <pl.hypeapp.materialtimelineview.MaterialTimelineView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/backgroundTopicFooter"
        android:padding="16dp"
        app:timeline_margin_start="32dp"
        app:timeline_position="middle"
        app:timeline_type="item">


        <ImageView
            android:id="@+id/fragment_timeline_item_event_icon"
            android:layout_width="50dp"
            android:layout_height="0dp"
            android:src="@drawable/ic_login_black_24dp"
            app:layout_constraintRight_toRightOf="parent"
            app:layout_constraintBottom_toBottomOf="@id/fragment_timeline_item_event_description"
            app:layout_constraintTop_toTopOf="@id/fragment_timeline_item_event_date"/>


        <TextView
            android:id="@+id/fragment_timeline_item_event_date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="8dp"
            android:layout_marginStart="8dp"
            android:textSize="18sp"
            android:fontFamily="@font/roboto"
            android:textStyle="bold"
            app:layout_constraintStart_toStartOf="parent"/>
            <!--
            app:layout_constraintStart_toEndOf="@id/weather_icon
            -->

        <TextView
            android:id="@+id/fragment_timeline_item_event_description"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:fontFamily="@font/roboto"
            app:layout_constraintStart_toStartOf="@id/fragment_timeline_item_event_date"
            app:layout_constraintTop_toBottomOf="@id/fragment_timeline_item_event_date"/>


    </pl.hypeapp.materialtimelineview.MaterialTimelineView>

</androidx.cardview.widget.CardView>