I have a class (MyCustomWebView) that extends webview, can I do something like this?
<MyCustomWebView
android:id="@+id/myCustomWebView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
If not, can I do something like this.
WebView webView = (WebView) findViewById(R.id.webview);
webView = new MyCustomWebView(this);
source
share