diff options
| author | Peter Ng <petergng@google.com> | 2011-10-12 15:49:39 -0700 |
|---|---|---|
| committer | Peter Ng <petergng@google.com> | 2011-10-14 12:37:42 -0700 |
| commit | 2d136a83a012f8a27aee0300d264243728d12611 (patch) | |
| tree | e9240f43d7412263ed9c0e7330f2b00f497ed1ac /packages/SystemUI/res/layout-land | |
| parent | dcb4e158bcddb8266afaf863ae8832b92bed62a7 (diff) | |
| download | frameworks_base-2d136a83a012f8a27aee0300d264243728d12611.zip frameworks_base-2d136a83a012f8a27aee0300d264243728d12611.tar.gz frameworks_base-2d136a83a012f8a27aee0300d264243728d12611.tar.bz2 | |
Layout changes to recents
Bug: 5411813
-gravity is set to center
-textsize is smaller
-app icon placement now hangs off the screenshot
-recents callout line now defined in colors
-recents thumbnail normal state drawable added
Change-Id: Ibeaec7e3f0a3bcdbe3f990886b1536cb7d7fdc03
Diffstat (limited to 'packages/SystemUI/res/layout-land')
| -rw-r--r-- | packages/SystemUI/res/layout-land/status_bar_recent_item.xml | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml index 58355bd..83c4faf 100644 --- a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml +++ b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml @@ -26,16 +26,17 @@ android:paddingRight="@dimen/status_bar_recents_item_padding"> <RelativeLayout android:id="@+id/recent_item" - android:layout_gravity="bottom" + android:layout_gravity="center_vertical" android:layout_height="wrap_content" android:layout_width="wrap_content" - android:paddingBottom="@*android:dimen/status_bar_height"> + android:paddingTop="@*android:dimen/status_bar_height"> <FrameLayout android:id="@+id/app_thumbnail" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" + android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:background="@drawable/recents_thumbnail_bg" android:foreground="@drawable/recents_thumbnail_fg"> @@ -44,19 +45,22 @@ android:layout_height="@dimen/status_bar_recents_thumbnail_height" android:visibility="invisible" /> - - <ImageView android:id="@+id/app_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" - android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" - android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" - android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" - android:adjustViewBounds="true" - android:visibility="invisible" - /> </FrameLayout> + <ImageView android:id="@+id/app_icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" + android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" + android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" + android:scaleType="centerInside" + android:adjustViewBounds="true" + android:visibility="invisible" + /> + <TextView android:id="@+id/app_label" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" @@ -67,6 +71,7 @@ android:layout_alignLeft="@id/app_thumbnail" android:layout_below="@id/app_thumbnail" android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" + android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:singleLine="true" android:ellipsize="marquee" android:visibility="invisible" |
