diff options
author | Jim Miller <jaggies@google.com> | 2011-03-02 20:49:31 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-02 20:49:31 -0800 |
commit | d544fdc64b77c6a94c65d1f3ea876a2ebc5c4791 (patch) | |
tree | 32c4591c7c1c890560bd4542ee72d5fcb5dc24a9 /packages | |
parent | 55acdf7dcd0cf5b9aacfe48808e98056c7d60e5b (diff) | |
parent | 67edceb096d5a49c79183102b8e22d9e6ba97da5 (diff) | |
download | frameworks_base-d544fdc64b77c6a94c65d1f3ea876a2ebc5c4791.zip frameworks_base-d544fdc64b77c6a94c65d1f3ea876a2ebc5c4791.tar.gz frameworks_base-d544fdc64b77c6a94c65d1f3ea876a2ebc5c4791.tar.bz2 |
Merge "Fix 3504984: Use overscroll fade in Recents."
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java index 1135b73..737a52b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/RecentAppsPanel.java @@ -362,6 +362,9 @@ public class RecentAppsPanel extends RelativeLayout implements StatusBarPanel, O mRecentsContainer.addFooterView(footer, null, false); mRecentsContainer.setAdapter(mListAdapter = new ActvityDescriptionAdapter(mContext)); mRecentsContainer.setOnItemClickListener(this); + final int leftPadding = mContext.getResources() + .getDimensionPixelOffset(R.dimen.status_bar_recents_thumbnail_left_margin); + mRecentsContainer.setOverScrollEffectPadding(leftPadding, 0); mRecentsGlowView = findViewById(R.id.recents_glow); mRecentsScrim = (View) findViewById(R.id.recents_bg_protect); |