Android Question spinner question

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
help...

i use spinner to select year.
in pic #1 it is how i get it on a sample i got from the forum
in pic #2 it is how i get in my app

i use it the same, i load the values the same
so why i get it so ugly ob the entire screen and not so nice like the sample in pic #1 ?

thanks
 

Attachments

  • 1.png
    1.png
    48.4 KB · Views: 278
  • 2.png
    2.png
    33.4 KB · Views: 287

klaus

Expert
Licensed User
Longtime User
The second image shows how Spinners look like in 'old' Android versions.
Look at thos line in the Manifest Editor:
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
This is the current default line for a new project with B4A 6.00.
You have probably an old version as the target version in your project.
 
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
looks like either i'm missing something or mine is too old or i'm too old
this is my manifest

'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" />
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

seems like no such line
there is a partial one saying sdk#4

any help ?
 
Upvote 0
Top