android-softkeyboard

Chat head kind of pop up with edit text. But key pad not coming up when clicked inside

主宰稳场 提交于 2019-12-25 01:35:52
问题 I have implemented chat head kind of pop up for my application using service. And I have used edit text inside that. But problem is that when I click on edit text only cursor is visible and keyboard is not coming up. And not even able to select or copy paste the text inside that edit text. Any help? Thanks 回答1: I found solution to my problem. I was using the following code earlier:- Global variables:- private WindowManager mWindowManager; WindowManager.LayoutParams params; Then in onCreate of

How can I get My entire BottomSheetDialog to show above my keyboard?

喜你入骨 提交于 2019-12-24 21:26:10
问题 I have a BottomSheetDialog that pops up on click of a button. The Dialog contains an EditText , and on the focus of that EditText , the Dialogs Pans only up to the EditText , Leaving my Submit button below it hidden My Code: mBottomSheetDialog = new BottomSheetDialog(MyActivity.this); sheetView = getLayoutInflater().inflate(R.layout.my_bottom_sheet, null); mBottomSheetDialog.setContentView(myView); mBottomSheetDialog.show(); I have Tried using adjustPan , but that only works up to the

Popup Keyboard like Android Default keyboard

爱⌒轻易说出口 提交于 2019-12-24 15:26:58
问题 Imagine a normal keyboard in android (like English). When pressing and holding A for a while, a new menu with á, ä and other buttons popups up. And while still holding the first finger down on screen, you slide it on top of another of those buttons. As you slide it over a button, it gets into highlighted mode , and when you slide out the highlighting is turned off. If you release the finger, the popup buttons disappear. If you held the finger over one of the buttons, that button's character

Android custom keyboard?

江枫思渺然 提交于 2019-12-24 08:39:08
问题 Hello I am working on Custom KEYBOARD for my app. i.e <Keyboard android:keyWidth="%10p" android:keyHeight="50px" android:horizontalGap="2px" android:verticalGap="2px" > <Row android:keyWidth="32px" > <Key android:keyLabel="A" /> ... </Row> ... </Keyboard> I want to know is there any method or android tag available for set invisible or visible the keyboard board key . like android:visibility="gone" or setVisibility(View.GONE) for Keyboard layout. Cause in my app there are many variation in

LibGDX - how to catch a backbutton inside a TextField with Android Keyboard visible?

自作多情 提交于 2019-12-24 07:29:43
问题 I'm trying to catch the Back button while the TextField is focused (keyboard is visible). I have already tried with Multiplexer - setting the ' BackProcessor ' on the top of the stages - it doesn't work: InputProcessor backProcessor = new InputAdapter() { @Override public boolean keyDown(int keycode) { if ((keycode == Input.Keys.BACK) ) { Gdx.app.log("INPUT", "BACK"); } return false; } }; InputMultiplexer multiplexer = new InputMultiplexer(backProcessor, loginStage,registerStage); Gdx.input

Custom AOSP Keyboard Error: DictionaryProvider ClassNotFoundException

会有一股神秘感。 提交于 2019-12-24 05:13:07
问题 I'm trying to build the AOSP keyboard from the 5.0.2 branch after adding some custom code to obtain pressure values for key touches. I'm using lunch full-eng to build the source and using mm to build LatinIME after I've added my changes. I'm then pushing LatinIME to /system/apps/ on my Galaxy S3 after removing the previous version. I'm running an unofficial version of CM12 5.0.2 on the device. The error I get is below which appears to have nothing to do with my code changes but more likely in

Close/hide the Android Soft Keyboard and Show custom keyboard

放肆的年华 提交于 2019-12-24 03:16:56
问题 I have make my own keyboard, in my activity there is an option (English-Hindi, Hindi-English) when user choose English-Hindi the default keyboard will be open and hide my custom keyboard or when user select Hindi-English option the default keyboard will be hide and custom keyboard will be opened up below is my source code, private EditText mEt; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow()

Keyboard not shown on inflated editText even after clicking on it

不想你离开。 提交于 2019-12-24 00:58:47
问题 Background I have a form-like activity, which has some views that can be created dynamically upon pressing. I'm using an xml for each field that is inflated upon clicking on a button. What I need is that upon choosing to add a new item, it will get focus, scroll if needed, and show the keyboard so that the user can type things into it. The keyboard may be shown upon adding the field or when clicking on the EditText. The problem For some reason, on some devices (and I don't think it's even an

Keyboard placement obscures view below EditText would like to keep visible

喜欢而已 提交于 2019-12-23 22:57:45
问题 I have an activity that is basically a long form of entry fields. On each row, I want to show a TextView to serve as hint text just below each EditText and I want the TextView to remain visible at all times when the user is entering data. Unfortunately, the soft keyboard obscures the hint text and always positions itself immediately below the EditText. Is there any technique that will allow the TextView below the EditText to also be visible when the soft keyboard appears and the contents are