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:
Dipti Nirmale 2015-10-09 16:07:35 -07:00
Родитель 85db519b95
Коммит cbefb95577
4 изменённых файлов: 21 добавлений и 40 удалений

Просмотреть файл

@ -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"