Add some icons to drawer
(cherry picked from commit 4a8b1982c207c981162dd03f137470f952294168)
This commit is contained in:
parent
3db5211231
commit
25d4db36eb
1 changed files with 3 additions and 1 deletions
|
@ -344,15 +344,17 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
final var allChats = new com.mikepenz.materialdrawer.model.PrimaryDrawerItem();
|
||||
allChats.setIdentifier(DRAWER_ALL_CHATS);
|
||||
com.mikepenz.materialdrawer.model.interfaces.NameableKt.setNameText(allChats, "All Chats");
|
||||
|
||||
com.mikepenz.materialdrawer.model.interfaces.IconableKt.setIconRes(allChats, R.drawable.ic_chat_24dp);
|
||||
|
||||
final var directMessages = new com.mikepenz.materialdrawer.model.PrimaryDrawerItem();
|
||||
directMessages.setIdentifier(DRAWER_DIRECT_MESSAGES);
|
||||
com.mikepenz.materialdrawer.model.interfaces.NameableKt.setNameText(directMessages, "Direct Messages");
|
||||
com.mikepenz.materialdrawer.model.interfaces.IconableKt.setIconRes(directMessages, R.drawable.ic_person_24dp);
|
||||
|
||||
final var channels = new com.mikepenz.materialdrawer.model.PrimaryDrawerItem();
|
||||
channels.setIdentifier(DRAWER_CHANNELS);
|
||||
com.mikepenz.materialdrawer.model.interfaces.NameableKt.setNameText(channels, "Channels");
|
||||
com.mikepenz.materialdrawer.model.interfaces.IconableKt.setIconRes(channels, R.drawable.ic_group_24dp);
|
||||
|
||||
binding.drawer.getItemAdapter().add(
|
||||
allChats,
|
||||
|
|
Loading…
Add table
Reference in a new issue