do not show light when actionmode pass

This commit is contained in:
ligi 2014-11-13 18:31:49 +01:00
parent fe29ae1125
commit 6664560856
2 changed files with 19 additions and 1 deletions

View file

@ -70,7 +70,7 @@ class PassAdapter extends RecyclerView.Adapter<PassViewHolder> {
@Override
public boolean onCreateActionMode(ActionMode actionMode, Menu menu) {
passListActivity.getMenuInflater().inflate(R.menu.activity_pass_view, menu);
passListActivity.getMenuInflater().inflate(R.menu.activity_pass_action_mode, menu);
return true;
}

View file

@ -0,0 +1,18 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menu_delete"
yourapp:showAsAction="ifRoom"
android:title="@string/menu_delete"
android:icon="@drawable/ic_delete_white_36dp" />
<item
android:id="@+id/menu_share"
yourapp:showAsAction="ifRoom"
android:title="@string/menu_share"
android:icon="@drawable/ic_share_white_36dp" />
</menu>