u can try this:

add a table layout to ur web view and then add a row with the width u want.
put the button into the row.
try this only if the normal setLayoutParams of the button does not work.

hope this selps u.

cheers!

2009/7/17 tstanly <tsai.sta...@gmail.com>

>
> thanks for your reply,
> this method can't work,it will be first pic i draw...
>
>
>
> On 7月17日, 上午10時10分, rukiman <ruksh...@optushome.com.au> wrote:
> > I could be wrong but thought you could do that by simply making the
> > button's width WRAP_CONTENT instead of FILL_PARENT ??
> >
> > On Jul 17, 11:57 am, tstanly <tsai.sta...@gmail.com> wrote:
> >
> >
> >
> > > hi all,
> >
> > > this is a layout issue,
> > > now my app's layout is this screenshot:
> > > ps: my btn means ImageButton
> >
> > > ---------------------|
> > >                      |
> > >  webview        |
> > >                      |
> > > ---------------------
> > > btn                |
> > > ---------------------
> >
> > > now how can do this:
> >
> > > ---------------------|
> > >                      |
> > >  webview        |
> > >                      |
> > > ------               |
> > > btn  |              |
> > > ---------------------
> >
> > > ple help me!!
> > > thanks!!- 隱藏被引用文字 -
> >
> > - 顯示被引用文字 -
> >
>

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