diff options
Diffstat (limited to 'res/layout/setup_template.xml')
-rw-r--r-- | res/layout/setup_template.xml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/res/layout/setup_template.xml b/res/layout/setup_template.xml new file mode 100644 index 0000000..7d8ffc8 --- /dev/null +++ b/res/layout/setup_template.xml @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + 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 + + http://www.apache.org/licenses/LICENSE-2.0 + + 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. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:settings="http://schemas.android.com/apk/res/com.android.settings" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <ScrollView + android:id="@+id/bottom_scroll_view" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + android:fillViewport="true"> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:clipChildren="false"> + + <com.android.settings.widget.SetupWizardIllustration + android:id="@+id/illustration_phone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:elevation="@dimen/setup_wizard_title_area_elevation" + android:background="@drawable/setup_illustration_bg" + android:foreground="@drawable/setup_illustration_wifi" + android:tag="stickyContainer" + settings:aspectRatio="2.22"> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:tag="sticky" + android:text="@string/wifi_setup_title" + style="@style/SetupTitle"/> + + </com.android.settings.widget.SetupWizardIllustration> + + <FrameLayout + android:id="@+id/setup_content" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/illustration_phone" + android:clipChildren="false"/> + + </RelativeLayout> + + </ScrollView> + + <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar" + android:id="@+id/navigation_bar" + android:layout_width="match_parent" + android:layout_height="56dip" + style="@style/setup_wizard_navbar_style"/> + +</LinearLayout> + |