blob: 8d1f53b2b24201d671d34580623df39ef160c83e [file] [log] [blame]
Maurice Lam1677b3e2014-08-20 20:34:07 -07001<?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
18<LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:orientation="vertical">
24
25 <com.android.settings.widget.SetupWizardIllustration
26 android:id="@+id/title_area"
27 android:layout_width="match_parent"
28 android:layout_height="0dp"
29 android:layout_weight="1"
30 android:background="@drawable/setup_illustration_bg"
31 android:foreground="@drawable/setup_illustration_wifi_wide"
32 settings:aspectRatio="4.0">
33
34 <LinearLayout
35 android:layout_width="match_parent"
36 android:layout_height="match_parent"
37 android:orientation="vertical"
38 android:paddingLeft="@dimen/setup_wizard_card_port_margin_sides"
39 android:paddingRight="@dimen/setup_wizard_card_port_margin_sides">
40
41 <TextView
42 android:id="@+id/title"
43 style="@style/SetupCardTitle"
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:text="@string/wifi_setup_wizard_title" />
47
48 <LinearLayout
49 android:layout_width="match_parent"
50 android:layout_height="0dp"
51 android:layout_weight="1"
52 android:background="@drawable/setup_wizard_card_bg"
53 android:elevation="@dimen/setup_wizard_card_elevation"
54 android:orientation="vertical">
55
56 <TextView
57 android:id="@+id/wifi_required_info"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:layout_marginBottom="6dp"
61 android:text="@string/wifi_required_info_text"
62 android:textAppearance="?android:attr/textAppearanceMedium"
63 android:visibility="gone" />
64
65 <ListView
66 android:id="@android:id/list"
67 android:layout_width="match_parent"
68 android:layout_height="0dp"
69 android:layout_weight="1"
70 android:cacheColorHint="@android:color/transparent"
71 android:clipToPadding="false"
72 android:drawSelectorOnTop="false"
73 android:headerDividersEnabled="false"
74 android:scrollbarAlwaysDrawVerticalTrack="true" />
75
76 </LinearLayout>
77
78 </LinearLayout>
79
80 </com.android.settings.widget.SetupWizardIllustration>
81
82 <fragment
83 android:id="@+id/navigation_bar"
84 android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar"
85 style="@style/setup_wizard_navbar_style" />
86
87</LinearLayout>
88