在Phone-gap应用程序中我试图使用 adjustPan 来显示我的输入框而不是使用adjustResize(因为这会重新调整我的整个视图-HTML)并且这在某些设备上不起作用(&gt ; 4.0版本)是否有高级版本的特定解决方案,或者我应该找到另一种方式。
这是我的清单描述: -
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.AppDev" android:versionCode="1" android:versionName="1.0" android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19"/>
<activity android:name=".AppDev" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="adjustPan" android:launchMode="singleTask" android:theme="@android:style/Theme.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="com.AppDev.SAppDev.NOTIFICATION"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
请帮助我解决这个令人头疼的问题:&#39;(
答案 0 :(得分:-2)
Android中的全屏应用程序的已知问题。抱歉。 https://code.google.com/p/android/issues/detail?id=5497
CNC中 这是一个更好的解决方案Android How to adjust layout in Full Screen Mode when softkeyboard is visible