-
Notifications
You must be signed in to change notification settings - Fork 607
Styling of PreferenceActivity #828
Comments
Did you read a wiki? |
Yes I did.
These Holo.CompoundButton.CheckBox.Custom have different drawables. Everything else is the same. When I use this theme on my preference activity nothing is changed. The normal holo checkbox is used, not my custom drawables. Upon closer look I added following line into my theme:
This had the effect that the backround selectin color changed and that the CheckBoxed dissapearad completely. |
Did anybody succeed in doing this? |
@Prototik Can you tell where can we find "Holo.PreferenceTheme" from wiki? It seems out-dated. I've found "Holo.Internal.Preference"
and called
in static block of mine Application class extended from org.holoeverywhere.app.Application. And it doesn't work`s. |
This is not an issue more of a question. I have looked at the styles in preferences addon but I was not able to come up with a solution.
I have created my own theme with my colors and all the necessary drawables. If I set this theme to any of my activities it works ok. The exception is PreferenceActivity. The drawables for CheckBoxes are retained from holo theme not my custom drawables. What is the correct way to create a style for PreferenceActivity?
A simple example perhaps?
The text was updated successfully, but these errors were encountered: