Android Question Who Know This Bug?

Infotech

Member
Licensed User
see my cursor and keyboard not recognize when i star new activity and back activity again :(:(
 

Attachments

  • Screenshot_2017-05-03-10-50-32.png
    Screenshot_2017-05-03-10-50-32.png
    47 KB · Views: 149
  • Screenshot_2017-05-03-10-50-26.png
    Screenshot_2017-05-03-10-50-26.png
    44.5 KB · Views: 137
  • Screenshot_2017-05-03-10-50-08.png
    Screenshot_2017-05-03-10-50-08.png
    38.9 KB · Views: 142

Infotech

Member
Licensed User
Sorry, the problem is edittext if for example i open activity, the screen on my android does not appear as the first show. So when i will type the word not visible on the screen
 
Upvote 0

Infotech

Member
Licensed User
hehehe sorry reonell
 

Attachments

  • InputTransaksi.bas
    12.2 KB · Views: 169
  • InputData.bas
    5 KB · Views: 172
  • InputTransaksi.bas
    12.2 KB · Views: 157
Upvote 0

eps

Expert
Licensed User
Longtime User
I think the problem is that the keyboard is covering the input field...

OP have you seen https://www.b4x.com/android/forum/threads/handle-the-soft-keyboard-with-the-ime-library.14832/

Making note of the text

"Handling the screen size changed event
When the keyboard opens the available screen size becomes much shorter. By default if the EditText is located near the bottom of the screen, Android will "push" the whole activity and make the EditText visible. This mode is named "adjustPan" mode.

By calling IME.AddHeightChangedEvent you are changing the activity to "adjustSize" mode. In this mode the activity will not be pushed automatically. Instead the HeightChanged event will be raised when the keyboard is shown or hidden."

But you need to enable your Activity to handle this... if it is fullscreensize you may well need to do something else..

There is also this https://www.b4x.com/android/forum/threads/keyboard-covering-entry-field.28088/
 
Upvote 0
Top