Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Androidでページを作成しようとしています。ユーザーが戻るボタンを押していても、キーボードは常に表示されます(この場合、アプリは最後のページに戻ります)。 例:Facebookがアプリで投稿を書いているときに行ったページ。
ありがとう!
ファイルandroid:windowSoftInputMode="stateAlwaysVisible"内のアクティビティに追加します。AndroidManifest.xml
android:windowSoftInputMode="stateAlwaysVisible"
AndroidManifest.xml
<activity android:name=".MainActivity" android:label="@string/app_name" android:windowSoftInputMode="stateAlwaysVisible" />