Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created December 28, 2020 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magdamiu/dcc02fb838ce548e3a0719492be8b271 to your computer and use it in GitHub Desktop.
Save magdamiu/dcc02fb838ce548e3a0719492be8b271 to your computer and use it in GitHub Desktop.
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