Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The layout for the item
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/linearLayoutEmail"
android:padding="@dimen/small_padding">
<TextView
android:id="@+id/textViewFrom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
tools:text="Magda" />
<TextView
android:id="@+id/textViewSubject"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/extra_small_padding"
android:textColor="@color/purple_700"
tools:text="Android Fundamentals" />
<TextView
android:id="@+id/textViewBody"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/extra_small_padding"
tools:text="this is a welcome email ...." />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment