window-soft-input-mode

Keyboard hiding EditTexts in Fragments

假装没事ソ 提交于 2019-11-30 03:35:47
edit: I need to use the keyboard, but it hides my EditText , I need it to scroll so the keyboard is not hiding it. I am using a Samsung tablet. My style: parent="android:Theme.Holo.NoActionBar.Fullscreen" The EditText fields are in a scrollable view, like so: The fragment layout: <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="match_parent" android:layout_width="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"

Android: Resize only parts of view with soft keyboard on screen

你说的曾经没有我的故事 提交于 2019-11-26 18:27:53
I have a view with a Edittext field on top of an ImageView. When the keyboard comes up I want the window to resize so that EditText is no longer hidden by the keyboard. In the AndroidManifest file I declared android:windowSoftInputMode="adjustResize" and the screen is resized but the issue is that I want the ImageView to not be re-sized. How can I make the ImageView unaffected? Could I inflate an additional layout with just the ImageView or will the resize still affect it? The full solution involves a few key points Use RelativeLayout , so that Views can be setup to overlap one another Align

windowSoftInputMode=“adjustResize” not working with translucent action/navbar

孤人 提交于 2019-11-26 12:15:14
问题 I have problems with the translucent actionbar/navbar in the new Android KitKat (4.4) and the windowSoftInputMode=\"adjustResize\" . Normaly changing the InputMode to adjustResize, the app should resize itself when keyboard is shown... but here it won\'t! If I delete the lines for the transparent effect, the resize is working. So if the keyboard is visible, my ListView is under it and I can\'t access the last few items. (Only by hiding the keyboard manually) AndroidManifest.xml <?xml version=

windowSoftInputMode=“adjustResize” not working with translucent action/navbar

主宰稳场 提交于 2019-11-26 12:02:56
I have problems with the translucent actionbar/navbar in the new Android KitKat (4.4) and the windowSoftInputMode="adjustResize" . Normaly changing the InputMode to adjustResize, the app should resize itself when keyboard is shown... but here it won't! If I delete the lines for the transparent effect, the resize is working. So if the keyboard is visible, my ListView is under it and I can't access the last few items. (Only by hiding the keyboard manually) AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="XYZ"