summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout-xlarge/status_bar_center.xml
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@google.com>2010-08-24 16:24:35 -0400
committerDaniel Sandler <dsandler@google.com>2010-08-25 16:36:30 -0400
commit764b4da4a8c3e2aecbfd5d7209c5d30cecac75d2 (patch)
tree375aacfb0b33d67d0de108e5debd91968ce5b48b /packages/SystemUI/res/layout-xlarge/status_bar_center.xml
parent3c1fbf7ad2766a2942c326abd6692286949aee2f (diff)
downloadframeworks_base-764b4da4a8c3e2aecbfd5d7209c5d30cecac75d2.zip
frameworks_base-764b4da4a8c3e2aecbfd5d7209c5d30cecac75d2.tar.gz
frameworks_base-764b4da4a8c3e2aecbfd5d7209c5d30cecac75d2.tar.bz2
System bar improvements.
- Updated artwork for buttons and signal/battery meters. - Layout change: meters on either side of clock - RSSI for mobile data. The algorithm is more or less the same as the one used in the phone status bar. Note that mobile data is only shown if Wi-Fi is unavailable. Bug: 2924643 Change-Id: Idaa0c52422db4a63616475bde96626d1953830b4
Diffstat (limited to 'packages/SystemUI/res/layout-xlarge/status_bar_center.xml')
-rw-r--r--packages/SystemUI/res/layout-xlarge/status_bar_center.xml23
1 files changed, 11 insertions, 12 deletions
diff --git a/packages/SystemUI/res/layout-xlarge/status_bar_center.xml b/packages/SystemUI/res/layout-xlarge/status_bar_center.xml
index 775fea0..5bf8316 100644
--- a/packages/SystemUI/res/layout-xlarge/status_bar_center.xml
+++ b/packages/SystemUI/res/layout-xlarge/status_bar_center.xml
@@ -18,8 +18,8 @@
<RelativeLayout android:id="@+id/systemInfo"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
- android:layout_width="100dip"
- android:layout_height="wrap_content"
+ android:layout_width="160dip"
+ android:layout_height="match_parent"
android:layout_centerInParent="true"
android:clickable="true"
android:onClick="systemInfoClicked"
@@ -27,8 +27,9 @@
<com.android.systemui.statusbar.Clock
style="@*android:style/TextAppearance.StatusBar.Icon"
android:id="@+id/clock"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_width="64dip"
+ android:layout_height="48dip"
+ android:layout_centerInParent="true"
android:singleLine="true"
android:gravity="center"
android:textSize="16sp"
@@ -37,18 +38,16 @@
/>
<ImageView
android:id="@+id/battery"
- android:layout_width="50dip"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@id/clock"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
+ android:layout_toLeftOf="@id/clock"
android:src="@drawable/battery"
/>
<ImageView
android:id="@+id/signal"
- android:layout_width="50dip"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_below="@id/clock"
+ android:layout_width="48dip"
+ android:layout_height="48dip"
+ android:layout_toRightOf="@id/clock"
android:src="@drawable/signal"
/>
</RelativeLayout>