kisoft Well-Known Member Licensed User Longtime User Nov 25, 2019 #1 Hi I will repeat the question that was asked in this thread... https://www.b4x.com/android/forum/threads/theme-colors.87716/#post-691705 Just a simple question about your first example. I have changed the manfest as suggested and I have action bar, status bar and navigation bar colors changed. Really wonderfull. But now I have a little problem, I have used the addmenuitem to add menu items in the bar...but the textcolor of the menu is white and the backgrund of the menu is white too, so i can't really see nothing.. I have seen the option in the manifest that set the primary color to white.... <color name="textColorPrimary">#ffffffff</color> .. so acting on this value I can switch to color ff000000 (black) for example, and it to solve my menu problem, but on the other side, the text on the bar becomes black too, so probably I need to act on another parameter that I can't actually find. Any suggestion? Thanks a lot Attachments addmenucolor.zip addmenucolor.zip 9 KB · Views: 289 Last edited: Nov 25, 2019
Hi I will repeat the question that was asked in this thread... https://www.b4x.com/android/forum/threads/theme-colors.87716/#post-691705 Just a simple question about your first example. I have changed the manfest as suggested and I have action bar, status bar and navigation bar colors changed. Really wonderfull. But now I have a little problem, I have used the addmenuitem to add menu items in the bar...but the textcolor of the menu is white and the backgrund of the menu is white too, so i can't really see nothing.. I have seen the option in the manifest that set the primary color to white.... <color name="textColorPrimary">#ffffffff</color> .. so acting on this value I can switch to color ff000000 (black) for example, and it to solve my menu problem, but on the other side, the text on the bar becomes black too, so probably I need to act on another parameter that I can't actually find. Any suggestion? Thanks a lot
Erel B4X founder Staff member Licensed User Longtime User Nov 26, 2019 #2 kisoft said: Any suggestion? Click to expand... Use regular font when posting. It is difficult to read the text. Check this example: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-509998 Upvote 0
kisoft said: Any suggestion? Click to expand... Use regular font when posting. It is difficult to read the text. Check this example: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-509998
kisoft Well-Known Member Licensed User Longtime User Nov 26, 2019 #3 Thank you for your answer. Upvote 0