Alex Rivera | Logout

how to move 20dip margin left from center?

Asked 2011-10-03T04:40:24.630
13

i want to move a seekbar 20dip margin left from center.

android:progressDrawable="@drawable/progress_vertical"
            android:thumb="@drawable/seek_thumb" android:layout_height="80dip"
            android:layout_width="20dip" android:layout_marginBottom="50dip"
            android:layout_alignParentBottom="true" android:visibility="gone"
            android:layout_centerHorizontal="true" android:layout_marginLeft="20dip" /> 

but the above xml code shows it center only.

Edit
Report

1 Answer

-4

Remove centerHorizontal = true.

answered 2011-10-03T05:12:16.430

Your Answer