[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-21 Thread kevin
This problem only happens in 1.0 but not 1.1. Anyone knows how to solve this in 1.0? Kevin --~--~-~--~~~---~--~~ 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] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-20 Thread Joe LaPenna
You've set you button not clickable. On Apr 18, 2009 2:39 AM, kevin kevin_x...@yahoo.com wrote: I programmed the layout instead of layout.xml (for our own reason). Following is the code: LinearLayout mainPanel = new LinearLayout(ctx); mainPanel.setLayoutParams(new

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-20 Thread kevin
Thanks. However the problem in the layout is WebView is not clickable. Kevin --~--~-~--~~~---~--~~ 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] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-18 Thread kevin
I programmed the layout instead of layout.xml (for our own reason). Following is the code: LinearLayout mainPanel = new LinearLayout(ctx); mainPanel.setLayoutParams(new LinearLayout.LayoutParams (LinearLayout.LayoutParams.FILL_PARENT,

[android-developers] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-17 Thread Jungle.Qiao
it looks like webview use the whole canvas. u should resize webview width and height ,maybe. --~--~-~--~~~---~--~~ 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] Re: WebView and Button in layout, only one of them can be clicked.

2009-04-16 Thread Raphael
Could you post your layout xml file? Thanks. R/ On Thu, Apr 16, 2009 at 12:29 PM, kevin kevin_x...@yahoo.com wrote: My LinearLayout has a button and a WebView. The problem is that only the first one in layout can be clicked, the other is not. If I put WebView first into the layout, the