blob: f90daa43f6083700808ef31345fd52ee61d32fe3 [file] [log] [blame]
Russell Brennerfc866692012-05-14 08:21:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2012, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19<view
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 class="com.android.settings.wifi.WifiSettings$ProportionalOuterFrame"
22 android:layout_height="match_parent"
23 android:layout_width="match_parent">
24
25 <RelativeLayout
26 android:id="@+id/title_area"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 android:layout_alignParentTop="true"
30 android:gravity="bottom">
31
32 <LinearLayout
33 android:id="@+id/button_bar"
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
36 android:layout_alignBottom="@id/title"
37 android:gravity="bottom"
38 android:orientation="horizontal">
39 <TextView
40 android:id="@+id/title"
41 android:layout_width="0dip"
42 android:layout_height="wrap_content"
43 android:layout_weight="1.0"
44 style="@style/SetupTitle"
45 android:text="@string/wifi_setup_wizard_title"
46 android:gravity="bottom" />
47
48 <ImageButton
49 android:id="@+id/add_network"
50 android:layout_width="@dimen/setup_button_size"
51 android:layout_height="@dimen/setup_button_size"
52 android:layout_marginLeft="8dip"
53 android:layout_marginBottom="8dip"
54 android:src="@drawable/ic_menu_add"
alanv0aa7c4f2012-05-21 17:55:19 -070055 android:background="?android:attr/actionBarItemBackground"
56 android:contentDescription="@string/wifi_add_network" />
Russell Brennerfc866692012-05-14 08:21:42 -070057
58 <ImageButton
59 android:id="@+id/wps_push"
60 android:layout_width="@dimen/setup_button_size"
61 android:layout_height="@dimen/setup_button_size"
62 android:layout_marginLeft="8dip"
63 android:layout_marginRight="8dip"
64 android:layout_marginBottom="8dip"
65 android:src="@drawable/ic_wps"
alanv0aa7c4f2012-05-21 17:55:19 -070066 android:background="?android:attr/actionBarItemBackground"
67 android:contentDescription="@string/wifi_menu_wps_pbc" />
Russell Brennerfc866692012-05-14 08:21:42 -070068
69 </LinearLayout>
70
71 <!-- Divider -->
72 <View
73 android:id="@+id/top_divider"
74 style="@style/TopDivider"
75 android:layout_below="@id/button_bar" />
76
77 </RelativeLayout>
78
79 <LinearLayout
80 xmlns:android="http://schemas.android.com/apk/res/android"
81 android:layout_width="match_parent"
82 android:layout_height="match_parent"
83 android:layout_below="@id/title_area"
84 android:background="@android:color/transparent"
85 android:orientation="vertical" >
86
87 <ListView
88 android:id="@android:id/list"
89 android:layout_width="match_parent"
90 android:layout_height="0px"
91 android:layout_weight="1"
92 android:cacheColorHint="@android:color/transparent"
93 android:clipToPadding="false"
94 android:drawSelectorOnTop="false"
95 android:paddingTop="0dip"
96 android:scrollbarAlwaysDrawVerticalTrack="true" />
97
98 <TextView
99 android:id="@android:id/empty"
100 android:layout_width="match_parent"
101 android:layout_height="match_parent"
102 android:gravity="center"
103 android:visibility="gone" />
104
105 <RelativeLayout
106 android:id="@+id/button_bar"
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
109 android:layout_weight="0"
110 android:visibility="gone" >
111
112 <Button
113 android:id="@+id/back_button"
114 android:layout_width="150dip"
115 android:layout_height="wrap_content"
116 android:layout_alignParentLeft="true"
117 android:layout_margin="5dip"
118 android:text="@string/wifi_setup_back" />
119
120 <LinearLayout
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:layout_alignParentRight="true"
124 android:orientation="horizontal" >
125
126 <Button
127 android:id="@+id/skip_button"
128 android:layout_width="150dip"
129 android:layout_height="wrap_content"
130 android:layout_margin="5dip"
131 android:text="@string/wifi_setup_skip"
132 android:visibility="gone" />
133
134 <Button
135 android:id="@+id/next_button"
136 android:layout_width="150dip"
137 android:layout_height="wrap_content"
138 android:layout_margin="5dip"
139 android:text="@string/wifi_setup_next" />
140 </LinearLayout>
141 </RelativeLayout>
142 </LinearLayout>
143</view>