mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-23 16:17:40 +00:00
Make distinct webView IDs
This commit is contained in:
parent
372ea7d105
commit
d4e927ac4a
6 changed files with 6 additions and 6 deletions
|
|
@ -83,7 +83,7 @@ public class InfoActivity extends Activity {
|
|||
installedKbs = currentKbID;
|
||||
|
||||
kmUrl = String.format("%s?active=%s&installed=%s", kmBaseUrl, currentKbID, installedKbs);
|
||||
WebView webView = (WebView) findViewById(R.id.webView);
|
||||
WebView webView = (WebView) findViewById(R.id.infoWebView);
|
||||
webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN);
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.getSettings().setUseWideViewPort(true);
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ public class PackageActivity extends Activity {
|
|||
final Button installButton = (Button) findViewById(R.id.installButton);
|
||||
final Button cancelButton = (Button) findViewById(R.id.cancelButton);
|
||||
|
||||
webView = (WebView) findViewById(R.id.webView);
|
||||
webView = (WebView) findViewById(R.id.packageWebView);
|
||||
webView.getSettings().setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NORMAL);
|
||||
webView.getSettings().setJavaScriptEnabled(true);
|
||||
webView.getSettings().setUseWideViewPort(true);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ public class WebBrowserActivity extends Activity {
|
|||
actionBar.setCustomView(webBarLayout);
|
||||
setContentView(R.layout.activity_web_browser);
|
||||
|
||||
webView = (WebView) findViewById(R.id.webView);
|
||||
webView = (WebView) findViewById(R.id.browserWebView);
|
||||
addressField = (EditText) findViewById(R.id.address_field);
|
||||
clearButton = (ImageButton) findViewById(R.id.clear_button);
|
||||
stopButton = (ImageButton) findViewById(R.id.stop_button);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
tools:context=".WebBrowserActivity" >
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webView"
|
||||
android:id="@+id/infoWebView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
tools:context=".PackageActivity" >
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webView"
|
||||
android:id="@+id/packageWebView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/buttonBar"/>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
tools:context=".WebBrowserActivity" >
|
||||
|
||||
<WebView
|
||||
android:id="@+id/webView"
|
||||
android:id="@+id/browserWebView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentLeft="true"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue