Removed title from actionmode + changed visibility of 'remove'-item
This commit is contained in:
parent
095b8c382b
commit
f49ec6e537
|
@ -8,20 +8,16 @@
|
|||
android:title="@string/download_label"
|
||||
android:visible="false">
|
||||
</item>
|
||||
<item
|
||||
<item android:id="@+id/stream_item" android:icon="@drawable/action_stream" android:showAsAction="ifRoom" android:title="@string/stream_label" android:visible="false">
|
||||
</item><item android:id="@+id/play_item" android:icon="@drawable/av_play" android:showAsAction="ifRoom" android:title="@string/play_label" android:visible="false">
|
||||
</item><item
|
||||
android:id="@+id/remove_item"
|
||||
android:icon="@drawable/content_discard"
|
||||
android:showAsAction="ifRoom|collapseActionView"
|
||||
android:showAsAction="collapseActionView"
|
||||
android:title="@string/remove_label"
|
||||
android:visible="false">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/play_item"
|
||||
android:icon="@drawable/av_play"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/play_label"
|
||||
android:visible="false">
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/cancel_download_item"
|
||||
android:icon="@drawable/navigation_cancel"
|
||||
|
@ -29,8 +25,7 @@
|
|||
android:title="@string/cancel_download_label"
|
||||
android:visible="false">
|
||||
</item>
|
||||
<item android:id="@+id/stream_item" android:icon="@drawable/action_stream" android:showAsAction="ifRoom" android:title="@string/stream_label" android:visible="false">
|
||||
</item><item
|
||||
<item
|
||||
android:id="@+id/mark_read_item"
|
||||
android:showAsAction="collapseActionView"
|
||||
android:title="@string/mark_read_label"
|
||||
|
|
|
@ -202,7 +202,6 @@ public class ItemlistFragment extends SherlockListFragment implements
|
|||
|
||||
@Override
|
||||
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
|
||||
mode.setTitle(selectedItem.getTitle());
|
||||
return FeedItemMenuHandler.onCreateMenu(mode.getMenuInflater(), menu);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue