2009-03-04 03:32:22 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-01-16 17:59:39 +00:00
|
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
2009-03-04 03:32:22 +00:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
2010-11-15 07:47:52 +00:00
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2010-11-15 07:47:52 +00:00
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
2014-10-07 22:19:49 +00:00
|
|
|
<!-- Account Setup Layout -->
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
style="@style/account_setup_content" >
|
|
|
|
<LinearLayout
|
2014-01-16 17:59:39 +00:00
|
|
|
android:layout_width="match_parent"
|
2014-10-07 22:19:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<!-- Headline -->
|
|
|
|
<!-- Set headline for first fragment, change in code as we progress through screens -->
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/headline"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:text="@string/account_setup_options_headline"
|
|
|
|
style="@style/account_setup_headline" />
|
|
|
|
|
|
|
|
<!-- Primary Content -->
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/setup_fragment_content"
|
|
|
|
style="@style/account_setup_fragment_container"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
<!-- Buttons below that -->
|
2009-08-21 23:24:16 +00:00
|
|
|
<LinearLayout
|
2014-04-22 21:23:22 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2014-10-07 22:19:49 +00:00
|
|
|
android:minHeight="56dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:background="@color/account_setup_button_bar_background" >
|
2010-09-09 06:27:05 +00:00
|
|
|
<TextView
|
2014-10-07 22:19:49 +00:00
|
|
|
android:id="@+id/previous"
|
2014-04-22 21:23:22 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
2014-10-07 22:19:49 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:drawableStart="@drawable/ic_prev"
|
|
|
|
android:drawableLeft="@drawable/ic_prev"
|
|
|
|
android:drawablePadding="@dimen/setup_nav_button_drawable_padding"
|
|
|
|
android:text="@string/previous"
|
|
|
|
style="@style/account_setup_nav_button" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/manual_setup"
|
2014-04-22 21:23:22 +00:00
|
|
|
android:layout_height="wrap_content"
|
2014-10-07 22:19:49 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/account_setup_basics_manual_setup_action"
|
|
|
|
android:visibility="gone"
|
|
|
|
style="@style/account_setup_nav_button" />
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/next"
|
2014-04-22 21:23:22 +00:00
|
|
|
android:layout_height="wrap_content"
|
2014-10-07 22:19:49 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:drawableEnd="@drawable/ic_next"
|
|
|
|
android:drawableRight="@drawable/ic_next"
|
|
|
|
android:drawablePadding="@dimen/setup_nav_button_drawable_padding"
|
|
|
|
android:text="@string/next"
|
|
|
|
style="@style/account_setup_nav_button" />
|
2009-08-21 23:24:16 +00:00
|
|
|
</LinearLayout>
|
2014-10-07 22:19:49 +00:00
|
|
|
</LinearLayout>
|