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/e62625b82227c837a984aedb435545ee1f626486/res/layout/main.xml

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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to