Android's spinner text align right -


i has spinner contains 3 items:"english", "simplified chinese", "traditional chinese".
if select "english", spinner show below picture.
enter image description here
means after select , show selected one, not items list below:
enter image description here
layout.xml below:

            <relativelayout                 android:layout_width="match_parent"                 android:layout_height="match_parent" >                  <spinner                     android:id="@+id/spinner1"                     android:layout_width="wrap_content"                     android:layout_height="match_parent"                     android:layout_alignparentright="true"                     android:layout_centervertical="true"                     android:background="@drawable/spinner_selector"                     android:gravity="right" />              </relativelayout> 

i want set text align right.
width seems set longest item.
, text align left.
how can modify it?


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -