Maurice Lam | 1677b3e | 2014-08-20 20:34:07 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 Google Inc. |
| 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 | |
Maurice Lam | 62c15e3 | 2014-08-27 10:08:44 -0700 | [diff] [blame] | 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Maurice Lam | 1677b3e | 2014-08-20 20:34:07 -0700 | [diff] [blame] | 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 | 1677b3e | 2014-08-20 20:34:07 -0700 | [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 | 1677b3e | 2014-08-20 20:34:07 -0700 | [diff] [blame] | 30 | |
| 31 | <LinearLayout |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="match_parent" |
Maurice Lam | 62c15e3 | 2014-08-27 10:08:44 -0700 | [diff] [blame] | 34 | android:layout_marginTop="@dimen/setup_wizard_tablet_illustration_height" |
Maurice Lam | 1677b3e | 2014-08-20 20:34:07 -0700 | [diff] [blame] | 35 | android:orientation="vertical" |
| 36 | android:paddingLeft="@dimen/setup_wizard_card_port_margin_sides" |
| 37 | android:paddingRight="@dimen/setup_wizard_card_port_margin_sides"> |
| 38 | |
| 39 | <TextView |
| 40 | android:id="@+id/title" |
| 41 | style="@style/SetupCardTitle" |
| 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:text="@string/wifi_setup_wizard_title" /> |
| 45 | |
| 46 | <LinearLayout |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="0dp" |
| 49 | android:layout_weight="1" |
| 50 | android:background="@drawable/setup_wizard_card_bg" |
| 51 | android:elevation="@dimen/setup_wizard_card_elevation" |
| 52 | android:orientation="vertical"> |
| 53 | |
Maurice Lam | 1677b3e | 2014-08-20 20:34:07 -0700 | [diff] [blame] | 54 | <ListView |
| 55 | android:id="@android:id/list" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="0dp" |
| 58 | android:layout_weight="1" |
| 59 | android:cacheColorHint="@android:color/transparent" |
| 60 | android:clipToPadding="false" |
| 61 | android:drawSelectorOnTop="false" |
| 62 | android:headerDividersEnabled="false" |
| 63 | android:scrollbarAlwaysDrawVerticalTrack="true" /> |
| 64 | |
| 65 | </LinearLayout> |
| 66 | |
| 67 | </LinearLayout> |
| 68 | |
| 69 | </com.android.settings.widget.SetupWizardIllustration> |
| 70 | |
| 71 | <fragment |
| 72 | android:id="@+id/navigation_bar" |
| 73 | android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar" |
| 74 | style="@style/setup_wizard_navbar_style" /> |
| 75 | |
| 76 | </LinearLayout> |
| 77 | |