diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-08-17 16:20:47 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-08-17 17:45:05 -0700 |
commit | fc8fa638617efb5695a1f89ea75375faebbe2a40 (patch) | |
tree | 685aeed4995ea17399accf5d46545038235d5105 /packages/SystemUI/res/layout-port | |
parent | 9a5505f0253a9114aea6192a22da6ec1c1b85ed2 (diff) | |
download | frameworks_base-fc8fa638617efb5695a1f89ea75375faebbe2a40.zip frameworks_base-fc8fa638617efb5695a1f89ea75375faebbe2a40.tar.gz frameworks_base-fc8fa638617efb5695a1f89ea75375faebbe2a40.tar.bz2 |
Fix issue #5128639: SystemUI grows by 10MB after taking a screenshot
We now do the screenshot in a separate process.
Also change the recents panel to not use hardware acceleration
on lower-end devices. And improve how it gets shown to not
load all data up-front which results in a long delay when you have
lots of recents.
Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a
Diffstat (limited to 'packages/SystemUI/res/layout-port')
-rw-r--r-- | packages/SystemUI/res/layout-port/status_bar_recent_item.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout-port/status_bar_recent_item.xml b/packages/SystemUI/res/layout-port/status_bar_recent_item.xml index c705a69..c0fce71 100644 --- a/packages/SystemUI/res/layout-port/status_bar_recent_item.xml +++ b/packages/SystemUI/res/layout-port/status_bar_recent_item.xml @@ -32,8 +32,14 @@ android:clickable="true" android:layout_marginLeft="@dimen/status_bar_recents_thumbnail_left_margin" android:scaleType="center" - android:background="@drawable/recents_thumbnail_layers" - /> + android:background="@drawable/recents_thumbnail_bg" + android:foreground="@drawable/recents_thumbnail_overlay"> + <ImageView android:id="@+id/app_thumbnail_image" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="invisible" + /> + </FrameLayout> <ImageView android:id="@+id/app_icon" android:layout_width="wrap_content" |