diff options
author | Owen Lin <owenlin@google.com> | 2012-05-15 17:52:09 -0700 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-05-17 10:07:53 -0700 |
commit | 7896b2ce915cbd180682e94e2fe3d246ff760763 (patch) | |
tree | fc413ee43297253f214dfcc974605dda878455df /src/com/android/gallery3d/app/AbstractGalleryActivity.java | |
parent | b4e38c9a5945b9651dca1b2b8fe6e0e2833c0fa6 (diff) | |
download | android_packages_apps_Gallery2-7896b2ce915cbd180682e94e2fe3d246ff760763.tar.gz android_packages_apps_Gallery2-7896b2ce915cbd180682e94e2fe3d246ff760763.tar.bz2 android_packages_apps_Gallery2-7896b2ce915cbd180682e94e2fe3d246ff760763.zip |
Set the window backgrond and remove it in onCreate().
To have better transistion when launching the app.
bug: 6494653
Change-Id: I0f28796d599931c676c99e8f19a9f34e05018570
Diffstat (limited to 'src/com/android/gallery3d/app/AbstractGalleryActivity.java')
-rw-r--r-- | src/com/android/gallery3d/app/AbstractGalleryActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java index 2c63e3409..4ee740360 100644 --- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java +++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java @@ -61,6 +61,7 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity super.onCreate(savedInstanceState); mOrientationManager = new OrientationManager(this); toggleStatusBarByOrientation(); + getWindow().setBackgroundDrawable(null); } @Override |