android-softkeyboard

RecyclerView hides Toolbar and layout when SoftKeyboard is visible

折月煮酒 提交于 2019-12-13 01:23:25
问题 I've a problem exactly like this LINK, same situation and same components in layouts. The only difference is the toolbar, but obviously i'm using appcompat and the behaviour is the same. Attention, not only the toolbar is hided, but also the upper part of the recyclerview. Is like if the entire fragment is translated up when the softkeyboard is visible. I'm using a toolbar like this in the main.xml of my activity: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:/

Phonegap on Android: Layout scrollable when using keyboard

社会主义新天地 提交于 2019-12-12 18:25:01
问题 I just started creating a mobile application with Maqetta for phonegap on Android and WindowsPhone. The application includes some webpages with text-input so I need the soft-keyboard to work. My problem is that the keyboard reacts totally different on the two operating systems. On windows phone, when I click a text box, the Keyboard shows up and covers all the things that are located underneath it. To reach the other text boxes, I can still scroll in the field that shows my website and select

how to avoid soft keyboard showing auto correct suggestion?

自作多情 提交于 2019-12-12 14:42:01
问题 I dont want my softkeyboard show these suggestions and any of the symbols like !, ", ,, :,'. 回答1: To stop offering suggestions, add the following attribute to your EditText in XML: android:inputType="textNoSuggestions" and/or add multiple types using | as below: android:inputType="textNoSuggestions | text" 回答2: You can add this line to you EditText android:inputType="textFilter" See here why it sometimes better than textNoSuggestions 来源: https://stackoverflow.com/questions/11519030/how-to

Soft keyboard pushing up layout or hidding action bar

只谈情不闲聊 提交于 2019-12-12 14:41:23
问题 I have an issue with soft keyboard on my project. I already have set my Manifest file with android:windowSoftInputMode="adjustPan" With that my keyboard and EditText are visible. But just like the question linked below, the buttons on the bottom of the screen are pushing up along with keyboard. https://stackoverflow.com/questions/5516216/how-to-avoid-soft-keyboard-pushing-up-my-layout#= My layout consistis of a RelativeLayout base with 2 LinearLayout (One Top, One bottom with buttons) and a

Retain soft-input/IME state on Orientation change

时间秒杀一切 提交于 2019-12-12 11:14:01
问题 I'm having a small user experience issue in my app; When changing from landscape to portrait (or portrait to landscape) with the Soft Keyboard open, the keyboard hides. What I want to do is to stop the keyboard hiding on orientation change. ( Edit - I don't want to force the keyboard open, if the keyboard was hidden before the orientation change, I want it to stay hidden - I want to retain the keyboards open/closed state). I've looked around for an answer and it seems adding stateUnchanged to

Android : Showing keyboard hides listview contents

送分小仙女□ 提交于 2019-12-12 08:07:20
问题 like in this post : Keyboard hides ListView contents I can't See Contents of my first few rows of my ListView when Keyboard is Visible. Because my first probleme was to have my element in the bottom so i've follow this tips : Android : Showing keyboard moves my components up, i want to hide them instead but android:windowSoftInputMode="adjustPan" created another issue, my listview is not resize when my keyboard is up and i can't see my first few rows Thanks 回答1: I had the same issue and

Disabling the keyboard's send button when nothing has been typed yet [Android]

别等时光非礼了梦想. 提交于 2019-12-12 07:46:32
问题 I'm creating a search option in an android application. After pressing "Search" on the screen-keyboard an event triggers which sends the query to the server. What I want to do is disable the "Search" button on the screen-keyboard when no text has been typed in it's corresponding EditText yet. I added this to the EditText : android:imeOptions="actionSearch" So that's why the keyboard has got a "Search" button in stead of the default "enter"/"done". (Just in case you where wondering). 回答1: We

How to change background color or theme of keys dynamically in Custom Keyboard Android

给你一囗甜甜゛ 提交于 2019-12-12 07:20:01
问题 I am working on Custom keyboard app I need to set or change background theme or color of keyboard .their setting.xml view in my app where user can select different background theme and different color for key rows. during first time launch of application it is working fine but next time when custom keyboard is displaying theme is not changed. I am using this code: public class SoftKeyboard extends InputMethodService implements KeyboardView.OnKeyboardActionListener { static final boolean DEBUG

android soft keyboard overlays the edittext in recyclerview in bottomsheet

為{幸葍}努か 提交于 2019-12-12 04:13:21
问题 I have a few EditText in RecyclerView that is inside of a BottomSheetDialog . The problem I have now is that when BottomSheetDialog is shown on the screen, I tap on for example the 7th EditText in the RecyclerView . Soft keyboard appears and overlays the EditText , so I can't see what I type. but if I dragged the BottomSheetDialog a bit up, EditText then won't be covered by soft keyboard even if I tap on last EditText on the screen. RecyclerView is definitely resized in this case but doesn't

Keyboard hides EditText when selected

别来无恙 提交于 2019-12-12 03:17:25
问题 I am facing an issue where the keyboard hides an editText when the editText is selected for the second time, the first time editText is selected the keyboard behaves as expected. The issue only occurs when I set the editText input type to "NumberDecimal" but when it's set to "Default" the keyboard behaves normally as well. I have tried the following without success: android:windowSoftInputMode=“adjustResize" below is a snippet from the layout file <LinearLayout android:layout_width="match