JakeBullet70 Well-Known Member Licensed User Longtime User Jul 10, 2016 #1 ` Hi all I am converting an old b4a project my son wrote a year or so ago. Anyway he created his own color scheme and I just want to get it back to standard Android colors. With out recreating all the screen what is the bast way to reset things back to standard Android colors? Thanks
` Hi all I am converting an old b4a project my son wrote a year or so ago. Anyway he created his own color scheme and I just want to get it back to standard Android colors. With out recreating all the screen what is the bast way to reset things back to standard Android colors? Thanks
JakeBullet70 Well-Known Member Licensed User Longtime User Jul 11, 2016 #2 OK, reading more, In code how can one set say txtName.textcolor = defualtTextColor Based off of a theme? Upvote 0
OK, reading more, In code how can one set say txtName.textcolor = defualtTextColor Based off of a theme?
JakeBullet70 Well-Known Member Licensed User Longtime User Jul 11, 2016 #3 aaaaaahhhhh. In looking here. https://b4x.com/android/forum/threads/theme-colors-for-material-design.68286/#post-433766 I see that you can create custom themes in the manifest file. But how do I retrieve them? I have a class that wants text, highlight and background color. How do get them from the manifest? Upvote 0
aaaaaahhhhh. In looking here. https://b4x.com/android/forum/threads/theme-colors-for-material-design.68286/#post-433766 I see that you can create custom themes in the manifest file. But how do I retrieve them? I have a class that wants text, highlight and background color. How do get them from the manifest?
Erel B4X founder Staff member Licensed User Longtime User Jul 11, 2016 #4 You can use XmlLayoutBuilder or AndroidResources libraries to get values from the resource files. Upvote 0
JakeBullet70 Well-Known Member Licensed User Longtime User Jul 11, 2016 #5 Thanks Erel. You really provide the best support!!!! Upvote 0