1

I have some spinner in a ListView(Left side some text and righ side spinner) like this

enter image description here

everything is ok but i want spinners to be align like this

enter image description here

can someone please help to adjust the views..,.

4

1 に答える 1

3
<Spinner android:id="@+id/spinner" 
 android:layout_width="150dp"//==> Set the width of the spinner. 
 android:layout_height="wrap_content" 
 android:layout_marginRight="10sp" 
 android:layout_alignParentRight="true"
 android:layout_centerVertical="true" 
 android:focusable="false" 
 android:focusableInTouchMode="false" 
 android:visibility="gone" />
于 2012-10-25T11:18:21.900 に答える