Android Question Change targetSdkVersion problem

GaNdAlF89

Active Member
Licensed User
Longtime User
Hi, I modified the targetSdkVersion to 15 in an old project (before this change it was set to 4!).
But I see that after this change the background of EditText and Spinner objects is set to black.
Furthermore, I had also created a personal TabHost (with Panels and Buttons), in which each panel is partially over the buttons, but after the change of targetSdkVersion the BringToFront is not respected correctly.

How can I fix this? Thanks for support.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Set the colors to the default values. For example:
SS-2016-05-01_09.19.50.png


Furthermore, I had also created a personal TabHost (with Panels and Buttons), in which each panel is partially over the buttons, but after the change of targetSdkVersion the BringToFront is not respected correctly.
On Android 5+ (material theme) buttons have an elevation of 2dip. Set the panel elevation to 2 or more in the designer.
 
Upvote 0
Top