Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru
authorAdam Orban <adam.orban@softvision.ro>
Thu, 16 May 2019 06:47:23 +0000
changeset 474040 4a49d2484923003962d44d7a09aa057bc3f578c7
parent 474039 38b3d475e3c1592b5e27ba53f377671887d9a9d9
child 474041 1e82c40506077c6d5864a658b3585b0b2f2d8631
push id36022
push userncsoregi@mozilla.com
push dateThu, 16 May 2019 21:55:16 +0000
treeherdermozilla-central@96802be91766 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspetru
bugs1179266
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1179266 - [Tablet] Fix Android L "share" list item in long press context menu; r=petru Differential Revision: https://phabricator.services.mozilla.com/D31392
mobile/android/app/src/main/res/values-sw400dp-v21/dimens.xml
mobile/android/app/src/main/res/values-sw400dp/dimens.xml
mobile/android/app/src/main/res/values-sw720dp-v21/dimens.xml
mobile/android/app/src/main/res/values-sw720dp/dimens.xml
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/values-sw400dp-v21/dimens.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+    <dimen name="tab_panel_item_width_autofit">176dip</dimen>
+    <dimen name="tab_thumbnail_width">137dip</dimen>
+    <dimen name="context_menu_item_horizontal_padding">17dp</dimen>
+</resources>
--- a/mobile/android/app/src/main/res/values-sw400dp/dimens.xml
+++ b/mobile/android/app/src/main/res/values-sw400dp/dimens.xml
@@ -2,9 +2,10 @@
 
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <resources>
     <dimen name="tab_panel_item_width_autofit">176dip</dimen>
     <dimen name="tab_thumbnail_width">137dip</dimen>
+    <dimen name="context_menu_item_horizontal_padding">10dp</dimen>
 </resources>
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/values-sw720dp-v21/dimens.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+    <dimen name="tab_panel_item_width_autofit">176dip</dimen>
+    <dimen name="tab_thumbnail_width">137dip</dimen>
+    <dimen name="context_menu_item_horizontal_padding">25dp</dimen>
+</resources>
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/values-sw720dp/dimens.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+   - License, v. 2.0. If a copy of the MPL was not distributed with this
+   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+    <dimen name="tab_panel_item_width_autofit">176dip</dimen>
+    <dimen name="tab_thumbnail_width">137dip</dimen>
+    <dimen name="context_menu_item_horizontal_padding">10dp</dimen>
+</resources>