H horage Member Nov 3, 2016 #1 Hello forums. There seems to be a problem in my spinners. When i click spinners, it doesn't show its prompt name. But i placed First Name on the properties menu. Is there any other way to show the prompt name when i run my app? Thanks Love Horage
Hello forums. There seems to be a problem in my spinners. When i click spinners, it doesn't show its prompt name. But i placed First Name on the properties menu. Is there any other way to show the prompt name when i run my app? Thanks Love Horage
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2016 #2 Can you post your code? Upvote 0
H horage Member Nov 3, 2016 #3 Here are my codes. The client.txt has my spinner code. I added DBUtils.txt in case my error is there. The first picture shows my spinner properties. The second one shows my output. As you can see. It doesn't show the prompt name. I have no clue what is the problem with it. Attachments DBUtils.txt DBUtils.txt 3.1 KB · Views: 748 client.txt client.txt 3.7 KB · Views: 805 11.jpg 102.3 KB · Views: 1,135 22.jpg 9.7 KB · Views: 1,046 Upvote 0
Here are my codes. The client.txt has my spinner code. I added DBUtils.txt in case my error is there. The first picture shows my spinner properties. The second one shows my output. As you can see. It doesn't show the prompt name. I have no clue what is the problem with it.
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2016 #4 I understand. This is how the spinner looks by default on newer themes. Upvote 0
H horage Member Nov 4, 2016 #5 Is there a way where i can show the prompt name? And how can i change the color of the spinner Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2016 #6 You can use InputList instead of a spinner. Code: Copy Dim i as int = InputList(Array("item 1", "item 2"), "This is the title", -1) You cannot change the dialogs color. Upvote 0
You can use InputList instead of a spinner. Code: Copy Dim i as int = InputList(Array("item 1", "item 2"), "This is the title", -1) You cannot change the dialogs color.
M Mahares Expert Licensed User Longtime User Nov 6, 2016 #7 horage said: Is there a way where i can show the prompt name? Click to expand... If you set the target sdk to 10 in the manifest editor, you will see the spinner prompt. Code: Copy <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/> Upvote 0
horage said: Is there a way where i can show the prompt name? Click to expand... If you set the target sdk to 10 in the manifest editor, you will see the spinner prompt. Code: Copy <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/>
Erel B4X founder Staff member Licensed User Longtime User Nov 6, 2016 #8 This is not the correct solution as it will cause your app to use Android 2 theme. It will look outdated and you will encounter strange issues on newer devices. Upvote 0
This is not the correct solution as it will cause your app to use Android 2 theme. It will look outdated and you will encounter strange issues on newer devices.