MrKim Well-Known Member Licensed User Longtime User Sep 20, 2017 #1 How can I prevent the soft keyboard from opening for one particular edit text. It is too high on the Activity so IME_HeightChanged doesn't seem to fire. _FocusChanged only works when you first enter the View. I have built my own keyboard but I want the user to be able to set the cursor where he wants just like any other edittext. Problem is every time you touch the view the keyboard pops up. Thanks. Last edited: May 28, 2021
How can I prevent the soft keyboard from opening for one particular edit text. It is too high on the Activity so IME_HeightChanged doesn't seem to fire. _FocusChanged only works when you first enter the View. I have built my own keyboard but I want the user to be able to set the cursor where he wants just like any other edittext. Problem is every time you touch the view the keyboard pops up. Thanks.
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2017 #2 Make sure to check this numpad: https://www.b4x.com/android/forum/threads/customview-numpad.64191/#content You can set the input type to none. Upvote 0
Make sure to check this numpad: https://www.b4x.com/android/forum/threads/customview-numpad.64191/#content You can set the input type to none.
MrKim Well-Known Member Licensed User Longtime User Sep 20, 2017 #3 Erel said: Make sure to check this numpad: https://www.b4x.com/android/forum/threads/customview-numpad.64191/#content You can set the input type to none. Click to expand... RE:You can set the input type to none. Then I can't click in the box to set the cursor location. It is like it Disables the view. I did take a look at your custom keyBoard, but I have already built what I needed, because of room constraints I made a transparent numeric keypad that can be moved around with GestureDetector. I wasn't sure I could modify your Gem as quickly as I could create my own. (I would like to know where you got the symbol for the backspace key, I am just using << because I don't have the tools/skill/time to make one as an image with a transparent background.) Upvote 0
Erel said: Make sure to check this numpad: https://www.b4x.com/android/forum/threads/customview-numpad.64191/#content You can set the input type to none. Click to expand... RE:You can set the input type to none. Then I can't click in the box to set the cursor location. It is like it Disables the view. I did take a look at your custom keyBoard, but I have already built what I needed, because of room constraints I made a transparent numeric keypad that can be moved around with GestureDetector. I wasn't sure I could modify your Gem as quickly as I could create my own. (I would like to know where you got the symbol for the backspace key, I am just using << because I don't have the tools/skill/time to make one as an image with a transparent background.)
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2017 #4 I guess that there is no cursor when the standard keyboard is disabled. Upvote 0
MrKim Well-Known Member Licensed User Longtime User Aug 2, 2018 #6 I forgot to put my solution in this: I put a panel over the top of the edit text and put IME.HideKeyboard in the click event. Upvote 0
I forgot to put my solution in this: I put a panel over the top of the edit text and put IME.HideKeyboard in the click event.