私はフルハイトを持っています&フルハイトwebview(with a formular)。私が必要なのは、入力されたソフトキーボードをフォーカスした後で、Webviewの下にあるので、Webviewは自動的にスクロールします。Androidのソフトキーボードがwebviewの下にある
私はandroid:windowSoftInputModeを試しましたが、動作しません。
マニフェスト:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="sk.eworkperform"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" android:required="true" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity android:name="sk.eworkperform.activity.WebBrowserActivity" android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="sk.eworkperform.activity.AdminActivity" >
</activity>
<activity android:name="com.dm.zbar.android.scanner.ZBarScannerActivity" >
</activity>
</application>
のWebViewレイアウト:
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
は(ルートで)あなたのXMLにこれを試して、あなたに
これを試す 動作しない場合は? –
マニフェスト活動 –
私たちが助けることができるように、その部分を適切に表示または投稿することができます –