material-components-android
material-components-android copied to clipboard
[MaterialToolbar] Bug: navigationIconTint doesn't do anything for the navigation drawer icon
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

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
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" app:navigationIconTint="#ffff0000"
app:popupTheme="@style/Theme.MyApplication.PopupOverlay" />
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
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
Hey @AndroidDeveloperLB,
I can't get your sample to run. What version of Android Studio are you using?
Does this happen if you supply your own app:navigationIcon drawable as well?
@hunterstich Here:
Android Studio Electric Eel | 2022.1.1 Canary 8 Build #AI-221.5921.22.2211.8786657, built on June 30, 2022 Runtime version: 11.0.13+0-b1751.21-8125866 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 4000M Cores: 12 Registry: external.system.auto.import.disabled=true debugger.watches.in.variables=false ide.text.editor.with.preview.show.floating.toolbar=false
Non-Bundled Plugins: com.intellij.marketplace (221.5921.28) com.github.beansoft.jadx.gui.idea (2021.2.1) com.dubreuia (2.3.0) String Manipulation (9.5.0) Show As ... (1.0.3) com.google.mad-scorecard (1.2) net.aquadc.mike.plugin (0.24)