S sorex Expert Licensed User Longtime User Apr 30, 2015 #1 I noticed that buttons on 2.x are having a nice light gray gradient with black text. On 4.x it's suddenly darkgray and you need to force the text to white to make it readable but then it's not readable anymore in 2.x. Is there a way to force a style to a regular button so that it's the same on all OS versions?
I noticed that buttons on 2.x are having a nice light gray gradient with black text. On 4.x it's suddenly darkgray and you need to force the text to white to make it readable but then it's not readable anymore in 2.x. Is there a way to force a style to a regular button so that it's the same on all OS versions?
S sorex Expert Licensed User Longtime User Apr 30, 2015 #2 ok, setting the text color to default solves the button text color issue but the button is still looking too dark on my black background. the same thing happends with edittext boxes. Upvote 0
ok, setting the text color to default solves the button text color issue but the button is still looking too dark on my black background. the same thing happends with edittext boxes.
S sorex Expert Licensed User Longtime User Apr 30, 2015 #3 @stanks pointed me to https://www.b4x.com/android/forum/t...andard-button-theme-solved.43241/#post-262684 which helps for the buttons but the seekbar becomes a 2.x one (a block slider, not that line+round thingy) but orange instead of green I guess I'll have to live with this. Upvote 0
@stanks pointed me to https://www.b4x.com/android/forum/t...andard-button-theme-solved.43241/#post-262684 which helps for the buttons but the seekbar becomes a 2.x one (a block slider, not that line+round thingy) but orange instead of green I guess I'll have to live with this.
thedesolatesoul Expert Licensed User Longtime User Apr 30, 2015 #4 What did you set the theme to? You can set it to Holo.Dark would that be ok? Upvote 0
S sorex Expert Licensed User Longtime User Apr 30, 2015 #5 @thedesolatesoul : Previously I didn't set a theme. Now it's set to "theme" (which is the same as theme.light) Upvote 0
@thedesolatesoul : Previously I didn't set a theme. Now it's set to "theme" (which is the same as theme.light)
thedesolatesoul Expert Licensed User Longtime User Apr 30, 2015 #6 Its using the devices default theme. I think you should test on multiple devices/android versions if it looks right. But as long as you are using default values it should be fine. Upvote 0
Its using the devices default theme. I think you should test on multiple devices/android versions if it looks right. But as long as you are using default values it should be fine.
S sorex Expert Licensed User Longtime User Apr 30, 2015 #7 actaully it looks better now on 4.x. it was like > http://i.stack.imgur.com/TDtNY.png now it looks like > http://developer.xamarin.com/recipes/android/controls/seekbar/Images/seekbar.png Upvote 0
actaully it looks better now on 4.x. it was like > http://i.stack.imgur.com/TDtNY.png now it looks like > http://developer.xamarin.com/recipes/android/controls/seekbar/Images/seekbar.png