зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1337407 - Add rtl divider resource. r=mcomella
MozReview-Commit-ID: 8ALzaHfRX4h --HG-- rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml extra : rebase_source : 43d4e6b84cf432cff8a484fc18a0018c1980a814
This commit is contained in:
Родитель
fef0cddea2
Коммит
0f77ff8ffd
|
@ -0,0 +1 @@
|
|||
../drawable/as_contextmenu_divider_helper.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" />
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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>
|
|
@ -0,0 +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>
|
Загрузка…
Ссылка в новой задаче