diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-09-19 17:16:38 -0700 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-09-20 14:00:57 -0700 |
commit | df41c36076dce8d68bcb69bc922b057c1bd82ee0 (patch) | |
tree | a927149819fc4adf44c36f55f6fa92919d6b296b /AndroidManifest.xml | |
parent | ed5ca72866c13c7916fe8a05d5324d9646fc4231 (diff) | |
download | LegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.tar.gz LegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.tar.bz2 LegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.zip |
Use theme to display background to reduce perceived latency.
Now system picks up the camera background as soon as the app
starts. Originally users would see the app startup with the
default theme and its dark background. The camera background
would only appear after the inflation of the content view
and the first layout/drawing pass.
Change-Id: I9003b37b1a958c78f5fd804de9fedeb23bd90fc9
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9cdd7794..14bf99e3 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -27,7 +27,7 @@ </receiver> <activity android:name="com.android.camera.Camera" android:configChanges="orientation|keyboardHidden" - android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" + android:theme="@style/ThemeCamera" android:screenOrientation="landscape" android:clearTaskOnLaunch="true" android:taskAffinity="android.task.camera"> @@ -49,7 +49,7 @@ android:label="@string/video_camera_label" android:configChanges="orientation|keyboardHidden" android:icon="@drawable/ic_launcher_video_camera" - android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" + android:theme="@style/ThemeCamera" android:screenOrientation="landscape" android:clearTaskOnLaunch="true" android:taskAffinity="android.task.camcorder"> |