зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1320798 - Re-order context menu items for Activity Stream r=ahunt
MozReview-Commit-ID: Ldt0H5XQxsz --HG-- extra : rebase_source : f5467ada9237ad4db1ce8b481e7c29bcce6e6ec5
This commit is contained in:
Родитель
071c48e792
Коммит
e05b65163b
|
@ -2,29 +2,6 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Group ID's are required, otherwise NavigationView won't show any dividers. The ID's are unused, but still required. -->
|
||||
<group android:id="@+id/group0">
|
||||
<item
|
||||
android:id="@+id/bookmark"
|
||||
android:icon="@drawable/as_bookmark"
|
||||
android:title="@string/bookmark"/>
|
||||
<item
|
||||
android:id="@+id/pin"
|
||||
android:icon="@drawable/pin"
|
||||
android:title="@string/contextmenu_top_sites_pin"/>
|
||||
<item
|
||||
android:id="@+id/share"
|
||||
android:icon="@drawable/as_share"
|
||||
android:title="@string/share"/>
|
||||
<item
|
||||
android:id="@+id/copy_url"
|
||||
android:icon="@drawable/as_copy"
|
||||
android:title="@string/contextmenu_copyurl"/>
|
||||
<item
|
||||
android:id="@+id/add_homescreen"
|
||||
android:icon="@drawable/as_home"
|
||||
android:title="@string/contextmenu_add_to_launcher"/>
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/group1">
|
||||
<item
|
||||
android:id="@+id/open_new_tab"
|
||||
android:icon="@drawable/as_tab"
|
||||
|
@ -35,8 +12,7 @@
|
|||
android:title="@string/contextmenu_open_private_tab"/>
|
||||
</group>
|
||||
|
||||
|
||||
<group android:id="@+id/group2">
|
||||
<group android:id="@+id/group1">
|
||||
<item
|
||||
android:id="@+id/dismiss"
|
||||
android:icon="@drawable/as_dimiss"
|
||||
|
@ -48,4 +24,27 @@
|
|||
android:visible="false"
|
||||
android:title="@string/activity_stream_delete_history"/>
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/group2">
|
||||
<item
|
||||
android:id="@+id/bookmark"
|
||||
android:icon="@drawable/as_bookmark"
|
||||
android:title="@string/bookmark"/>
|
||||
<item
|
||||
android:id="@+id/share"
|
||||
android:icon="@drawable/as_share"
|
||||
android:title="@string/share"/>
|
||||
<item
|
||||
android:id="@+id/copy_url"
|
||||
android:icon="@drawable/as_copy"
|
||||
android:title="@string/contextmenu_copyurl"/>
|
||||
<item
|
||||
android:id="@+id/pin"
|
||||
android:icon="@drawable/pin"
|
||||
android:title="@string/contextmenu_top_sites_pin"/>
|
||||
<item
|
||||
android:id="@+id/add_homescreen"
|
||||
android:icon="@drawable/as_home"
|
||||
android:title="@string/contextmenu_add_to_launcher"/>
|
||||
</group>
|
||||
</menu>
|
Загрузка…
Ссылка в новой задаче