|
<?xml version="1.0" encoding="utf-8"?>
|
|
<!---->
|
|
<RelativeLayout
|
|
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" >
|
|
|
|
<LinearLayout android:id="@+id/tutorial_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/image_tutorial"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/image1" />
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="20dp" >
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<ImageView
|
|
android:id="@+id/tutorial_indicator1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:background="@drawable/indicator_page" />
|
|
|
|
<ImageView
|
|
android:id="@+id/tutorial_indicator2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:background="@drawable/indicator_dot" />
|
|
|
|
<ImageView
|
|
android:id="@+id/tutorial_indicator3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:background="@drawable/indicator_dot" />
|
|
|
|
<ImageView
|
|
android:id="@+id/tutorial_indicator4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:background="@drawable/indicator_dot" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<Button
|
|
android:id="@+id/skip_button"
|
|
android:layout_width="44dp"
|
|
android:layout_height="44dp"
|
|
android:text="跳过"
|
|
android:textSize="20dp"
|
|
android:background="@drawable/shape1"
|
|
android:textColor="#716d6d" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_centerInParent="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="45dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal" >
|
|
<Button
|
|
android:id="@+id/done_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape1"
|
|
android:text="立即体验"
|
|
android:textSize="21dp"
|
|
android:textColor="#323232"
|
|
android:drawablePadding="1dp"
|
|
android:visibility="gone"></Button>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|