summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-04-02 17:48:56 -0700
committerDoris Liu <tianliu@google.com>2013-04-03 13:32:48 -0700
commit048a61c7ab3f63688faeb39c253251e58f30c5f8 (patch)
treeabd8f59f117c962f7a51e5010b7d455be8a53cd1 /res
parent8ce4df0105e645aed8503c3f03c98c208621911d (diff)
downloadandroid_packages_apps_Gallery2-048a61c7ab3f63688faeb39c253251e58f30c5f8.tar.gz
android_packages_apps_Gallery2-048a61c7ab3f63688faeb39c253251e58f30c5f8.tar.bz2
android_packages_apps_Gallery2-048a61c7ab3f63688faeb39c253251e58f30c5f8.zip
Improve black bar to keep camera controls in place
Bug: 8340996 Change-Id: Ibca4a9f1ed84bd59e29cc988df346f1567de2a5b
Diffstat (limited to 'res')
-rw-r--r--res/layout-land/camera_controls.xml6
-rw-r--r--res/layout-port/camera_controls.xml6
-rw-r--r--res/layout/camera_main.xml5
3 files changed, 9 insertions, 8 deletions
diff --git a/res/layout-land/camera_controls.xml b/res/layout-land/camera_controls.xml
index f090e3d54..59a83e008 100644
--- a/res/layout-land/camera_controls.xml
+++ b/res/layout-land/camera_controls.xml
@@ -13,13 +13,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<com.android.camera.ui.RotatableLayout
+<com.android.camera.ui.CameraControls
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/camera_controls"
style="@style/CameraControls"
android:layout_gravity="center" >
- <com.android.camera.ui.SwitcherBackgroundView
+ <View
android:id="@+id/blocker"
android:layout_height="match_parent"
android:layout_width="@dimen/switcher_size"
@@ -58,4 +58,4 @@
android:focusable="true"
android:scaleType="center"
android:src="@drawable/btn_new_shutter" />
-</com.android.camera.ui.RotatableLayout>
+</com.android.camera.ui.CameraControls>
diff --git a/res/layout-port/camera_controls.xml b/res/layout-port/camera_controls.xml
index 7a1221782..e3fdce88a 100644
--- a/res/layout-port/camera_controls.xml
+++ b/res/layout-port/camera_controls.xml
@@ -13,13 +13,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<com.android.camera.ui.RotatableLayout
+<com.android.camera.ui.CameraControls
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/camera_controls"
style="@style/CameraControls"
android:layout_gravity="center" >
- <com.android.camera.ui.SwitcherBackgroundView
+ <View
android:id="@+id/blocker"
android:layout_width="match_parent"
android:layout_height="@dimen/switcher_size"
@@ -59,4 +59,4 @@
android:scaleType="center"
android:src="@drawable/btn_new_shutter" />
-</com.android.camera.ui.RotatableLayout> \ No newline at end of file
+</com.android.camera.ui.CameraControls> \ No newline at end of file
diff --git a/res/layout/camera_main.xml b/res/layout/camera_main.xml
index 710e69dbf..fe5913427 100644
--- a/res/layout/camera_main.xml
+++ b/res/layout/camera_main.xml
@@ -13,7 +13,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.camera.ui.CameraRootView
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="match_parent" >
@@ -29,4 +30,4 @@
style="@style/CameraControls"
android:layout_centerInParent="true" />
-</RelativeLayout> \ No newline at end of file
+</com.android.camera.ui.CameraRootView> \ No newline at end of file