[android-developers] Re: WebView - can't set its position..

2013-07-07 Thread AmitNHB
Please ignore this line: *webView**.setVisibility(View.GONE**);* I'm setting it back to visible later on and like I said, the view starts at the very top instead of at 120. On Monday, July 8, 2013 3:59:37 AM UTC+3, AmitNHB wrote: Hello, I feel this should be very basic but I can't seem to

[android-developers] Re: WebView - can't set its position..

2013-07-07 Thread AmitNHB
OK, got it: *webView = new WebView(this); webView.setWebViewClient(new WebViewClient());RelativeLayout.LayoutParams webViewParams= new RelativeLayout.LayoutParams(800, 240); webViewParams.addRule(RelativeLayout.CENTER_IN_PARENT);* On Monday, July 8, 2013 3:59:37 AM UTC+3, AmitNHB wrote: