blob: a125d80dbe55bc7bb0c8042596802549cb6cecc8 [file] [log] [blame]
Ken Shirriff03a61102009-06-08 13:49:05 -07001<?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 Cleronc151e452009-10-27 14:05:27 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/main"
Romain Guy33787152010-01-08 15:07:10 -080019 android:layout_width="match_parent"
20 android:layout_height="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -070021 android:gravity="center"
Peter Nga1252cc2011-08-29 21:08:57 -070022 android:background="@drawable/appwidget_bg_holo" >
Ken Shirriff03a61102009-06-08 13:49:05 -070023
Mike Cleronc151e452009-10-27 14:05:27 -070024 <LinearLayout
25 android:id="@+id/btn_wifi"
26 android:layout_width="0dip"
27 android:layout_weight="1"
Romain Guy33787152010-01-08 15:07:10 -080028 android:layout_height="match_parent"
Peter Ngb2dca8f2011-09-08 15:15:54 -070029 android:paddingTop="12dp"
Mike Cleronc151e452009-10-27 14:05:27 -070030 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 Guy33787152010-01-08 15:07:10 -080037 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -070038 android:layout_height="0dip"
39 android:layout_weight="1"
40 android:scaleType="center"
alanv0aa7c4f2012-05-21 17:55:19 -070041 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -070042 />
43
44 <ImageView
45 android:id="@+id/ind_wifi"
Romain Guy33787152010-01-08 15:07:10 -080046 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -070047 android:layout_height="wrap_content"
48 android:scaleType="fitXY"
alanv0aa7c4f2012-05-21 17:55:19 -070049 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -070050 />
51 </LinearLayout>
52
53 <ImageView
54 android:layout_width="1dip"
Romain Guy33787152010-01-08 15:07:10 -080055 android:layout_height="match_parent"
Peter Nga1252cc2011-08-29 21:08:57 -070056 android:background="@drawable/appwidget_settings_divider_holo"
alanv0aa7c4f2012-05-21 17:55:19 -070057 android:contentDescription="@null"
Ken Shirriff03a61102009-06-08 13:49:05 -070058 />
59
Mike Cleronc151e452009-10-27 14:05:27 -070060 <LinearLayout
61 android:id="@+id/btn_bluetooth"
62 android:layout_width="0dip"
63 android:layout_weight="1"
Romain Guy33787152010-01-08 15:07:10 -080064 android:layout_height="match_parent"
Peter Ngb2dca8f2011-09-08 15:15:54 -070065 android:paddingTop="12dp"
Mike Cleronc151e452009-10-27 14:05:27 -070066 android:background="@drawable/appwidget_button_center"
67 android:clickable="true"
68 android:focusable="true"
69 android:orientation="vertical">
Ken Shirriff03a61102009-06-08 13:49:05 -070070
Mike Cleronc151e452009-10-27 14:05:27 -070071 <ImageView
72 android:id="@+id/img_bluetooth"
Romain Guy33787152010-01-08 15:07:10 -080073 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -070074 android:layout_height="0dip"
75 android:layout_weight="1"
76 android:scaleType="center"
alanv0aa7c4f2012-05-21 17:55:19 -070077 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -070078 />
Ken Shirriff03a61102009-06-08 13:49:05 -070079
Mike Cleronc151e452009-10-27 14:05:27 -070080 <ImageView
81 android:id="@+id/ind_bluetooth"
Romain Guy33787152010-01-08 15:07:10 -080082 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -070083 android:layout_height="wrap_content"
84 android:scaleType="fitXY"
alanv0aa7c4f2012-05-21 17:55:19 -070085 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -070086 />
Ken Shirriffb3159802009-06-11 17:03:35 -070087
Ken Shirriff03a61102009-06-08 13:49:05 -070088 </LinearLayout>
Mike Cleronc151e452009-10-27 14:05:27 -070089
90 <ImageView
91 android:layout_width="1dip"
Romain Guy33787152010-01-08 15:07:10 -080092 android:layout_height="match_parent"
Peter Nga1252cc2011-08-29 21:08:57 -070093 android:background="@drawable/appwidget_settings_divider_holo"
alanv0aa7c4f2012-05-21 17:55:19 -070094 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -070095 />
96
97 <LinearLayout
David Christie681f7992013-08-06 18:20:33 -070098 android:id="@+id/btn_location"
Mike Cleronc151e452009-10-27 14:05:27 -070099 android:layout_width="0dip"
100 android:layout_weight="1"
Romain Guy33787152010-01-08 15:07:10 -0800101 android:layout_height="match_parent"
Peter Ngb2dca8f2011-09-08 15:15:54 -0700102 android:paddingTop="12dp"
Mike Cleronc151e452009-10-27 14:05:27 -0700103 android:background="@drawable/appwidget_button_center"
104 android:clickable="true"
105 android:focusable="true"
106 android:orientation="vertical">
107
108 <ImageView
David Christie681f7992013-08-06 18:20:33 -0700109 android:id="@+id/img_location"
Romain Guy33787152010-01-08 15:07:10 -0800110 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700111 android:layout_height="0dip"
112 android:layout_weight="1"
113 android:scaleType="center"
alanv0aa7c4f2012-05-21 17:55:19 -0700114 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700115 />
116
117 <ImageView
David Christie681f7992013-08-06 18:20:33 -0700118 android:id="@+id/ind_location"
Romain Guy33787152010-01-08 15:07:10 -0800119 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700120 android:layout_height="wrap_content"
121 android:scaleType="fitXY"
alanv0aa7c4f2012-05-21 17:55:19 -0700122 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700123 />
124 </LinearLayout>
125
126 <ImageView
127 android:layout_width="1dip"
Romain Guy33787152010-01-08 15:07:10 -0800128 android:layout_height="match_parent"
Peter Nga1252cc2011-08-29 21:08:57 -0700129 android:background="@drawable/appwidget_settings_divider_holo"
alanv0aa7c4f2012-05-21 17:55:19 -0700130 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700131 />
132
133 <LinearLayout
134 android:id="@+id/btn_sync"
135 android:layout_width="0dip"
136 android:layout_weight="1"
Romain Guy33787152010-01-08 15:07:10 -0800137 android:layout_height="match_parent"
Peter Ngb2dca8f2011-09-08 15:15:54 -0700138 android:paddingTop="12dp"
Mike Cleronc151e452009-10-27 14:05:27 -0700139 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 Guy33787152010-01-08 15:07:10 -0800146 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700147 android:layout_height="0dip"
148 android:layout_weight="1"
149 android:scaleType="center"
alanv0aa7c4f2012-05-21 17:55:19 -0700150 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700151 />
152
153 <ImageView
154 android:id="@+id/ind_sync"
Romain Guy33787152010-01-08 15:07:10 -0800155 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700156 android:layout_height="wrap_content"
157 android:scaleType="fitXY"
alanv0aa7c4f2012-05-21 17:55:19 -0700158 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700159 />
160 </LinearLayout>
161
162 <ImageView
163 android:layout_width="1dip"
Romain Guy33787152010-01-08 15:07:10 -0800164 android:layout_height="match_parent"
Peter Nga1252cc2011-08-29 21:08:57 -0700165 android:background="@drawable/appwidget_settings_divider_holo"
alanv0aa7c4f2012-05-21 17:55:19 -0700166 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700167 />
168
169 <LinearLayout
170 android:id="@+id/btn_brightness"
171 android:layout_width="0dip"
172 android:layout_weight="1"
Romain Guy33787152010-01-08 15:07:10 -0800173 android:layout_height="match_parent"
Peter Ngb2dca8f2011-09-08 15:15:54 -0700174 android:paddingTop="12dp"
Mike Cleronc151e452009-10-27 14:05:27 -0700175 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 Guy33787152010-01-08 15:07:10 -0800182 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700183 android:layout_height="0dip"
184 android:layout_weight="1"
185 android:scaleType="center"
alanv0aa7c4f2012-05-21 17:55:19 -0700186 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700187 />
188
189 <ImageView
190 android:id="@+id/ind_brightness"
Romain Guy33787152010-01-08 15:07:10 -0800191 android:layout_width="match_parent"
Mike Cleronc151e452009-10-27 14:05:27 -0700192 android:layout_height="wrap_content"
193 android:scaleType="fitXY"
alanv0aa7c4f2012-05-21 17:55:19 -0700194 android:contentDescription="@null"
Mike Cleronc151e452009-10-27 14:05:27 -0700195 />
196 </LinearLayout>
197
198</LinearLayout>