1. W

    German AddTwoLines für Spinner möglich?

    Hallo! ich habe eine simple Combobox (Spinner Object) definiert und kann dort problemlos eine Liste mit einzeiligen Texten laden. Eigentlich würde ich gerne zweizeilige Texte in der Combobox anzeigen, in etwa so wie in ListView mit AddTwoLines (Text1, Text2). Gibt es für die Spinner View eine...
  2. Star-Dust

    B4A Library [B4X] [XUI] SD Selector

    SD_Selector Author: Star-Dust Version: 0.02 fourSelector Events: ChangeValue (nSelector As Int, Index As Int) Fields: mBase As B4XView Tag As Object Functions: Class_Globals As String DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String Base type must be Object...
  3. A

    Android Question show different name of value in spinner keeping value

    hi, i have created an app to turn off a relay. I have a problem, I need a spinner to be able to put a display name and run a different one. I explain, I have two activities, one is called settings and the other is main. In configuration I put the ip addresses to which I execute a command. The...
  4. vascofire

    Android Code Snippet Center Align Spinner Text: 95% perfect workaround

    So far it's known that we can't center align a spinner text. What I'm sharing now is a workaround that doesn't a perfect alignment but at least minimises the problem. The trick is changing the spinner left padding based on the item(text) width. The text is measured using Canvas. X is the item...
  5. Guenter Becker

    B4A Library IOS like Spinner

    Version: 1.5 Name: IOSspinner Language: B4A (C) TechDoc G.Becker, Royalty Free for personel and commercial Use only for Forum Members. IOSspinner is a custom control with designer support. The control mimicks the spinner used by IOS/Apple. The controls features are: simply to use simply to...
  6. By-Cod3rs

    Android Question Spinner selected text and set text value

    Hello Do We Have A Chance To Improve The Spinner Control? Example .Net Combobox or Devexpress Lookupedit or Devexpress Comboboxedit. The simplest Spinner.text="123456" does not exist. Thanks.
  7. W

    German Click Event bei Spinner/Combobox view

    Hallo! Ich lerne gerade B4A und übe mich in verschiedenen Themen. Heute versuche ich eine simple ComboBox: Sub Globals Private ComboBoxDays As Spinner End Sub Sub Activity_Create(FirstTime As Boolean) Dim Days() As String ' Fill list with text Days = Array As String("Sunday"...
  8. W

    Android Question Spinner View doesn't fire Click Event

    Hello All! As a beginner I'm going to test and understand different views at the moment. This time I tried to create a simple ComboBox (Spinner). Sub Globals Private ComboBoxDays As Spinner End Sub Sub Activity_Create(FirstTime As Boolean) Dim Days() As String ' Fill list with text...
  9. T

    Android Question Spinner Drawing Content

    Hi Everyone! I've a problem with spinner content as you can see label was drawed bad. The items/label are sized based on text content, the problem is that doesn't manage click (on black portion). Doesn't work for example on Huawei MediaPad T5 Android 8.0 Someone have any suggestion Thanks...
  10. D

    Italian Importare dati in uno spinner da un file di testo

    Salve Sono nuovo qui, e gia mi trovo in difficoltá con lo spinner. Creare un array va bene per visualizzare una piccola lista in uno spinner, ma se volessi importare una lista grande da un file di testo come dovrei fare? spinner1.addall(mialist) , ma in questo caso mialista e' un file di...
  11. R

    Android Question spinner background color on huawei

    I use a spinner on an android layout and have changed the background color. It works, but only on (some) huawei phones i get the effect, that only the with text filled part has this color, the rest is in white. On all other mobiles i have checked the whole control is filled with the back color...
  12. R

    Android Question Exposing Spinner Properties

    Being able to set view properties by collection is so useful. I have a tablet application that has a complicated interface containing many spinners to set parameters. It would be very useful to set properties like this..... Instead by many single lines of code.... For Each V As View In...
  13. M

    Android Question Strange spinner list

    Hi Everyone! I've a problem: like you could see in the attached image, the item list of my spinner looks very strange. The items are with background color white but if the item is shorter than the spinner width than the rest background is black! I've also set the spinner Backgroundcolor to white...
  14. T

    Android Question Overriding themes in manifest file for spinner

    Hi All, I have just started trying to target my app builds to newer version of Android in order to put them on Google Play, previously they were targeted at sdk 4. This has caused my apps to change appearance, so I trying to get them looking how I want using themes and overriding where...
  15. I

    Italian [RISOLTO] - B4A - Spinner in ACToolbar

    Ciao, come da oggetto, se si, come? Sto diventando matto.. :D --> Immagine della disperazione Oppure altre soluzioni che ora la stanchezza non mi da. Grazie mille a tutti!
  16. K

    Android Question sqlite and spinner

    Can I add all record of cursor to spinner without using spinner.add(cursor.getstring("accode"))
  17. K

    Android Question two column spinner

    i want spinner with two columns like : abcd |1 efgh |2 ijkl |3 mnop |4 qrst |5 thanks

    Android Question Have NULL as first element of an spinner loaded with SQL

    Hello Guys, I'm loading a spinner from SQL database but I'd like to have the very 1st spinner element as NULL (or space) and give the chance the user to pick up NULL if none of the existing values applies to him. What is the best aproach? To have DBUtils.ExecuteSpinner load spinner and then...
  19. Maodge

    Android Question Why does it have a different appearance (first question)

    hello, I'm learning B4A now. In the case of Oscilloscope, link here (https://www.b4x.com/android/forum/threads/oscilloscope.13759/#content), when it runs,spinners looks like 11.jpg. I create a project, include spinner views. But it looks like 22.jpg. I compared all the settings of them. but no...
  20. Star-Dust

    B4A Library SD: ViewExtra

    This library adds some elements of view. SwitchView: Android and IOS SD_Spinner: Animated spinner with images UpDown: A view that allows you to increase or decrease a number within the set limits AlfabeticListView: A ListView that places the items in alphabetical order and a separator for each...