Bug 1312477 - Pre: increase touch-target size to Android UI guidelines r?sebastian
48dp is the minimum touch target size as suggested in the Android UI guidelines:
https://developer.android.com/design/patterns/accessibility.html
A similar recommendation is made in:
https://material.google.com/layout/metrics-keylines.html#metrics-keylines-touch-target-size
MozReview-Commit-ID: 9ybgjSOfD2J
--- a/mobile/android/base/resources/values/dimens.xml
+++ b/mobile/android/base/resources/values/dimens.xml
@@ -223,10 +223,10 @@
<item name="activity_stream_top_sites_text_height" type="dimen">30dp</item>
<item name="activity_stream_contextmenu_peek_height" type="dimen">380dp</item>
<!-- note: max_menu_height only affects the scrolling menu, but doesnt' take into consideration
the header above it. -->
<item name="activity_stream_contextmenu_max_menu_height" type="dimen">350dp</item>
<!-- Default touch target size for buttons/imageviews that might be of small size -->
- <item name="touch_target_size" type="dimen">40dp</item>
+ <item name="touch_target_size" type="dimen">48dp</item>
</resources>