Why thank you! Using android:layout_weight="1" (I need to lookup what that means now) works great. The SeekBar resized itself to fill out the remainder of space in the view.
On Sep 10, 12:06 pm, Mark Murphy <[email protected]> wrote: > WoodManEXP wrote: > > I thought "fill_parent" would have worked as well but whenever it is > > set to that the SeekBar is very narrrow (maybe 40-50 pixels wide). > > > BTW: No matter what kind of layout I have tried (Table, horizontal > > LinearLayout, etc...) the SeekBar behaves the same way. Unless I > > specify its width it is drawn very narrow. > > > Is there another way to change its width? > > I haven't used SeekBar directly, only ProgressBar (which SeekBar > extends). I have had no problems having a ProgressBar take up the > desired space. > > For example, here is a layout where I have a ProgressBar use > android:layout_weight="1" in a LinearLayout to take up all space not > used by an ImageButton: > > http://github.com/commonsguy/vidtry/blob/e62625b82227c837a984aedb4355... > > It is conceivable that SeekBar behaves differently, though. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _The Busy Coder's Guide to *Advanced* Android Development_ > Version 1.1 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

