summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-09-19 17:16:38 -0700
committerWu-cheng Li <wuchengli@google.com>2010-09-20 14:00:57 -0700
commitdf41c36076dce8d68bcb69bc922b057c1bd82ee0 (patch)
treea927149819fc4adf44c36f55f6fa92919d6b296b /res/layout
parented5ca72866c13c7916fe8a05d5324d9646fc4231 (diff)
downloadLegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.zip
LegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.tar.gz
LegacyCamera-df41c36076dce8d68bcb69bc922b057c1bd82ee0.tar.bz2
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 'res/layout')
-rw-r--r--res/layout/camera.xml1
-rw-r--r--res/layout/video_camera.xml1
2 files changed, 0 insertions, 2 deletions
diff --git a/res/layout/camera.xml b/res/layout/camera.xml
index 772106b..182084a 100644
--- a/res/layout/camera.xml
+++ b/res/layout/camera.xml
@@ -16,7 +16,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
- android:background="@drawable/camera_background"
android:id="@+id/camera"
android:orientation="horizontal"
android:layout_width="match_parent"
diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml
index 82d1dc9..1dae598 100644
--- a/res/layout/video_camera.xml
+++ b/res/layout/video_camera.xml
@@ -17,7 +17,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
android:id="@+id/video_camera"
- android:background="@drawable/camera_background"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">