Bug 1398361 - as_contextmenu_divider: Remove symlink and move ltr drawable from drawable-ldlrtl/ to drawable/. r?mcomella draft
authorSebastian Kaspari <s.kaspari@gmail.com>
Wed, 13 Sep 2017 21:03:23 +0200
changeset 664232 f0643f32af37959224a4a6ebdf9dc6b6bf50d37e
parent 663831 1888ec2f277f6bb26271b8808e08914a21db9efe
child 731390 703557dfdd768ee145e3cf1b5cea0a5452b8cfd7
push id79640
push users.kaspari@gmail.com
push dateWed, 13 Sep 2017 19:31:21 +0000
reviewersmcomella
bugs1398361
milestone57.0a1
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>