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

2013-07-07 Thread AmitNHB
Hello, I feel this should be very basic but I can't seem to be able to set the position of a WebView. I have a my surface (which extends SurfaceView) and an AdView at the bottom and now I want to add a WebView and position it at a certain height on the screen. I do this, trying to position my

[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

[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

[android-developers] AdMob tutorial doesn't work (for me).

2012-07-23 Thread AmitNHB
Hello, Surely, this feature is too important not to work property, so I must be doing something wrong here, however, I've followed the directions in the tutorialhttps://developers.google.com/mobile-ads-sdk/docs/android/fundamentalsand the app crushed within a few moments after loading. I also