Updated material intro. Note: Waiting for version 1.5.2 to fix a crash.
This commit is contained in:
parent
a69420bf02
commit
c8da5e81fd
5 changed files with 87 additions and 175 deletions
|
|
@ -0,0 +1,53 @@
|
|||
<?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="match_parent"
|
||||
android:baselineAligned="false"
|
||||
android:clipToPadding="false"
|
||||
android:fitsSystemWindows="false"
|
||||
android:padding="@dimen/mi_baseline">
|
||||
|
||||
<ImageView
|
||||
android:id="@id/mi_image"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:src="@drawable/tutorial_queue_swipe_up" />
|
||||
|
||||
<android.support.v4.widget.Space
|
||||
android:layout_width="@dimen/mi_baseline"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@id/mi_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Headline"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
tools:ignore="UnusedAttribute"
|
||||
tools:text="Lorem ipsum" />
|
||||
|
||||
<TextView
|
||||
android:id="@id/mi_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/mi_baseline"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||||
tools:text="Lorem ipsum dolor sit amet, consectetur, adipisci velit, …" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue