marcel Active Member Licensed User Longtime User Jan 1, 2016 #1 Hi, First of all, Happy New Year!! I am using this example program https://www.b4x.com/android/forum/threads/material-design-3-using-a-toolbar-as-actionbar.49053/ to create a new app. I would like to add preferences to my app so I am using the nice lib AHPreferenceActivity Library. My problem now is how to get the AHPreferenceActivity Library sofar that the colors I am using in the material design is similar in the AHPreferenceActivity. Currently I am only able to have a black background or a white by playing with the themes. Is there a possibility or should I not use this AHPreferenceActivity Library at all and start all over again ?
Hi, First of all, Happy New Year!! I am using this example program https://www.b4x.com/android/forum/threads/material-design-3-using-a-toolbar-as-actionbar.49053/ to create a new app. I would like to add preferences to my app so I am using the nice lib AHPreferenceActivity Library. My problem now is how to get the AHPreferenceActivity Library sofar that the colors I am using in the material design is similar in the AHPreferenceActivity. Currently I am only able to have a black background or a white by playing with the themes. Is there a possibility or should I not use this AHPreferenceActivity Library at all and start all over again ?
Croïd Active Member Licensed User Longtime User Jan 1, 2016 #2 Hi Marcel, did you create the folder "values-v21" in resources ? (add theme.xml) and SetApplicationAttribute(android:theme, "@style/MyAppTheme") Upvote 0
Hi Marcel, did you create the folder "values-v21" in resources ? (add theme.xml) and SetApplicationAttribute(android:theme, "@style/MyAppTheme")
DonManfred Expert Licensed User Longtime User Jan 1, 2016 #4 Prepare your app for material. Follow the first two tutorials on how to build a Material App using Appcompat. You need to define a own Theme Upvote 0
Prepare your app for material. Follow the first two tutorials on how to build a Material App using Appcompat. You need to define a own Theme
marcel Active Member Licensed User Longtime User Jan 2, 2016 #5 Don that. but the problem is the AHPreferenceActivity is still in black or white. Upvote 0
DonManfred Expert Licensed User Longtime User Jan 2, 2016 #6 marcel said: but the problem is the AHPreferenceActivity is still in black or white Click to expand... There will be an PreferenceExtras library available soon (it is in beta test as yet) written by @warwound ... This will allow you to use nearly any activity as an Preference-Activity... If i find the time i´ll create a small testproject in Material style and post a screenshot Upvote 0
marcel said: but the problem is the AHPreferenceActivity is still in black or white Click to expand... There will be an PreferenceExtras library available soon (it is in beta test as yet) written by @warwound ... This will allow you to use nearly any activity as an Preference-Activity... If i find the time i´ll create a small testproject in Material style and post a screenshot