0

How to change the Spinner view like in the picture? After i pick rows i dont want the Spinner show me the result on it, Just keep the "some Image" without get the result on the Spinner View enter image description here

Anna
  • 488
  • 5
  • 23

2 Answers2

2

Popup menu is an overflow menu like Spinner actions. PopupMenu is available from API level 11.Android Popup Menu displays the menu below the anchor text if space is available otherwise above the anchor text. It disappears if you click outside the popup menu.

For this,Please check this demo android-popup-menu-example And SO Answer .

You can read more about PopupMenu here

http://developer.android.com/reference/android/widget/PopupMenu.html

Community
  • 1
  • 1
IntelliJ Amiya
  • 70,230
  • 14
  • 154
  • 181
1

For that you can use Button with ContextMenu or PopupMenu set for that button. http://javatechig.com/android/android-popup-menu-example

Arun Shankar
  • 572
  • 1
  • 4
  • 15