I have a spinner with data content, but the spinner is very small. How can i put the spinner diferrent?
“Some theories do mention that fidgeting stimulates the neurotransmitters in the brain, improves focus by putting away our distractions, and thus helps us concentrate on the one important thing that we are doing," says Dr Srivastava.
The selection includes metallic, glow-in-the-dark, and standard fidget spinners, and prices are generally $19.99 apiece.
A fidget spinner is a toy that consists of a ball bearing in the center of a multi-lobed (typically two or three) flat structure made from metal or plastic designed to spin along its axis with pressure. Fidget spinners became trending toys in 2017, although similar devices had been invented as early as 1993.
I guess you're talking about the "drop down" item list (in the other case you would just have to change the size of the Spinner in the xml file).
You have differents way to set the Adapter actually, for example, when you declared your ArrayAdapter (or another Adapter), you can set a layout to put data in a View.
See Android.R.layout
For example : "simple_spinner_item" is really small so you'd rather use another one like "simple_dropdown_item_1line"
ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdapter<String>(this,
android.R.layout.simple_spinner_item,spinnerArray);
Can you show us some code if this is not what you are looking for ? I'm not sure of what you are talking (if it's the Spinner element or the list)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With