Factotum-sdp/Factotum

View on GitHub
app/src/main/res/layout/fragment_delivery_history.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    style="?attr/materialCardViewElevatedStyle"
    android:id="@+id/materialCardView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="6dp"
    app:cardUseCompatPadding="true">

    <LinearLayout
        android:id="@+id/fragment_history_directors_parent"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="6dp"
        android:gravity="center">

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/history_date"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="@dimen/text_margin"
            android:textAppearance="?attr/textAppearanceListItem"
            android:textSize="18sp"
            android:drawablePadding="8dp"
            android:drawableStart="@drawable/ic_calendar_black" />

        <com.google.android.material.textview.MaterialTextView
            android:id="@+id/content"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="@dimen/text_margin"
            android:textAppearance="?attr/textAppearanceListItem"
            android:textSize="18sp"
            android:drawablePadding="8dp"
            android:drawableStart="@drawable/ic_contact" />
    </LinearLayout>
</com.google.android.material.card.MaterialCardView>