Android Question How to change standard button theme: SOLVED

magicuser68

Member
Licensed User
Longtime User
So I used the Cloud in the designer and I noticed that buttons are not the same on all devices. Is there a way to setup a white background button with black text that will work on all devices? And that I can write in a couple lines of code?

Below are the 2 versions from my design. I am hoping someone can show me how to make all cloud results looks similar to version 2.

Version 1


Version 2


Thanks,

- Scott
 

magicuser68

Member
Licensed User
Longtime User
Nexus 7 is so dark I don't think it will be playable. Other than lowering the SDK < 11 can I use a library to make buttons readable on nexus 7? It seems a little strange that google decided to make the default buttons on nexus 7 so dark.



Any other suggestions or examples would be great. I will try the SDK trick but I believe on my s3 the buttons don't work on a lower versions.

Thanks,

- Scott
 
Upvote 0

magicuser68

Member
Licensed User
Longtime User
So I added the following to my manifest which seemed to work on my s3 the buttons became transparent which is better than the grey.

SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")

Anyone know where I can find other Theme names to try?

Thanks,

- Scott
 
Upvote 0
Top