Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/main" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 21 | android:gravity="center" |
Peter Ng | a1252cc | 2011-08-29 21:08:57 -0700 | [diff] [blame] | 22 | android:background="@drawable/appwidget_bg_holo" > |
Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 23 | |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 24 | <LinearLayout |
| 25 | android:id="@+id/btn_wifi" |
| 26 | android:layout_width="0dip" |
| 27 | android:layout_weight="1" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 28 | android:layout_height="match_parent" |
Peter Ng | b2dca8f | 2011-09-08 15:15:54 -0700 | [diff] [blame] | 29 | android:paddingTop="12dp" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 30 | android:background="@drawable/appwidget_button_left" |
| 31 | android:clickable="true" |
| 32 | android:focusable="true" |
| 33 | android:orientation="vertical"> |
| 34 | |
| 35 | <ImageView |
| 36 | android:id="@+id/img_wifi" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 37 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 38 | android:layout_height="0dip" |
| 39 | android:layout_weight="1" |
| 40 | android:scaleType="center" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 41 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 42 | /> |
| 43 | |
| 44 | <ImageView |
| 45 | android:id="@+id/ind_wifi" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 46 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 47 | android:layout_height="wrap_content" |
| 48 | android:scaleType="fitXY" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 49 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 50 | /> |
| 51 | </LinearLayout> |
| 52 | |
| 53 | <ImageView |
| 54 | android:layout_width="1dip" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 55 | android:layout_height="match_parent" |
Peter Ng | a1252cc | 2011-08-29 21:08:57 -0700 | [diff] [blame] | 56 | android:background="@drawable/appwidget_settings_divider_holo" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 57 | android:contentDescription="@null" |
Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 58 | /> |
| 59 | |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 60 | <LinearLayout |
| 61 | android:id="@+id/btn_bluetooth" |
| 62 | android:layout_width="0dip" |
| 63 | android:layout_weight="1" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 64 | android:layout_height="match_parent" |
Peter Ng | b2dca8f | 2011-09-08 15:15:54 -0700 | [diff] [blame] | 65 | android:paddingTop="12dp" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 66 | android:background="@drawable/appwidget_button_center" |
| 67 | android:clickable="true" |
| 68 | android:focusable="true" |
| 69 | android:orientation="vertical"> |
Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 70 | |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 71 | <ImageView |
| 72 | android:id="@+id/img_bluetooth" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 73 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 74 | android:layout_height="0dip" |
| 75 | android:layout_weight="1" |
| 76 | android:scaleType="center" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 77 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 78 | /> |
Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 79 | |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 80 | <ImageView |
| 81 | android:id="@+id/ind_bluetooth" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 82 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 83 | android:layout_height="wrap_content" |
| 84 | android:scaleType="fitXY" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 85 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 86 | /> |
Ken Shirriff | b315980 | 2009-06-11 17:03:35 -0700 | [diff] [blame] | 87 | |
Ken Shirriff | 03a6110 | 2009-06-08 13:49:05 -0700 | [diff] [blame] | 88 | </LinearLayout> |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 89 | |
| 90 | <ImageView |
| 91 | android:layout_width="1dip" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 92 | android:layout_height="match_parent" |
Peter Ng | a1252cc | 2011-08-29 21:08:57 -0700 | [diff] [blame] | 93 | android:background="@drawable/appwidget_settings_divider_holo" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 94 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 95 | /> |
| 96 | |
| 97 | <LinearLayout |
David Christie | 681f799 | 2013-08-06 18:20:33 -0700 | [diff] [blame] | 98 | android:id="@+id/btn_location" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 99 | android:layout_width="0dip" |
| 100 | android:layout_weight="1" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 101 | android:layout_height="match_parent" |
Peter Ng | b2dca8f | 2011-09-08 15:15:54 -0700 | [diff] [blame] | 102 | android:paddingTop="12dp" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 103 | android:background="@drawable/appwidget_button_center" |
| 104 | android:clickable="true" |
| 105 | android:focusable="true" |
| 106 | android:orientation="vertical"> |
| 107 | |
| 108 | <ImageView |
David Christie | 681f799 | 2013-08-06 18:20:33 -0700 | [diff] [blame] | 109 | android:id="@+id/img_location" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 110 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 111 | android:layout_height="0dip" |
| 112 | android:layout_weight="1" |
| 113 | android:scaleType="center" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 114 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 115 | /> |
| 116 | |
| 117 | <ImageView |
David Christie | 681f799 | 2013-08-06 18:20:33 -0700 | [diff] [blame] | 118 | android:id="@+id/ind_location" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 119 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 120 | android:layout_height="wrap_content" |
| 121 | android:scaleType="fitXY" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 122 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 123 | /> |
| 124 | </LinearLayout> |
| 125 | |
| 126 | <ImageView |
| 127 | android:layout_width="1dip" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 128 | android:layout_height="match_parent" |
Peter Ng | a1252cc | 2011-08-29 21:08:57 -0700 | [diff] [blame] | 129 | android:background="@drawable/appwidget_settings_divider_holo" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 130 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 131 | /> |
| 132 | |
| 133 | <LinearLayout |
| 134 | android:id="@+id/btn_sync" |
| 135 | android:layout_width="0dip" |
| 136 | android:layout_weight="1" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 137 | android:layout_height="match_parent" |
Peter Ng | b2dca8f | 2011-09-08 15:15:54 -0700 | [diff] [blame] | 138 | android:paddingTop="12dp" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 139 | android:background="@drawable/appwidget_button_center" |
| 140 | android:clickable="true" |
| 141 | android:focusable="true" |
| 142 | android:orientation="vertical"> |
| 143 | |
| 144 | <ImageView |
| 145 | android:id="@+id/img_sync" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 146 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 147 | android:layout_height="0dip" |
| 148 | android:layout_weight="1" |
| 149 | android:scaleType="center" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 150 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 151 | /> |
| 152 | |
| 153 | <ImageView |
| 154 | android:id="@+id/ind_sync" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 155 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 156 | android:layout_height="wrap_content" |
| 157 | android:scaleType="fitXY" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 158 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 159 | /> |
| 160 | </LinearLayout> |
| 161 | |
| 162 | <ImageView |
| 163 | android:layout_width="1dip" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 164 | android:layout_height="match_parent" |
Peter Ng | a1252cc | 2011-08-29 21:08:57 -0700 | [diff] [blame] | 165 | android:background="@drawable/appwidget_settings_divider_holo" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 166 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 167 | /> |
| 168 | |
| 169 | <LinearLayout |
| 170 | android:id="@+id/btn_brightness" |
| 171 | android:layout_width="0dip" |
| 172 | android:layout_weight="1" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 173 | android:layout_height="match_parent" |
Peter Ng | b2dca8f | 2011-09-08 15:15:54 -0700 | [diff] [blame] | 174 | android:paddingTop="12dp" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 175 | android:background="@drawable/appwidget_button_right" |
| 176 | android:clickable="true" |
| 177 | android:focusable="true" |
| 178 | android:orientation="vertical"> |
| 179 | |
| 180 | <ImageView |
| 181 | android:id="@+id/img_brightness" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 182 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 183 | android:layout_height="0dip" |
| 184 | android:layout_weight="1" |
| 185 | android:scaleType="center" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 186 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 187 | /> |
| 188 | |
| 189 | <ImageView |
| 190 | android:id="@+id/ind_brightness" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 191 | android:layout_width="match_parent" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 192 | android:layout_height="wrap_content" |
| 193 | android:scaleType="fitXY" |
alanv | 0aa7c4f | 2012-05-21 17:55:19 -0700 | [diff] [blame] | 194 | android:contentDescription="@null" |
Mike Cleron | c151e45 | 2009-10-27 14:05:27 -0700 | [diff] [blame] | 195 | /> |
| 196 | </LinearLayout> |
| 197 | |
| 198 | </LinearLayout> |