dimanche 19 avril 2015

android spinner doesn't show indicator for android verison lesser than 5.0

I'm using the AppCompat, the EditText uses the material desgin style with a single indicator below it, but my problem is with the spinner it shows nothing except selectableItemBackground icon, that is the drop down icon. If i use a custom background drawable with a line shape, then the drop down icon doesn't show again. I really don't know if i have used the best words to explain my problem but i will be glad if someone can help out.



<Spinner
android:id="@+id/hb_sign_up_sex"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="10dip"
android:layout_marginStart="10dip"
android:layout_marginEnd="10dip"
android:layout_marginRight="10dip"
android:textSize="16sp"
/>


The Item and SubITem is a spinner but it has no indicator. Even when i run it on my phone


Aucun commentaire:

Enregistrer un commentaire