зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1140048 - Add 'send to device' and remove quick share item in toolbar menu. r=mcomella
--HG-- extra : commitid : 5uEroTeLbIF extra : rebase_source : c524953b4bbcfb28f79880ba5a1c779359ecc79f
This commit is contained in:
Родитель
85db519b95
Коммит
cbefb95577
|
@ -34,19 +34,15 @@
|
|||
android:title="@string/overlay_share_reading_list_btn_label"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/send_to_device"
|
||||
android:icon="@drawable/overlay_send_tab_icon"
|
||||
android:title="@string/overlay_share_send_other"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/share"
|
||||
android:icon="@drawable/ic_menu_share"
|
||||
android:title="@string/share"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<!-- We only show the quick share items so no need for an icon or title.
|
||||
|
||||
The visibility is changed dynamically for v14+ - hide for previous versions. -->
|
||||
<item android:id="@+id/quickshare"
|
||||
android:visible="false"
|
||||
android:enabled="false"
|
||||
android:visibility="gone"
|
||||
android:showAsAction="collapseActionView"/>
|
||||
android:showAsAction="ifRoom|withText"/>
|
||||
|
||||
<item android:id="@+id/new_tab"
|
||||
android:title="@string/new_tab"/>
|
||||
|
|
|
@ -34,19 +34,15 @@
|
|||
android:title="@string/overlay_share_reading_list_btn_label"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/send_to_device"
|
||||
android:icon="@drawable/overlay_send_tab_icon"
|
||||
android:title="@string/overlay_share_send_other"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/share"
|
||||
android:icon="@drawable/ic_menu_share"
|
||||
android:title="@string/share"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<!-- We only show the quick share items so no need for an icon or title.
|
||||
|
||||
The visibility is changed dynamically for v14+ - hide for previous versions. -->
|
||||
<item android:id="@+id/quickshare"
|
||||
android:visible="false"
|
||||
android:enabled="false"
|
||||
android:visibility="gone"
|
||||
android:showAsAction="collapseActionView"/>
|
||||
android:showAsAction="ifRoom|withText"/>
|
||||
|
||||
<item android:id="@+id/new_tab"
|
||||
android:title="@string/new_tab"/>
|
||||
|
|
|
@ -34,19 +34,15 @@
|
|||
android:title="@string/overlay_share_reading_list_btn_label"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/send_to_device"
|
||||
android:icon="@drawable/overlay_send_tab_icon"
|
||||
android:title="@string/overlay_share_send_other"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<item android:id="@+id/share"
|
||||
android:icon="@drawable/ic_menu_share"
|
||||
android:title="@string/share"
|
||||
android:showAsAction="ifRoom"/>
|
||||
|
||||
<!-- We only show the quick share items so no need for an icon or title.
|
||||
|
||||
The visibility is changed dynamically for v14+ - hide for previous versions. -->
|
||||
<item android:id="@+id/quickshare"
|
||||
android:visible="false"
|
||||
android:enabled="false"
|
||||
android:visibility="gone"
|
||||
android:showAsAction="collapseActionView"/>
|
||||
android:showAsAction="ifRoom|withText"/>
|
||||
|
||||
<item android:id="@+id/new_tab"
|
||||
android:title="@string/new_tab"/>
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
android:icon="@drawable/ic_menu_new_private_tab"
|
||||
android:title="@string/new_private_tab"/>
|
||||
|
||||
<item android:id="@+id/send_to_device"
|
||||
android:title="@string/overlay_share_send_other"/>
|
||||
|
||||
<item android:id="@+id/share"
|
||||
android:title="@string/share" />
|
||||
|
||||
|
@ -77,16 +80,6 @@
|
|||
android:visible="false"
|
||||
android:title="@string/exit_guest_session"/>
|
||||
|
||||
<!-- Android will eliminate v11+ resource files from pre-11 builds.
|
||||
Those files are the only place in which certain IDs are defined.
|
||||
This causes compilation errors.
|
||||
To avoid nasty code workarounds, we define stub IDs here, but
|
||||
hide the menu entries. -->
|
||||
|
||||
<item android:id="@+id/quickshare"
|
||||
android:visible="false"
|
||||
android:enabled="false" />
|
||||
|
||||
<item android:id="@+id/page"
|
||||
android:visible="false"
|
||||
android:enabled="false"
|
||||
|
|
Загрузка…
Ссылка в новой задаче