Bug 1398361 - as_contextmenu_divider: Remove symlink and move ltr drawable from drawable-ldlrtl/ to drawable/. r=mcomella
authorSebastian Kaspari <s.kaspari@gmail.com>
Wed, 13 Sep 2017 21:03:23 +0200
changeset 430246 a9e97f048dfff64219ca54be407d98e86721004c
parent 430245 77a524d860a0c2acddbcfe823bf60b6249d42c99
child 430247 fc25613b26e0fb14544fecf803c7645d43407393
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmcomella
bugs1398361
milestone57.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 1398361 - as_contextmenu_divider: Remove symlink and move ltr drawable from drawable-ldlrtl/ to drawable/. r=mcomella MozReview-Commit-ID: 4rVUdSxbU89
mobile/android/app/src/main/res/drawable-ldltr/as_contextmenu_divider.xml
mobile/android/app/src/main/res/drawable-ldrtl/as_contextmenu_divider.xml
mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml
mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
deleted file mode 120000
--- a/mobile/android/app/src/main/res/drawable-ldltr/as_contextmenu_divider.xml
+++ /dev/null
@@ -1,1 +0,0 @@
-../drawable/as_contextmenu_divider_helper.xml
\ No newline at end of file
--- a/mobile/android/app/src/main/res/drawable-ldrtl/as_contextmenu_divider.xml
+++ b/mobile/android/app/src/main/res/drawable-ldrtl/as_contextmenu_divider.xml
@@ -1,10 +1,12 @@
 <?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/. -->
-
-
-<rotate xmlns:android="http://schemas.android.com/apk/res/android"
-        android:fromDegrees="180"
-        android:toDegrees="0"
-        android:drawable="@drawable/as_contextmenu_divider_helper" />
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+    android:insetRight="72dp">
+    <shape>
+        <size
+            android:height="1dp"/>
+        <solid android:color="@color/disabled_grey"/>
+    </shape>
+</inset>
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml
@@ -0,0 +1,12 @@
+<?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/. -->
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
+    android:insetLeft="72dp">
+    <shape>
+        <size
+            android:height="1dp"/>
+        <solid android:color="@color/disabled_grey"/>
+    </shape>
+</inset>
deleted file mode 100644
--- a/mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?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/. -->
-
-<!-- This is the (ltr) divider used in the Activity Stream context menu,
-     and is used as a helper to be mirrored in
-     drawable-ldrtl/as_contextmenu_divider.xml for rtl layouts. -->
-<inset xmlns:android="http://schemas.android.com/apk/res/android"
-       android:insetLeft="72dp">
-    <shape>
-        <size
-            android:height="1dp"/>
-        <solid android:color="@color/disabled_grey"/>
-    </shape>
-</inset>