how to set width of spinner in android? -


how set width of spinner programatically ?

in layout file

<spinner      android:id="@+id/spinner"     android:layout_width="200dip"     android:layout_height="fill_parent"     android:prompt="@string/my_spinner" /> 

would give spinner width of 200dip.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -