Hide multi-select in nav bar
This commit is contained in:
parent
1e94fa59ea
commit
6361ba35b3
|
@ -133,6 +133,7 @@ public class SubscriptionsRecyclerAdapter extends SelectableAdapter<Subscription
|
||||||
MenuInflater inflater = mainActivityRef.get().getMenuInflater();
|
MenuInflater inflater = mainActivityRef.get().getMenuInflater();
|
||||||
inflater.inflate(R.menu.nav_feed_context, menu);
|
inflater.inflate(R.menu.nav_feed_context, menu);
|
||||||
menu.setHeaderTitle(selectedFeed.getTitle());
|
menu.setHeaderTitle(selectedFeed.getTitle());
|
||||||
|
menu.findItem(R.id.multi_select).setVisible(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,5 +24,6 @@
|
||||||
<item
|
<item
|
||||||
android:id="@+id/multi_select"
|
android:id="@+id/multi_select"
|
||||||
android:menuCategory="container"
|
android:menuCategory="container"
|
||||||
android:title="@string/multi_select" />
|
android:title="@string/multi_select"
|
||||||
|
android:visible="false" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
Loading…
Reference in New Issue