update download_menu.xml

use "ifRoom" and "always" in cases where is possible
This commit is contained in:
kapodamy 2019-08-10 15:56:59 -03:00
parent 2328ea6d07
commit 35a69b4b1d
1 changed files with 4 additions and 4 deletions

View File

@ -7,25 +7,25 @@
android:icon="?attr/ic_grid" android:icon="?attr/ic_grid"
android:title="@string/grid" android:title="@string/grid"
tools:ignore="AlwaysShowAction" tools:ignore="AlwaysShowAction"
app:showAsAction="ifRoom" /> app:showAsAction="always" />
<item android:id="@+id/start_downloads" <item android:id="@+id/start_downloads"
android:visible="false" android:visible="false"
android:icon="?attr/play" android:icon="?attr/play"
android:title="@string/start_downloads" android:title="@string/start_downloads"
app:showAsAction="never" /> app:showAsAction="ifRoom" />
<item android:id="@+id/pause_downloads" <item android:id="@+id/pause_downloads"
android:visible="false" android:visible="false"
android:icon="?attr/pause" android:icon="?attr/pause"
android:title="@string/pause_downloads" android:title="@string/pause_downloads"
app:showAsAction="never" /> app:showAsAction="ifRoom" />
<item android:id="@+id/clear_list" <item android:id="@+id/clear_list"
android:visible="false" android:visible="false"
android:icon="?attr/ic_delete" android:icon="?attr/ic_delete"
android:title="@string/clear_finished_download" android:title="@string/clear_finished_download"
app:showAsAction="never" /> app:showAsAction="ifRoom" />
<item android:id="@+id/action_settings" <item android:id="@+id/action_settings"
android:title="@string/settings" android:title="@string/settings"