diff options
author | Jim Miller <jaggies@google.com> | 2011-07-08 19:09:55 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2011-07-10 11:50:54 -0700 |
commit | 17dfec7111fcc53a4f6ae6e92b4a7f85a278fe71 (patch) | |
tree | 8df1291816db46faa915f8aef6d8c472d6ddbd4d /packages/SystemUI/res/layout-port | |
parent | b7440a140b650932bf31cf51d3b87c3249e3b682 (diff) | |
download | frameworks_base-17dfec7111fcc53a4f6ae6e92b4a7f85a278fe71.zip frameworks_base-17dfec7111fcc53a4f6ae6e92b4a7f85a278fe71.tar.gz frameworks_base-17dfec7111fcc53a4f6ae6e92b4a7f85a278fe71.tar.bz2 |
Fix 4689527: Fix positioning bug with RecentHorizontalScrollView, minor tweaks.
This fixes a bug where RecentsHorizontalScrollView wasn't scrolling to the most
recent app.
Contains some minor tweaks to the layout so that it doesn't overlap the notification
bad as well as starting alpha fades while draging items sooner.
Change-Id: I94df309673f316c55b2f44aff60fd3aee746b6de
Diffstat (limited to 'packages/SystemUI/res/layout-port')
-rw-r--r-- | packages/SystemUI/res/layout-port/status_bar_recent_panel.xml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml index 386182d..28ef239 100644 --- a/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml +++ b/packages/SystemUI/res/layout-port/status_bar_recent_panel.xml @@ -29,21 +29,17 @@ android:background="@drawable/status_bar_recents_background" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_alignParentBottom="true" - android:paddingBottom="@*android:dimen/status_bar_height" - android:clipToPadding="false" - android:clipChildren="false"> + android:layout_alignParentBottom="true"> <LinearLayout android:id="@+id/recents_glow" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="0dp" android:layout_gravity="bottom" android:orientation="horizontal" - android:clipToPadding="false" android:clipChildren="false" - > - <com.android.systemui.recent.RecentsVerticalScrollView android:id="@+id/recents_container" + android:layout_marginTop="@*android:dimen/status_bar_height"> + <com.android.systemui.recent.RecentsVerticalScrollView + android:id="@+id/recents_container" android:layout_width="@dimen/status_bar_recents_width" android:layout_height="wrap_content" android:layout_marginRight="0dp" @@ -51,7 +47,7 @@ android:stackFromBottom="true" android:fadingEdge="vertical" android:scrollbars="none" - android:fadingEdgeLength="20dip" + android:fadingEdgeLength="@*android:dimen/status_bar_height" android:listSelector="@drawable/recents_thumbnail_bg_selector" android:layout_gravity="bottom|left" android:clipToPadding="false" |