Show share icon when there's enough room
This commit is contained in:
parent
b2ec0f19ea
commit
aa683a0957
6 changed files with 12 additions and 6 deletions
|
@ -10,7 +10,8 @@
|
||||||
android:title="@string/delete" />
|
android:title="@string/delete" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_add_to_playlist"
|
android:id="@+id/cab_add_to_playlist"
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_properties"
|
android:id="@+id/cab_properties"
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_add_to_playlist"
|
android:id="@+id/cab_add_to_playlist"
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_properties"
|
android:id="@+id/cab_properties"
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
app:showAsAction="always" />
|
app:showAsAction="always" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_share"
|
android:id="@+id/cab_share"
|
||||||
android:showAsAction="never"
|
android:icon="@drawable/ic_share_vector"
|
||||||
|
android:showAsAction="ifRoom"
|
||||||
android:title="@string/share" />
|
android:title="@string/share" />
|
||||||
<item
|
<item
|
||||||
android:id="@+id/cab_properties"
|
android:id="@+id/cab_properties"
|
||||||
|
|
Loading…
Reference in a new issue