Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | |
| 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <com.android.settings.widget.SetupWizardIllustration |
Maurice Lam | 1227a19 | 2014-12-03 16:12:31 -0800 | [diff] [blame] | 24 | android:id="@+id/setup_illustration" |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="0dp" |
| 27 | android:layout_weight="1" |
| 28 | android:background="@drawable/setup_illustration_bg" |
Maurice Lam | 1227a19 | 2014-12-03 16:12:31 -0800 | [diff] [blame] | 29 | android:foreground="@drawable/setup_illustration"> |
Maurice Lam | 6b19fa9 | 2014-11-25 19:25:56 -0800 | [diff] [blame] | 30 | |
| 31 | <LinearLayout |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
| 34 | android:gravity="start|top" |
| 35 | android:weightSum="16"> |
| 36 | |
| 37 | <TextView |
| 38 | android:id="@+id/title" |
| 39 | android:layout_width="0dp" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height" |
| 42 | android:layout_weight="6" |
| 43 | android:text="@string/wifi_setup_title" |
| 44 | style="@style/SetupCardTitle"/> |
| 45 | |
| 46 | <ScrollView |
| 47 | android:id="@+id/bottom_scroll_view" |
| 48 | android:layout_width="0dp" |
| 49 | android:layout_height="match_parent" |
| 50 | android:layout_marginTop="@dimen/setup_wizard_card_land_margin_top" |
| 51 | android:layout_weight="8" |
| 52 | android:background="@drawable/setup_wizard_card_bg" |
| 53 | android:elevation="@dimen/setup_wizard_card_elevation" |
| 54 | android:fillViewport="true"> |
| 55 | |
| 56 | <FrameLayout android:id="@+id/setup_content" |
| 57 | android:layout_width="match_parent" |
| 58 | android:layout_height="wrap_content" |
| 59 | android:clipChildren="false"/> |
| 60 | |
| 61 | </ScrollView> |
| 62 | |
| 63 | </LinearLayout> |
| 64 | |
| 65 | </com.android.settings.widget.SetupWizardIllustration> |
| 66 | |
| 67 | <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar" |
| 68 | android:id="@+id/navigation_bar" |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="56dip" |
| 71 | style="@style/setup_wizard_navbar_style"/> |
| 72 | |
| 73 | </LinearLayout> |
| 74 | |