material-components / material-components/material-components-android

[MaterialToolbar] Bug: navigationIconTint doesn't do anything for the navigation drawer icon

Open
#2,805 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: TopAppBar
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

**Description:** Full description of issue here
when using navigationIconTint on MaterialToolbar that has the navigation drawer icon (the 3 horizontal lines), it doesn't do anything.
Trying a style and even in code, it still doesn't do anything

**Expected behavior:** Screenshots and/or description of expected behavior
![image](https://user-images.githubusercontent.com/5357526/177861077-e7b4ccf8-5582-4b93-a591-eb362a95b4f7.png)

In fact, for some reason in my app that I try to migrate to Material3, it's not white for some reason (gray on dark theme, black on light theme)

**Source code:** The code snippet which is causing this issue

**Minimal sample app repro:** Please consider attaching a minimal sample app that reproduces the issue. This will help narrow down the conditions required for reproducing the issue, and it will speed up the bug fix process. You may attach a zip file of the sample app or link to a GitHub repo that contains the sample app.
[My Application.zip](https://github.com/material-components/material-components-android/files/9066960/My.Application.zip)

**Android API version:** Android API version here
API 30

**Material Library version:** Material Android Library version you are using here (e.g., 1.1.0-alpha07)
implementation 'com.google.android.material:material:1.6.1'

**Device:** Device on which the bug was encountered here
Emulator

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached minimal sample app and reproduce the issue using MaterialToolbar on API 30 with Material Components 1.6.1. Trace how navigationIconTint is applied to the navigation drawer icon, then verify that the configured tint changes the icon as expected in both light and dark themes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.