LucaMs Expert Licensed User Longtime User Nov 23, 2013 #1 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: 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 DalTutorial.zip 7.4 KB · Views: 264 Last edited: Nov 23, 2013
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: 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
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2013 #2 I don't see the spinner in the screenshot. However spinners look differently in Android 4. They are quite similar to EditTexts. Upvote 0
I don't see the spinner in the screenshot. However spinners look differently in Android 4. They are quite similar to EditTexts.
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2013 #3 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 Upvote 0
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
LucaMs Expert Licensed User Longtime User Nov 24, 2013 #4 Erel said: 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 Click to expand... 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
Erel said: 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 Click to expand... 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 )
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2013 #5 If you do not set the target attribute then it uses the default target which is API level 4 (Android 1.6). Upvote 0
If you do not set the target attribute then it uses the default target which is API level 4 (Android 1.6).
LucaMs Expert Licensed User Longtime User Nov 24, 2013 #6 Erel said: If you do not set the target attribute then it uses the default target which is API level 4 (Android 1.6). Click to expand... Yes, I thought so, but I can not believe that the API 4 has the best spinner (the one with the prompt and white) Upvote 0
Erel said: If you do not set the target attribute then it uses the default target which is API level 4 (Android 1.6). Click to expand... Yes, I thought so, but I can not believe that the API 4 has the best spinner (the one with the prompt and white)