I have made a spinner in an activity getting called inside a tab layout.
The problem is that the items (3 in nos.) are being showing in a separate dialog as in case of a drop down list and not as a spinner.
I followed this example. And as shown the picture I was expecting
but I am getting this:
this http://i50.tinypic.com/9zr1vm.png
& this
.
I want to show just 3 items inside the spinner and do not want the new dialog for the items to be selected. And I have tried my code both on 2.3.3 and 4.0.3 emulators.
Any suggestions?
Thanks
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
spinner as a dropdown is of HOLO Theme. first image is of HOLO Theme and 2nd and 3rd is not.. holo theme is supported since api level 11..
if you want to apply Holo Theme. set
and styles.XML inside values-v11 folder
and styles.XML inside values folder
and in AndroidMeanifeast.xml
in application TAG.
OR follow this 2 links 1. https://github.com/ChristopheVersieux/HoloEverywhere
2. https://github.com/ChristopheVersieux/HoloEverywhere