OpenSRP/opensrp-client-anc

View on GitHub
opensrp-anc/src/main/res/layout/partial_contact_dates.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="6dp"
    android:gravity="center_vertical"
    android:orientation="horizontal">

    <TextView
        android:id="@+id/contact_summary_contact_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Contact 2"
        android:textColor="@color/text_color"
        android:textSize="16sp" />

    <TextView
        android:id="@+id/contact_summary_dot"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_marginBottom="4dp"
        android:layout_marginEnd="8dp"
        android:layout_marginStart="8dp"
        android:text="."
        android:textColor="@color/text_color"
        android:textSize="16sp" />

    <TextView
        android:id="@+id/contact_summary_contact_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="12 August 2018"
        android:textColor="@color/text_color"
        android:textSize="16sp" />
</LinearLayout>