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 | --> |
| 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" |
| 55 | android:background="?android:attr/actionBarItemBackground" /> |
| 56 | |
| 57 | <ImageButton |
| 58 | android:id="@+id/wps_push" |
| 59 | android:layout_width="@dimen/setup_button_size" |
| 60 | android:layout_height="@dimen/setup_button_size" |
| 61 | android:layout_marginLeft="8dip" |
| 62 | android:layout_marginRight="8dip" |
| 63 | android:layout_marginBottom="8dip" |
| 64 | android:src="@drawable/ic_wps" |
| 65 | android:background="?android:attr/actionBarItemBackground" /> |
| 66 | |
| 67 | </LinearLayout> |
| 68 | |
| 69 | <!-- Divider --> |
| 70 | <View |
| 71 | android:id="@+id/top_divider" |
| 72 | style="@style/TopDivider" |
| 73 | android:layout_below="@id/button_bar" /> |
| 74 | |
| 75 | </RelativeLayout> |
| 76 | |
| 77 | <LinearLayout |
| 78 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 79 | android:layout_width="match_parent" |
| 80 | android:layout_height="match_parent" |
| 81 | android:layout_below="@id/title_area" |
| 82 | android:background="@android:color/transparent" |
| 83 | android:orientation="vertical" > |
| 84 | |
| 85 | <ListView |
| 86 | android:id="@android:id/list" |
| 87 | android:layout_width="match_parent" |
| 88 | android:layout_height="0px" |
| 89 | android:layout_weight="1" |
| 90 | android:cacheColorHint="@android:color/transparent" |
| 91 | android:clipToPadding="false" |
| 92 | android:drawSelectorOnTop="false" |
| 93 | android:paddingTop="0dip" |
| 94 | android:scrollbarAlwaysDrawVerticalTrack="true" /> |
| 95 | |
| 96 | <TextView |
| 97 | android:id="@android:id/empty" |
| 98 | android:layout_width="match_parent" |
| 99 | android:layout_height="match_parent" |
| 100 | android:gravity="center" |
| 101 | android:visibility="gone" /> |
| 102 | |
| 103 | <RelativeLayout |
| 104 | android:id="@+id/button_bar" |
| 105 | android:layout_width="match_parent" |
| 106 | android:layout_height="wrap_content" |
| 107 | android:layout_weight="0" |
| 108 | android:visibility="gone" > |
| 109 | |
| 110 | <Button |
| 111 | android:id="@+id/back_button" |
| 112 | android:layout_width="150dip" |
| 113 | android:layout_height="wrap_content" |
| 114 | android:layout_alignParentLeft="true" |
| 115 | android:layout_margin="5dip" |
| 116 | android:text="@string/wifi_setup_back" /> |
| 117 | |
| 118 | <LinearLayout |
| 119 | android:layout_width="wrap_content" |
| 120 | android:layout_height="wrap_content" |
| 121 | android:layout_alignParentRight="true" |
| 122 | android:orientation="horizontal" > |
| 123 | |
| 124 | <Button |
| 125 | android:id="@+id/skip_button" |
| 126 | android:layout_width="150dip" |
| 127 | android:layout_height="wrap_content" |
| 128 | android:layout_margin="5dip" |
| 129 | android:text="@string/wifi_setup_skip" |
| 130 | android:visibility="gone" /> |
| 131 | |
| 132 | <Button |
| 133 | android:id="@+id/next_button" |
| 134 | android:layout_width="150dip" |
| 135 | android:layout_height="wrap_content" |
| 136 | android:layout_margin="5dip" |
| 137 | android:text="@string/wifi_setup_next" /> |
| 138 | </LinearLayout> |
| 139 | </RelativeLayout> |
| 140 | </LinearLayout> |
| 141 | </view> |