diff options
author | Martijn Coenen <maco@google.com> | 2011-11-03 17:24:54 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2011-11-03 17:42:31 -0700 |
commit | d59b331655f0113dc0454aa5d000b269d7cf8b49 (patch) | |
tree | 069c97390cb795e3b91662b31a82370dbb3ebaf4 /res | |
parent | e3cfbec7045220294c172d55122daf55ab6cb058 (diff) | |
download | packages_apps_nfc-d59b331655f0113dc0454aa5d000b269d7cf8b49.zip packages_apps_nfc-d59b331655f0113dc0454aa5d000b269d7cf8b49.tar.gz packages_apps_nfc-d59b331655f0113dc0454aa5d000b269d7cf8b49.tar.bz2 |
Remove static background image from Beam when no hw-acceleration.
The Beam scale down animation on is really jerky on devices where
we can't use hardware acceleration. This seems to be due the fact
that we have a static background over which we scale. Removing it
makes the scaling nice and smooth.
Bug: 5567020
Change-Id: Id04bae45713eaa368d03001e5352271f47d26603
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/back.png | bin | 32598 -> 0 bytes | |||
-rw-r--r-- | res/layout/screenshot.xml | 9 |
2 files changed, 1 insertions, 8 deletions
diff --git a/res/drawable-hdpi/back.png b/res/drawable-hdpi/back.png Binary files differdeleted file mode 100644 index dcad41d..0000000 --- a/res/drawable-hdpi/back.png +++ /dev/null diff --git a/res/layout/screenshot.xml b/res/layout/screenshot.xml index 2e12a59..24a3a71 100644 --- a/res/layout/screenshot.xml +++ b/res/layout/screenshot.xml @@ -22,14 +22,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" /> - <ImageView android:id="@+id/back" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:adjustViewBounds="true" - android:src="@drawable/back" - android:scaleType="centerCrop" - android:visibility="gone" - /> + <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" |