I have a screen where the user has many items to input so screen space is at a premium.
I want the look of the widget on the screen (before the user presses it) t
why don't you go for a dialog with list. According to your requirement, create an edittext field, add setOnFocusChangeListener and then show a dialog with list items in onFocusChange() method. For dialog with list items
new AlertDialog.Builder(this)
.setTitle("<Title>")
.setItems(R.array.<ItemsArrayName>, new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface dialog, int which) {
// TODO Auto-generated method stub
}}).show();
I was having the same issue and changed the style to:
style="@style/Widget.AppCompat.Light.DropDownItem.Spinner"
and it worked.
How odd, Its located in DropDownItem
.
While the one that have the bottom triangle is named the normal.
Cheers!