summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-03-06 03:46:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-03-06 03:46:53 +0000
commit9a9dba70e7aa9f5cae7838d9ec11e142b346d78b (patch)
tree6cae72d0a8c69c7de29f56be24bb68fc4871515c /res/layout-land
parentdd26ed4af3d9575e7dae882ee0304fc50b463f55 (diff)
parentb9f88b9c12a3d0b33120321349f8f662d0fda217 (diff)
downloadandroid_packages_apps_Snap-9a9dba70e7aa9f5cae7838d9ec11e142b346d78b.tar.gz
android_packages_apps_Snap-9a9dba70e7aa9f5cae7838d9ec11e142b346d78b.tar.bz2
android_packages_apps_Snap-9a9dba70e7aa9f5cae7838d9ec11e142b346d78b.zip
Merge "Keep camera controls on the same physical side" into gb-ub-photos-bryce
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/camera_controls.xml44
1 files changed, 16 insertions, 28 deletions
diff --git a/res/layout-land/camera_controls.xml b/res/layout-land/camera_controls.xml
index a909c5132..f0f3ecca2 100644
--- a/res/layout-land/camera_controls.xml
+++ b/res/layout-land/camera_controls.xml
@@ -13,21 +13,16 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.android.camera.ui.RotatableLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/camera_controls"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <com.android.camera.ui.RotatableLayout
- style="@style/CameraControls"
- android:id="@+id/menu_button"
- android:layout_gravity="center" >
+ style="@style/CameraControls"
+ android:layout_gravity="center" >
<View
android:id="@+id/blocker"
android:layout_height="match_parent"
android:layout_width="@dimen/switcher_size"
- android:background="@drawable/switcher_bg"
android:clickable="true"
android:layout_gravity="right" />
@@ -44,30 +39,23 @@
android:contentDescription="@string/accessibility_menu_button"
android:layout_gravity="right|top"
android:layout_marginRight="2dip" />
- </com.android.camera.ui.RotatableLayout>
- <com.android.camera.ui.RotatableLayout
- style="@style/CameraControls"
- android:id="@+id/switcher_control"
- android:layout_gravity="right|center_horizontal" >
<com.android.camera.ui.CameraSwitcher
android:id="@+id/camera_switcher"
style="@style/SwitcherButton"
android:layout_gravity="right|bottom"
android:layout_marginRight="2dip"
android:contentDescription="@string/accessibility_mode_picker" />
- </com.android.camera.ui.RotatableLayout>
-
- <com.android.camera.ShutterButton
- android:id="@+id/shutter_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right|center_vertical"
- android:layout_marginRight="@dimen/shutter_offset"
- android:clickable="true"
- android:contentDescription="@string/accessibility_shutter_button"
- android:focusable="true"
- android:scaleType="center"
- android:src="@drawable/btn_new_shutter" />
-</FrameLayout> \ No newline at end of file
+ <com.android.camera.ShutterButton
+ android:id="@+id/shutter_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="right|center_vertical"
+ android:layout_marginRight="@dimen/shutter_offset"
+ android:clickable="true"
+ android:contentDescription="@string/accessibility_shutter_button"
+ android:focusable="true"
+ android:scaleType="center"
+ android:src="@drawable/btn_new_shutter" />
+</com.android.camera.ui.RotatableLayout>