Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 1 | <?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 | --> |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 19 | <LinearLayout |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 21 | android:id="@+id/fragment" |
| 22 | android:orientation="vertical" |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 23 | android:layout_height="match_parent" |
| 24 | android:layout_width="match_parent"> |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 25 | <view |
| 26 | class="com.android.settings.widget.ProportionalOuterFrame" |
| 27 | android:layout_weight="1" |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 28 | android:layout_height="match_parent" |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 29 | android:layout_width="match_parent"> |
Michael Kolb | 9d5a6eb | 2012-05-23 10:26:53 -0700 | [diff] [blame] | 30 | |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 31 | <RelativeLayout |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 32 | android:id="@+id/title_area" |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="wrap_content" |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 35 | android:layout_alignParentTop="true" |
| 36 | android:gravity="bottom"> |
Russell Brenner | 88c9f28 | 2012-09-27 11:37:54 -0700 | [diff] [blame] | 37 | |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 38 | <LinearLayout |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 39 | android:id="@+id/title_bar" |
| 40 | android:layout_width="match_parent" |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 41 | android:layout_height="wrap_content" |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 42 | android:gravity="bottom" |
| 43 | android:orientation="horizontal"> |
| 44 | <TextView |
| 45 | android:id="@+id/title" |
| 46 | android:layout_width="0dip" |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 48 | android:layout_weight="1.0" |
| 49 | style="@style/SetupTitle" |
| 50 | android:text="@string/wifi_setup_wizard_title" |
| 51 | android:gravity="bottom" /> |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 52 | |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 53 | <ImageButton |
| 54 | android:id="@+id/more" |
| 55 | android:layout_width="@dimen/setup_button_size" |
| 56 | android:layout_height="@dimen/setup_button_size" |
| 57 | android:layout_marginStart="8dip" |
| 58 | android:layout_marginEnd="8dip" |
| 59 | android:layout_marginBottom="8dip" |
| 60 | android:src="?attr/ic_menu_moreoverflow" |
| 61 | android:background="?android:attr/actionBarItemBackground" |
| 62 | android:contentDescription="@string/wifi_menu_more_options" /> |
| 63 | |
| 64 | </LinearLayout> |
| 65 | |
| 66 | <!-- Divider --> |
| 67 | <View |
| 68 | android:id="@+id/top_divider" |
| 69 | style="@style/TopDivider" |
| 70 | android:layout_below="@id/title_bar" /> |
| 71 | |
Russell Brenner | fc86669 | 2012-05-14 08:21:42 -0700 | [diff] [blame] | 72 | </RelativeLayout> |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame^] | 73 | |
| 74 | <LinearLayout |
| 75 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 76 | android:layout_width="match_parent" |
| 77 | android:layout_height="match_parent" |
| 78 | android:layout_below="@id/title_area" |
| 79 | android:background="@android:color/transparent" |
| 80 | android:orientation="vertical" > |
| 81 | |
| 82 | <TextView |
| 83 | android:id="@+id/wifi_required_info" |
| 84 | android:layout_width="match_parent" |
| 85 | android:layout_height="wrap_content" |
| 86 | android:layout_marginBottom="6dip" |
| 87 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 88 | android:text="@string/wifi_required_info_text" |
| 89 | android:visibility="gone" /> |
| 90 | |
| 91 | <ListView |
| 92 | android:id="@android:id/list" |
| 93 | android:layout_width="match_parent" |
| 94 | android:layout_height="0px" |
| 95 | android:layout_weight="1" |
| 96 | android:cacheColorHint="@android:color/transparent" |
| 97 | android:clipToPadding="false" |
| 98 | android:drawSelectorOnTop="false" |
| 99 | android:paddingTop="0dip" |
| 100 | android:scrollbarAlwaysDrawVerticalTrack="true" /> |
| 101 | |
| 102 | <TextView |
| 103 | android:id="@android:id/empty" |
| 104 | android:layout_width="match_parent" |
| 105 | android:layout_height="0px" |
| 106 | android:layout_weight="1" |
| 107 | android:gravity="center" |
| 108 | android:visibility="gone" /> |
| 109 | |
| 110 | <ImageView |
| 111 | android:id="@+id/divider" |
| 112 | android:layout_width="match_parent" |
| 113 | android:layout_height="wrap_content" |
| 114 | android:layout_marginTop="@dimen/setup_item_margin" |
| 115 | android:background="@*android:drawable/list_divider_holo_dark" /> |
| 116 | |
| 117 | <LinearLayout |
| 118 | android:id="@+id/other_network" |
| 119 | android:layout_width="match_parent" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:layout_marginBottom="@dimen/setup_item_margin" |
| 122 | android:background="?android:attr/selectableItemBackground" |
| 123 | android:gravity="center_vertical" |
| 124 | android:minHeight="?android:attr/listPreferredItemHeight" |
| 125 | android:paddingEnd="?android:attr/scrollbarSize" > |
| 126 | |
| 127 | <ImageView |
| 128 | android:id="@+id/add_icon" |
| 129 | android:layout_width="wrap_content" |
| 130 | android:layout_height="wrap_content" |
| 131 | android:layout_gravity="center" |
| 132 | android:src="?attr/ic_menu_add" /> |
| 133 | |
| 134 | <TextView |
| 135 | android:id="@+id/other" |
| 136 | android:layout_width="wrap_content" |
| 137 | android:layout_height="wrap_content" |
| 138 | android:layout_marginBottom="6dip" |
| 139 | android:layout_marginStart="15dip" |
| 140 | android:layout_marginEnd="6dip" |
| 141 | android:layout_marginTop="6dip" |
| 142 | android:layout_weight="1" |
| 143 | android:ellipsize="marquee" |
| 144 | android:fadingEdge="horizontal" |
| 145 | android:singleLine="true" |
| 146 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 147 | android:text="@string/wifi_other_network" /> |
| 148 | |
| 149 | </LinearLayout> |
| 150 | |
| 151 | <RelativeLayout |
| 152 | android:id="@+id/button_bar" |
| 153 | android:layout_width="match_parent" |
| 154 | android:layout_height="wrap_content" |
| 155 | android:layout_weight="0" |
| 156 | android:visibility="gone" > |
| 157 | |
| 158 | <Button |
| 159 | android:id="@+id/back_button" |
| 160 | android:layout_width="150dip" |
| 161 | android:layout_height="wrap_content" |
| 162 | android:layout_alignParentStart="true" |
| 163 | android:layout_margin="5dip" |
| 164 | android:text="@string/wifi_setup_back" /> |
| 165 | |
| 166 | <Button |
| 167 | android:id="@+id/custom_button" |
| 168 | android:layout_width="150dip" |
| 169 | android:layout_height="wrap_content" |
| 170 | android:layout_alignParentEnd="true" |
| 171 | android:layout_margin="5dip" |
| 172 | android:text="@string/wifi_setup_skip" /> |
| 173 | |
| 174 | <LinearLayout |
| 175 | android:layout_width="wrap_content" |
| 176 | android:layout_height="wrap_content" |
| 177 | android:layout_alignParentEnd="true" |
| 178 | android:orientation="horizontal" > |
| 179 | |
| 180 | <Button |
| 181 | android:id="@+id/skip_button" |
| 182 | android:layout_width="150dip" |
| 183 | android:layout_height="wrap_content" |
| 184 | android:layout_margin="5dip" |
| 185 | android:text="@string/wifi_setup_skip" |
| 186 | android:visibility="gone" /> |
| 187 | |
| 188 | <Button |
| 189 | android:id="@+id/next_button" |
| 190 | android:layout_width="150dip" |
| 191 | android:layout_height="wrap_content" |
| 192 | android:layout_margin="5dip" |
| 193 | android:text="@string/wifi_setup_next" |
| 194 | android:visibility="gone" /> |
| 195 | </LinearLayout> |
| 196 | </RelativeLayout> |
| 197 | </LinearLayout> |
| 198 | </view> |
| 199 | <fragment android:name="com.android.setupwizard.navigationbar.SetupWizardNavBar" |
| 200 | android:id="@+id/navigation_bar" |
| 201 | style="@style/setup_wizard_navbar_style" |
| 202 | android:layout_weight="0" |
| 203 | /> |
| 204 | </LinearLayout> |