Android IDE (AIDE) Support Forum

Number picker does not work

Is this feature working?
When i add one it is not possible to acces to the caracteristics from screen editor and when running i cannot select any values even if i did set the min and max in the xml
I have a samsung galaxy tab s7+ latest android version, no rooted stuff

Last time I checked NumberPicker had no min or max XML attributes :confused:

Will test it.

Tested, works fine but theres still no min or max xml attributes.

Hello Jay,
In fact it works if i set those parameters programmatively.
Neverteless the screen editor cannot manage this control.
At l’est you cann add the number picker, but once in, it does not react when you tap on it.

Yeah it should because there is only min and max methods for the NumberPicker class , but keep in mind AIDE isn’t Android Studio its still an Android app at the end of day which means it has the same limitations any other app does. So the editors not perfect don’t expect to much out of it, just use it for quickly building your UI.

Don’t expect interactive previews of every component, but anyways since the min and max settings are set programmatically until that code is ran the numberpicker you see in the editor technically only has the attributes given to it in the XML layout file. So really it shouldn’t be able to scroll since there is actually no min and max attributes for it to scroll to in the XML code.