Code example for LinearLayout.LayoutParams

0
		 
		actInstance = this;
		//web layout  
		m_webLayout = new LinearLayout(this);
		actInstance.addContentView(m_webLayout, 
				new LayoutParams(LayoutParams.FILL_PARENT,LayoutParams.FILL_PARENT));
	} 
	 
    static { 
         System.loadLibrary("game");
    } 
     
    public static Object getJavaActivity() {
        return actInstance;
    } 
     
    //WebView 
    public void displayWebView(final int x, final int y, final int width, final int height) {
//    	Log.e("Vincent", "showWebView"); 
    	 
Contextual code suggestions in your IDE  Get Codota for Java