Questions tagged «window-soft-input-mode»

15
windowSoftInputMode =“ adjustResize”不适用于半透明动作/导航栏
新的Android KitKat(4.4)和中的半透明actionbar / navbar出现问题windowSoftInputMode="adjustResize"。 通常将InputMode更改为AdjustResize,当显示键盘时,应用程序应自行调整大小...但是这里不会!如果删除透明效果的行,则调整大小有效。 因此,如果键盘可见,则我的ListView在其下方,并且我无法访问最后几项。(仅通过手动隐藏键盘) AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="XYZ" android:versionCode="23" android:versionName="0.1" > <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/Theme.XYZStyle" > <activity android:name="XYZ" android:label="@string/app_name" android:windowSoftInputMode="adjustResize" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> values-v19 / styles.xml <?xml version="1.0" encoding="utf-8"?> <resources> <style …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.