Android Question Android Theme

Shay

Well-Known Member
Licensed User
Longtime User
Hi

"SetApplicationAttribute(android:theme, @android:style/Theme.Holo.Light)"
Can I make only EditText to use the above theme?

Second question
Is there a list of Themes that I can use?

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
It is possible to do through xml.
You would need to use a base style and then override the components you need.
Its very clunky to be honest and i haven't seen a good explanation anywhere.
Also its not possible to change a style on runtime, only before the view is created.
 
Upvote 0

Similar Threads

  • Locked
  • Article
Android Code Snippet [B4X] Light theme B4XDateTemplate
Replies
2
Views
6K
  • Article
Android Code Snippet Full Screen Theme
Replies
1
Views
8K
  • Article
Android Code Snippet Theme Colors
Replies
3
Views
23K
  • Article
Android Code Snippet Version safe themes
Replies
4
Views
9K
Top