this web helps a lot!

http://www.curious-creature.org/2009/03/01/android-layout-tricks-3-optimize-part-1/

On 7月17日, 下午1時15分, tstanly <tsai.sta...@gmail.com> wrote:
> thanks!
>
> but I have two imagebutton,
> so use table layout seems not good idea...
>
> On 7月17日, 下午1時11分, Saurav Mukherjee <to.saurav.mukher...@gmail.com>
> wrote:
>
>
>
> > 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