How to change width of a SeekBar?
Below is a TableRow with two items in it, a Button and a SeekBar. How can the SeekBar be made to extend its right side to fill in the remaining width of the TableRow? Currently I have only been able to control the SeekBar width by setting it’s android:layout_width attribute. Is there a way to have the LayoutManager do this automatically or can it be done programmatically? It is especially noticeable when the Orientation is changed from vertical to horizontal and the SeekBar remain stuck way over there on the left with available real estate on its right :-) Thank you! Here is the TableLayout portion of the layout XML: <TableLayout android:id="@+id/SeekBarTable" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <TableRow android:id="@+id/SeekBarRow" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <Button android:id="@+id/CLRButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="CLR" > </Button> <SeekBar android:id="@+id/SeekBar" android:max="29" android:layout_width="250dip" android:layout_marginTop="10dip" android:layout_marginLeft="5dip" > </SeekBar> </TableRow> </TableLayout> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---