android-spinner Questions
7
Solved
I have a ttf font file in my assets folder. I know how to use it for textviews with:
Typeface externalFont=Typeface.createFromAsset(getAssets(), "fonts/HelveticaNeueLTCom-Lt.ttf");
textview1.setTy...
Matronly asked 30/3, 2011 at 7:56
3
Problem is Spinner dropdown list start from top line of Spinner but it should be start from bottom line of Spinner
Normal state
After Click
Spinner xml code
<Spinner
android:id="@+id/sp...
Colorable asked 12/12, 2015 at 9:4
2
Solved
I want my spinner to be next to my menu in the toolbar (to the left of the menu), but currently the spinner appear below the menu. Do i have to add it somehow inside the onCreateOptionsMenu(Menu me...
Invercargill asked 16/5, 2016 at 9:14
2
See Attached below image I want to get rid of extra white space after +41 because the Mobiltelefonnummer text gets trim.
Tried adding
android:padding="0dp" and android:marginStart="0dp" and als...
Century asked 3/5, 2018 at 4:55
2
The options in my spinner has different length and currently the dropdown arrow is positioned far to the right based on the longest option, as shown in the screenshot below.
Is it possible to m...
Hinge asked 8/5, 2016 at 8:12
5
Solved
I have 36 spinners that I have initialized with some values. I have used onItemSelectedListener with them. As usual, the user can interact with these spinners, firing the onItemSeected function.
O...
Miter asked 13/2, 2014 at 7:36
0
I have Spinner and a RecyclerView. I could scroll the recyclerview from the spinners setOnItemSelectedListener by mLayoutManager.scrollToPosition(position);
But how to achieve the reverse. If i sc...
Unmask asked 2/1, 2018 at 14:17
4
Solved
I've searched a lot but the stuff I found was a little confused.
I need to get the android country list and set default the user locale.
For example:
I'm registering an user account and I need to...
Point asked 3/9, 2013 at 13:47
5
this question relates to this one: android.R.simple_spinner_item
Since I can't comment because of low reputation, I have an additional question:
If I copy&paste the android.R.simple_spinner_i...
Nightgown asked 26/9, 2014 at 9:52
3
I've a Spinner with onItemSelected interation that works, but how the Api specification says:
This callback is invoked only when the newly selected position is different from the
previously selec...
Debatable asked 25/6, 2012 at 4:34
33
Solved
I've thought of some less than elegant ways to solve this, but I know I must be missing something.
My onItemSelected fires off immediately without any interaction with the user, and this is undesi...
Intendant asked 1/4, 2010 at 17:18
2
I'm creating a searchable spinner using third party library. I have added library classes(SearchableListDialog, SearchableSpinner) in my app. Everything is working fine but still one problem I'm fa...
Sapsago asked 14/11, 2017 at 6:3
7
Solved
I'm trying to make a slight adjustment to the positioning of the selected item in the spinner. Not the dropdown list items, as I already have a custom view in my adapter for that, but the selected ...
Coetaneous asked 27/10, 2017 at 14:41
4
Solved
I'm trying to create a theme for my first Android app, and it is driving me round the bend. I finally managed to figure out how to style items in a dropdown list, but now I can't change the colour ...
Labelle asked 6/6, 2012 at 14:48
4
Solved
In a customized RecyclerView.Adapter<CustomAdapter.ViewHolder>, I set an adapter for a spinner and found that the value of my spinner isn't change after selection, so I tried to add an OnItem...
Moonstone asked 21/4, 2016 at 6:37
1
Solved
These are my codes after enabling allowBackup
<application
android:name=".utils.MyApplication"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name...
Montemontefiascone asked 29/9, 2017 at 1:56
7
I want to change the color of the displayed selected item in my spinner in Android (targeting API level 16 and up). I have tried several solutions posted here on SO, including creating a custom lay...
Sulamith asked 31/8, 2016 at 10:29
2
I am developing application with minimum SDK version 14 Ice-cream sandwitch and targeted version is Android Marshmallow.
DO I need to use AppCompatSpinner or normal spinner will work on ICS device...
Soulier asked 3/8, 2016 at 6:53
5
Solved
I have created a background drawable that I use for a spinner. I would like to now but an arrow image inside this background. I have tried things like android:drawableRight="arrowimage", but this d...
Dorathydorca asked 30/7, 2014 at 3:14
3
How to remove the separator line in the spinner?
For example, how can I remove/control these white separator lines?
P.S. This is the row layout:
<LinearLayout xmlns:android="http://schemas....
Cystoscope asked 8/4, 2013 at 12:34
1
Solved
How can I add a bottom border to my spinner, like the Google Add new contact (see image)?
Then, when I click on the spinner, in Google Add new contact, the border becomes blue.
My spinner has this...
Guzman asked 17/8, 2015 at 16:35
3
Solved
I have a spinner in a Holo theme dialog and am trying to change the text colour because it is very hard to read:
I have looked at android styles.xml, as well as many other answers, and believe t...
Iberia asked 19/5, 2013 at 19:28
1
Solved
I have a problem with showing first item selected at spinner dropdown menu. When spinner is first time initialized, row is filled with "nothing selected view" and when something is selected from th...
Coverture asked 26/4, 2017 at 13:4
2
Solved
I'm very confused, I can select an item from spinner and display it in a pop up message. I have this,
btnSubmitRequest.Click += (sender, e) =>
{
spinnerJobTypes.ItemSelected += new EventHandl...
Obligatory asked 25/4, 2017 at 15:13
2
Solved
But i am not able to find the solution for this. I know this may be asked before. But it is really different from other issues.
I am trying to implement one spinner on a stack cards. I have one se...
Whisper asked 14/3, 2017 at 6:27
© 2022 - 2024 — McMap. All rights reserved.