Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to disable NavigationView icon tinting #107

Closed
gautam2682 opened this issue Oct 18, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@gautam2682
Copy link

commented Oct 18, 2018

([x] becomes a filled in checkbox, [ ] is an empty one)


If this is a feature request, you can clear everything below.

I want to show original icon colors in drawer layout but cannot apply navigationView?.itemIconTintList = null as this is masked by library and i have also tried android:tag=":aesthetic_ignore" everywhere but its not affecting it also i tried to set itemIconTintList null in the library itself but same result . please help it will be very hepful, Btw awesome library.)

@afollestad afollestad changed the title Not able to show original icon colors in Navigatigation View Ability to disable NavigationView icon tinting Oct 19, 2018

@gautam2682

This comment has been minimized.

Copy link
Author

commented Oct 20, 2018

I tried NavigationViewMode.NONE but it is still not showing showing original colors while by Appcompatactivity it is showing original color, please check one more time and thanks for the help , my configuration is this:-

 Aesthetic.config {
           isDark(false)
           colorPrimaryRes(android.R.color.white)
           colorAccentRes(R.color.red500)
           colorStatusBarAuto()
           textColorPrimaryRes(android.R.color.black)
           textColorSecondaryRes(android.R.color.black)
           navigationViewMode(NavigationViewMode.NONE)
       }

And i am using navigationView?.itemIconTintList = null later in the activity to disable tint

@afollestad afollestad reopened this Oct 20, 2018

@afollestad

This comment has been minimized.

Copy link
Owner

commented Oct 20, 2018

Oh I found the problem - NavigationView items are actually instances of CheckedTextView, so it's getting overridden there. Will fix 😄

@afollestad afollestad added bug and removed enhancement labels Oct 20, 2018

@gautam2682

This comment has been minimized.

Copy link
Author

commented Oct 20, 2018

Thank you😊😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.