xml - android customize spinner -


i want know if possible customize textview. want spinner define xml used layout background in xml put

    <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"     android:shape="rectangle">     <stroke         android:color="#ffffff"     />     <solid         android:color="#ffffff"     />     <padding         android:left="5dp"         android:top="5dp"         android:right="5dp"         android:bottom="5dp"     />     <corners         android:radius="10dp"     />     <size         android:height="70dip"     /> </shape> <bitmap      xmlns:android="http://schemas.android.com/apk/res/android"      android:src="@drawable/arrow_icon"      android:gravity="right" /> 

but doesn't work want have in css, define round corners, padding, color , add icon background on right. icon arrow spinner arrow.

set textview in xml this.

<textview       android:layout_width="fill_parent"      android:layout_height="wrap_content"      android:text="this looks spinner now!"     style="@android:style/widget.spinner"     /> 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -