henrytao-me/smooth-app-bar-layout

Strange issue with toolbar title color

angryanatole opened this issue · 5 comments

Dear Henry!

First of all, thank you for your library.

I'm experiencing the following issue: for some reasons I'm unable to change the title color of the toolbar (it is always black). I know it sounds like an easy problem, but I took code from your sample project and tried to change color via attributes in style.xml (item name="android:textColor" in MdToolbar.Title) and with .setTitleTextColor() method. Also looked through the parent themes - nothing seems to override this values. Also tried to use it with different versions of support library.

Any suggestions on what may be causing the issue?

try setting app:popupTheme

<style name="youAppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

@taatu0 thank you for your reply, unfortunatelly, I've already tried that, still no luck. The code is taken from activity_smooth_scroll_parallax.xml. This is the screenshot taken on emulator (same on my devices):

test

here myTheme is <style name="MyTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />.

@taatu0 oh, such a stupid mistake, I should obviously get more sleep. Thank you so much!

Thanks @taatu0 for helping