summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-01-14 13:26:17 +0100
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-01-15 16:34:49 -0800
commit44cfc318abd5ffaca40b88215e5f2834c4b1bf68 (patch)
treee3fcdfb4a70306f3fb27f13737115d071916314c
parent3b96d3272db9d0cbab7f307e2e1d66ec373944a7 (diff)
downloadandroid_packages_apps_Snap-44cfc318abd5ffaca40b88215e5f2834c4b1bf68.zip
android_packages_apps_Snap-44cfc318abd5ffaca40b88215e5f2834c4b1bf68.tar.gz
android_packages_apps_Snap-44cfc318abd5ffaca40b88215e5f2834c4b1bf68.tar.bz2
Don't needlessly make menu button larger than the other toggle buttons.
Change-Id: Iebe831d3933b8738fded74db5c0304a06ddaa448
-rw-r--r--res/layout-port/camera_controls.xml2
-rw-r--r--res/values/dimens.xml2
-rw-r--r--res/values/styles.xml5
3 files changed, 1 insertions, 8 deletions
diff --git a/res/layout-port/camera_controls.xml b/res/layout-port/camera_controls.xml
index a088241..e655678 100644
--- a/res/layout-port/camera_controls.xml
+++ b/res/layout-port/camera_controls.xml
@@ -80,7 +80,7 @@
<com.android.camera.ui.RotateImageView
android:id="@+id/menu"
- style="@style/MenuButton"
+ style="@style/ToggleButton"
android:contentDescription="@string/accessibility_menu_button"
android:src="@drawable/ic_settings" />
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index d0c263e..15dca9d 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -92,8 +92,6 @@
<dimen name="focus_inner_stroke">2dp</dimen>
<dimen name="zoom_ring_min">48dp</dimen>
<dimen name="switcher_size">72dp</dimen>
- <dimen name="menu_size">52dp</dimen>
- <dimen name="menu_outer_size">80dp</dimen>
<dimen name="toggle_size">30dp</dimen>
<dimen name="toggle_outer_size">60dp</dimen>
<dimen name="face_circle_stroke">2dip</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index d014382..e042260 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -248,11 +248,6 @@
<item name="android:layout_height">@dimen/switcher_size</item>
<item name="android:background">@drawable/bg_pressed_exit_fading</item>
</style>
- <style name="MenuButton">
- <item name="android:layout_width">@dimen/menu_outer_size</item>
- <item name="android:layout_height">@dimen/menu_outer_size</item>
- <item name="android:scaleType">center</item>
- </style>
<style name="ToggleButton">
<item name="android:layout_width">@dimen/toggle_outer_size</item>
<item name="android:layout_height">@dimen/toggle_outer_size</item>