summaryrefslogtreecommitdiffstats
path: root/res/layout/camera_controls.xml
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-11-29 09:48:23 +0100
committerMichael Bestas <mikeioannina@gmail.com>2016-12-23 00:32:29 -0800
commit1e7ddd0240e6d6e018bcc39d4c6cd1257388eee6 (patch)
tree90e0a99d4edb163f14bfb333e1c1b3f3f444d25d /res/layout/camera_controls.xml
parent5586581050bcb045d6463d97b3f6d11f62454639 (diff)
downloadandroid_packages_apps_Snap-1e7ddd0240e6d6e018bcc39d4c6cd1257388eee6.zip
android_packages_apps_Snap-1e7ddd0240e6d6e018bcc39d4c6cd1257388eee6.tar.gz
android_packages_apps_Snap-1e7ddd0240e6d6e018bcc39d4c6cd1257388eee6.tar.bz2
Fix some photo UI layout issues.
Change-Id: I04a68fe2e379db4a228d19cbe6444a10a8024ce0
Diffstat (limited to 'res/layout/camera_controls.xml')
-rw-r--r--res/layout/camera_controls.xml30
1 files changed, 17 insertions, 13 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml
index 1d1314e..04c2f9e 100644
--- a/res/layout/camera_controls.xml
+++ b/res/layout/camera_controls.xml
@@ -76,15 +76,15 @@
android:background="@drawable/camera_controls_bg_opaque"
android:orientation="horizontal">
- <com.android.camera.ui.RotateImageView
- android:id="@+id/preview_thumb"
+ <com.android.camera.ui.RotateImageView
+ android:id="@+id/preview_thumb"
android:layout_width="0dp"
android:layout_height="@dimen/thumbnail_size"
- android:layout_weight="25"
+ android:layout_weight="25"
android:layout_gravity="center_horizontal|center_vertical"
- android:background="@android:color/transparent"
- android:contentDescription="@string/switch_photo_filmstrip"
- android:scaleType="fitCenter" />
+ android:background="@android:color/transparent"
+ android:contentDescription="@string/switch_photo_filmstrip"
+ android:scaleType="fitCenter" />
<LinearLayout
android:layout_width="0dp"
@@ -118,15 +118,19 @@
</LinearLayout>
- <com.android.camera.ui.ModuleSwitcher
- android:id="@+id/camera_switcher"
- style="@style/SwitcherButton"
+ <FrameLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:scaleType="center"
- android:layout_weight="25"
- android:layout_gravity="center_horizontal|center_vertical"
- android:contentDescription="@string/accessibility_mode_picker" />
+ android:layout_weight="25">
+
+ <com.android.camera.ui.ModuleSwitcher
+ android:id="@+id/camera_switcher"
+ style="@style/SwitcherButton"
+ android:layout_gravity="center"
+ android:scaleType="center"
+ android:contentDescription="@string/accessibility_mode_picker" />
+ </FrameLayout>
+
</LinearLayout>
<LinearLayout