blob: 36c6388ec10f0a37afcf89b8e93d15b78e751b8c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
/* apps/common/assets/default/default/skins/StatusBar.xml
**
** Copyright 2010, 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.
*/
-->
<com.android.systemui.statusbar.tablet.SystemPanel
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:background="#FF000000"
android:orientation="vertical"
>
<TextView android:id="@+id/settings_button"
style="?android:attr/textAppearance"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
android:layout_marginTop="2dip"
android:layout_marginBottom="1dip"
android:layout_marginRight="10dip"
android:padding="8dip"
android:textSize="20sp"
android:text="@string/system_panel_settings_button"
/>
<View
android:layout_width="match_parent"
android:layout_height="1sp"
android:background="@android:drawable/divider_horizontal_dark"
/>
<LinearLayout
android:padding="8dip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center"
>
<ImageButton android:id="@+id/brightness"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/system_panel_brightness_default"
android:background="@drawable/button_frame"
/>
<ImageButton android:id="@+id/sound"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
android:src="@drawable/system_panel_sound_default"
android:background="@drawable/button_frame"
/>
<ImageButton android:id="@+id/orientation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
android:src="@drawable/system_panel_orientation_default"
android:background="@drawable/button_frame"
/>
<ImageButton android:id="@+id/airplane"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
android:src="@drawable/system_panel_airplane_default"
android:background="@drawable/button_frame"
/>
</LinearLayout>
<RelativeLayout
android:padding="8dip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<RelativeLayout
android:layout_width="120dip"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
>
<ImageView android:id="@+id/battery_meter"
android:layout_width="96dip"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:scaleType="centerCrop"
android:src="@drawable/battery"
/>
<TextView android:id="@+id/battery_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_below="@id/battery_meter"
/>
</RelativeLayout>
<com.android.systemui.statusbar.Clock
style="@*android:style/TextAppearance.StatusBar.Icon"
android:id="@+id/clock"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textSize="20sp"
android:textStyle="bold"
android:padding="2dip"
android:layout_centerHorizontal="true"
/>
<TextView android:id="@+id/date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/clock"
/>
<RelativeLayout
android:layout_width="120dip"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
>
<ImageView android:id="@+id/signal_meter"
android:layout_width="96dip"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:scaleType="centerCrop"
android:src="@drawable/signal"
/>
<TextView android:id="@+id/signal_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_below="@id/signal_meter"
/>
</RelativeLayout>
</RelativeLayout>
</com.android.systemui.statusbar.tablet.SystemPanel>