| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2009 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/main" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="center" |
| android:background="@drawable/appwidget_bg_holo" > |
| |
| <LinearLayout |
| android:id="@+id/btn_wifi" |
| android:layout_width="0dip" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:paddingTop="12dp" |
| android:background="@drawable/appwidget_button_left" |
| android:clickable="true" |
| android:focusable="true" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/img_wifi" |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:scaleType="center" |
| android:contentDescription="@null" |
| /> |
| |
| <ImageView |
| android:id="@+id/ind_wifi" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scaleType="fitXY" |
| android:contentDescription="@null" |
| /> |
| </LinearLayout> |
| |
| <ImageView |
| android:layout_width="1dip" |
| android:layout_height="match_parent" |
| android:background="@drawable/appwidget_settings_divider_holo" |
| android:contentDescription="@null" |
| /> |
| |
| <LinearLayout |
| android:id="@+id/btn_bluetooth" |
| android:layout_width="0dip" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:paddingTop="12dp" |
| android:background="@drawable/appwidget_button_center" |
| android:clickable="true" |
| android:focusable="true" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/img_bluetooth" |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:scaleType="center" |
| android:contentDescription="@null" |
| /> |
| |
| <ImageView |
| android:id="@+id/ind_bluetooth" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scaleType="fitXY" |
| android:contentDescription="@null" |
| /> |
| |
| </LinearLayout> |
| |
| <ImageView |
| android:layout_width="1dip" |
| android:layout_height="match_parent" |
| android:background="@drawable/appwidget_settings_divider_holo" |
| android:contentDescription="@null" |
| /> |
| |
| <LinearLayout |
| android:id="@+id/btn_gps" |
| android:layout_width="0dip" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:paddingTop="12dp" |
| android:background="@drawable/appwidget_button_center" |
| android:clickable="true" |
| android:focusable="true" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/img_gps" |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:scaleType="center" |
| android:contentDescription="@null" |
| /> |
| |
| <ImageView |
| android:id="@+id/ind_gps" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scaleType="fitXY" |
| android:contentDescription="@null" |
| /> |
| </LinearLayout> |
| |
| <ImageView |
| android:layout_width="1dip" |
| android:layout_height="match_parent" |
| android:background="@drawable/appwidget_settings_divider_holo" |
| android:contentDescription="@null" |
| /> |
| |
| <LinearLayout |
| android:id="@+id/btn_sync" |
| android:layout_width="0dip" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:paddingTop="12dp" |
| android:background="@drawable/appwidget_button_center" |
| android:clickable="true" |
| android:focusable="true" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/img_sync" |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:scaleType="center" |
| android:contentDescription="@null" |
| /> |
| |
| <ImageView |
| android:id="@+id/ind_sync" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scaleType="fitXY" |
| android:contentDescription="@null" |
| /> |
| </LinearLayout> |
| |
| <ImageView |
| android:layout_width="1dip" |
| android:layout_height="match_parent" |
| android:background="@drawable/appwidget_settings_divider_holo" |
| android:contentDescription="@null" |
| /> |
| |
| <LinearLayout |
| android:id="@+id/btn_brightness" |
| android:layout_width="0dip" |
| android:layout_weight="1" |
| android:layout_height="match_parent" |
| android:paddingTop="12dp" |
| android:background="@drawable/appwidget_button_right" |
| android:clickable="true" |
| android:focusable="true" |
| android:orientation="vertical"> |
| |
| <ImageView |
| android:id="@+id/img_brightness" |
| android:layout_width="match_parent" |
| android:layout_height="0dip" |
| android:layout_weight="1" |
| android:scaleType="center" |
| android:contentDescription="@null" |
| /> |
| |
| <ImageView |
| android:id="@+id/ind_brightness" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:scaleType="fitXY" |
| android:contentDescription="@null" |
| /> |
| </LinearLayout> |
| |
| </LinearLayout> |