Bug 1337407 - Add rtl divider resource. r?mcomella
MozReview-Commit-ID: 8ALzaHfRX4h
new file mode 120000
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable-ldltr/as_contextmenu_divider.xml
@@ -0,0 +1,1 @@
+../drawable/as_contextmenu_divider_helper.xml
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/mobile/android/app/src/main/res/drawable-ldrtl/as_contextmenu_divider.xml
@@ -0,0 +1,10 @@
+<?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" />
rename from mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml
rename to mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
--- a/mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml
+++ b/mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
@@ -1,9 +1,16 @@
<?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>
\ No newline at end of file
+</inset>