tint active drawer item

This commit is contained in:
tobiasKaminsky 2017-06-13 12:18:20 +02:00
parent bee1e9ddc5
commit 4be2e33663
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -297,11 +297,7 @@ public abstract class DrawerActivity extends ToolbarActivity implements DisplayU
* @param navigationView the drawers navigation view
*/
protected void setupDrawerMenu(NavigationView navigationView) {
// on pre lollipop the light theme adds a black tint to icons with white coloring
// ruining the generic avatars, so tinting for icons is deactivated pre lollipop
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
navigationView.setItemIconTintList(null);
}
navigationView.setItemIconTintList(null);
// setup actions for drawer menu items
navigationView.setNavigationItemSelectedListener(