Commit 34fe03c9 authored by Mygod's avatar Mygod

Add icon tinting to drawer drawables

parent a78c8aa5
......@@ -216,16 +216,19 @@ class MainActivity extends Activity with ServiceBoundContext with Drawer.OnDrawe
.withIdentifier(DRAWER_PROFILES)
.withName(R.string.profiles)
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_description))
.withIconTintingEnabled(true)
)
.addStickyDrawerItems(
new SecondaryDrawerItem()
.withIdentifier(DRAWER_GLOBAL_SETTINGS)
.withName(R.string.settings)
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_settings)),
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_settings))
.withIconTintingEnabled(true),
new SecondaryDrawerItem()
.withIdentifier(DRAWER_ABOUT)
.withName(R.string.about)
.withIcon(ContextCompat.getDrawable(this, R.drawable.ic_action_copyright))
.withIconTintingEnabled(true)
.withSelectable(false)
)
.withOnDrawerItemClickListener(this)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment