diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-11-29 09:48:23 +0100 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 22:00:44 +0200 |
commit | 05761473ea98482d9ae584d50eebc9bc400ea371 (patch) | |
tree | 552d139f11f2253b81dfcb11a7d6ecca76cc8e4e /res/layout/camera_controls.xml | |
parent | 988ea6adcbbacbf350c1b9d076847d10e9e389c5 (diff) | |
download | android_packages_apps_Snap-05761473ea98482d9ae584d50eebc9bc400ea371.tar.gz android_packages_apps_Snap-05761473ea98482d9ae584d50eebc9bc400ea371.tar.bz2 android_packages_apps_Snap-05761473ea98482d9ae584d50eebc9bc400ea371.zip |
Fix some photo UI layout issues.
Change-Id: I04a68fe2e379db4a228d19cbe6444a10a8024ce0
Diffstat (limited to 'res/layout/camera_controls.xml')
-rw-r--r-- | res/layout/camera_controls.xml | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/res/layout/camera_controls.xml b/res/layout/camera_controls.xml index 1d1314eac..04c2f9e46 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 |