Android Question Designer Scripts & spinners

LucaMs

Expert
Licensed User
Longtime User
I tried the example from the "Designer Scripts Tutorial":
http://www.b4x.com/android/forum/threads/designer-scripts-tutorial.16120/ # content
simply using copy and paste.

I intentionally placed the "views" approximately, since everything is done by the script!

Here is the result:
upload_2013-11-23_7-36-7.png


The emulator: 480x600 - 240 (1.5).

In addition, I also have a strange problem of the spinner; they only look right if I take off the target version from the manifest file.

Some explanation?

Thanks


P.S. SOLVED: :(

I simply had not noticed that in the script and btnLeft EditText1 were not aligned to the left (and the buttons placed by me were too high).

Not solved: spinners
 

Attachments

  • DalTutorial.zip
    7.4 KB · Views: 169
Last edited:

LucaMs

Expert
Licensed User
Longtime User
When I wrote Android 4 I meant Android 4.0 which is API level 14+. This is how spinners look in Android 4.0+.

targetSdkVersion="4" means that you want to use Android 1.6 style.

API level vs. Android version: http://developer.android.com/about/dashboards/index.html


Tnx. I read the table NOW!

But i did not write TARGET = 4, but 14 and MIN 4

If i write, in manifest, ONLY MIN(4), i get "nice" spinner;
if i write the TARGET too (14, i should install the 15), i get "ugly", unwanted spinner

(Forse tu capisci meglio il mio italiano che il mio pessimo inglese :) )
 
Upvote 0
Top