From: Chih-Chung Chang Date: Wed, 23 May 2012 04:26:36 +0000 (-0700) Subject: Put a black View in front of SurfaceView. X-Git-Tag: android-x86-6.0-r3~2042^2~598^2~3^2~24^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1d306766046b5336d59d82c3c82f8ae6bd12cec0;p=android-x86%2Fpackages-apps-Camera2.git Put a black View in front of SurfaceView. This prevents SurfaceView from being transparent before the first draw. Bug: 6507478 Change-Id: I2170f23d4c9844bfc3854d6120f5e72cc0d591ca --- diff --git a/res/layout/cropimage.xml b/res/layout/cropimage.xml index aefebe82d..c434fb6a6 100644 --- a/res/layout/cropimage.xml +++ b/res/layout/cropimage.xml @@ -17,9 +17,5 @@ - + diff --git a/res/layout/dialog_picker.xml b/res/layout/dialog_picker.xml index ba3f500f1..4a625a10b 100644 --- a/res/layout/dialog_picker.xml +++ b/res/layout/dialog_picker.xml @@ -18,8 +18,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - diff --git a/res/layout/gl_root_group.xml b/res/layout/gl_root_group.xml new file mode 100644 index 000000000..76ff33b73 --- /dev/null +++ b/res/layout/gl_root_group.xml @@ -0,0 +1,26 @@ + + + + + + + diff --git a/res/layout/main.xml b/res/layout/main.xml index 7dfe57a2d..d36730146 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -4,14 +4,7 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - +