diff options
author | Joe Onorato <joeo@google.com> | 2010-11-17 20:43:12 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2010-11-17 23:14:57 -0800 |
commit | 4daaeafd278d22ec9013d1cdaade562044ee907e (patch) | |
tree | 9dcb03b4a67b3c26df109b95e9d52e71180a1d27 /packages/SystemUI/res/layout-xlarge | |
parent | e70b375c4b9d73d1165a21a421cfd73170cd06cc (diff) | |
download | frameworks_base-4daaeafd278d22ec9013d1cdaade562044ee907e.zip frameworks_base-4daaeafd278d22ec9013d1cdaade562044ee907e.tar.gz frameworks_base-4daaeafd278d22ec9013d1cdaade562044ee907e.tar.bz2 |
Status bar formatting tweaks
Change-Id: Icb6c8d87e109d9e133e86b0fdb7bea12fe376d92
Diffstat (limited to 'packages/SystemUI/res/layout-xlarge')
3 files changed, 27 insertions, 28 deletions
diff --git a/packages/SystemUI/res/layout-xlarge/status_bar.xml b/packages/SystemUI/res/layout-xlarge/status_bar.xml index ddb5bb9..b8b8bdd 100644 --- a/packages/SystemUI/res/layout-xlarge/status_bar.xml +++ b/packages/SystemUI/res/layout-xlarge/status_bar.xml @@ -28,18 +28,6 @@ android:animateLayoutChanges="false" > - <!-- ticker: transient incoming notification information --> - <FrameLayout - android:id="@+id/ticker" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_alignParentRight="true" - android:layout_toRightOf="@+id/systemInfo" - android:paddingLeft="6dip" - android:gravity="center_vertical" - android:animateLayoutChanges="true" - /> - <!-- notification icons & panel access --> <LinearLayout android:id="@+id/notificationArea" @@ -242,5 +230,17 @@ android:visibility="gone" /> + <!-- ticker: transient incoming notification information --> + <FrameLayout + android:id="@+id/ticker" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + android:layout_toRightOf="@+id/systemInfo" + android:paddingLeft="6dip" + android:gravity="center_vertical" + android:animateLayoutChanges="true" + /> + </RelativeLayout> </com.android.systemui.statusbar.tablet.TabletStatusBarView> diff --git a/packages/SystemUI/res/layout-xlarge/status_bar_latest_event.xml b/packages/SystemUI/res/layout-xlarge/status_bar_latest_event.xml index 049a1cc..b6679a5 100644 --- a/packages/SystemUI/res/layout-xlarge/status_bar_latest_event.xml +++ b/packages/SystemUI/res/layout-xlarge/status_bar_latest_event.xml @@ -1,36 +1,35 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="65sp" - android:orientation="vertical" - android:background="@android:drawable/status_bar_item_background" + android:layout_height="65dp" + android:background="@drawable/status_bar_item_background" > <ImageButton android:id="@+id/veto" - android:layout_width="wrap_content" + android:layout_width="48dp" android:layout_height="match_parent" android:layout_centerVertical="true" android:layout_alignParentRight="true" android:src="@drawable/status_bar_veto" android:scaleType="center" - android:background="@null" - android:paddingLeft="16dip" - android:paddingRight="16dip" + android:background="#ff000000" /> <com.android.systemui.statusbar.LatestItemView android:id="@+id/content" + android:layout_width="wrap_content" + android:layout_height="64sp" android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" android:layout_toLeftOf="@id/veto" - android:layout_width="match_parent" - android:layout_height="64sp" + android:layout_marginLeft="16dp" android:focusable="true" android:clickable="true" - android:paddingRight="6sp" /> <View android:layout_width="match_parent" - android:layout_height="1sp" + android:layout_height="1dp" + android:layout_marginLeft="16dp" android:layout_alignParentBottom="true" android:background="@android:drawable/divider_horizontal_dark" /> diff --git a/packages/SystemUI/res/layout-xlarge/sysbar_panel_notifications.xml b/packages/SystemUI/res/layout-xlarge/sysbar_panel_notifications.xml index 287b46f..186aa64 100644 --- a/packages/SystemUI/res/layout-xlarge/sysbar_panel_notifications.xml +++ b/packages/SystemUI/res/layout-xlarge/sysbar_panel_notifications.xml @@ -22,10 +22,9 @@ <com.android.systemui.statusbar.tablet.NotificationPanel xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" - android:layout_width="wrap_content" + android:layout_width="540dp" android:animateLayoutChanges="true" android:background="@drawable/bg_scrim_notification" - android:paddingLeft="140dp" android:paddingBottom="32dp" > @@ -34,10 +33,11 @@ android:layout_height="wrap_content" android:layout_width="384dp" android:layout_above="@+id/content_frame" - android:layout_marginLeft="16dp" + android:layout_marginLeft="24dp" android:paddingBottom="16dp" android:orientation="vertical" android:animateLayoutChanges="true" + android:layout_alignParentRight="true" > <com.android.systemui.statusbar.policy.Clock @@ -128,8 +128,9 @@ <FrameLayout android:id="@+id/content_frame" android:layout_height="wrap_content" - android:layout_width="400dp" + android:layout_width="408dp" android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" > <ScrollView android:id="@+id/notificationScroller" @@ -144,7 +145,6 @@ android:animateLayoutChanges="true" android:animationCache="false" android:orientation="vertical" - android:background="@drawable/status_bar_background" android:clickable="true" android:focusable="true" android:descendantFocusability="afterDescendants" |