2018-04-20 17:27:31 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout 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:background="#0099cc"
|
|
|
|
tools:context=".startupwizard.SetupWizardActivity">
|
|
|
|
|
|
|
|
<!-- The primary full-screen view. This can be replaced with whatever view
|
|
|
|
is needed to present your content, e.g. VideoView, SurfaceView,
|
|
|
|
TextureView, etc. -->
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fullscreen_content"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:keepScreenOn="true"
|
|
|
|
android:text="@string/dummy_content"
|
|
|
|
android:textColor="#33b5e5"
|
|
|
|
android:textSize="50sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<!-- This FrameLayout insets its children based on system windows using
|
|
|
|
android:fitsSystemWindows. -->
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
2018-04-23 14:58:27 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/fullscreen_content_fields"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2018-04-20 17:27:31 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/fullscreen_content_controls"
|
|
|
|
style="?metaButtonBarStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:background="@color/black_overlay"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
|
|
|
<Button
|
2018-04-23 16:03:22 +02:00
|
|
|
android:id="@+id/previous_button"
|
2018-04-23 14:58:27 +02:00
|
|
|
style="?metaButtonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-04-23 16:03:22 +02:00
|
|
|
android:onClick="showPreviousPage"
|
|
|
|
android:text="@string/setupwizard_previous" />
|
|
|
|
|
2018-04-23 14:58:27 +02:00
|
|
|
<Button
|
2018-04-23 16:03:22 +02:00
|
|
|
android:id="@+id/skip_button"
|
2018-04-23 14:58:27 +02:00
|
|
|
style="?metaButtonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-04-23 16:03:22 +02:00
|
|
|
android:text="@string/setupwizard_skip"
|
|
|
|
android:visibility="invisible" />
|
2018-04-23 14:58:27 +02:00
|
|
|
|
|
|
|
<Button
|
2018-04-23 16:03:22 +02:00
|
|
|
android:id="@+id/next_button"
|
|
|
|
style="?metaButtonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:onClick="showNextPage"
|
|
|
|
android:text="@string/setupwizard_next"
|
|
|
|
android:visibility="visible" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/finish_button"
|
2018-04-20 17:27:31 +02:00
|
|
|
style="?metaButtonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2018-04-23 16:03:22 +02:00
|
|
|
android:text="@string/setupwizard_finish"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
2018-04-20 17:27:31 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|