No its notI don't think that it is related to TabStrip. Is this a full screen activity?
Yep sure have. I have followed the tutorial exactly.Have you added the adjustResize flag: https://www.b4x.com/android/forum/threads/handle-the-soft-keyboard-with-the-ime-library.14832/ ?
At this stage I only have the following line of code but when run in debug mode I put a break point on that line and it never goes in there.What code do you have in this sub:
Sub IME_HeightChanged(NewHeight As Int,OldHeight As Int)
Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int)
feedbackText.Top = NewHeight - feedbackText.Height
End Sub
Since the feedbackText edittext is a child of the panel, did you try this and still have issues.At this stage I only have the following line of code
Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int)
feedbackPanel.Top = NewHeight - feedbackPanel.Height
End Sub
Made no differenceSince the feedbackText edittext is a child of the panel, did you try this and still have issues.
B4X:Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int) feedbackPanel.Top = NewHeight - feedbackPanel.Height End Sub
According to the below link:, Erel writes:But this is in a different activity. Should there be multiple entries for multiple activities?
SetActivityAttribute(main, android:windowSoftInputMode, adjustResize|stateHidden)
SetActivityAttribute(VehicleOnly, android:windowSoftInputMode, adjustResize|stateHidden)
Erel, Are you sure you are not missing this line from the main activity in your posted project:Project with TabStrip + IME + B4XPages is attached. Works fine.
B4XPages.GetManager.RaiseEvent(B4XPages.GetManager.GetTopPage, "IME_HeightChanged", Array(NewHeight, OldHeight))
It is indeed missing if you want to handle the event in the top page. I just tested whether the event is actually raised.Erel, Are you sure you are not missing this line from the main activity in your posted project:
So what is the verdict with your issue. I tested Erel's project using B4XPages and it works. I created a similar project without the B4XPages method and it works. Can you please tell us if you solved it or not. When you receive help in the forum, you need to reciprocate by outlining your solution or accept the proposed solutions.I have added to manifest but still IME_HeightChanged event never gets called.
Tried vehicleonly all lower case and didn't help
Sorry if i'm not going fast enough for you but I have a job as well.So what is the verdict with your issue. I tested Erel's project using B4XPages and it works. I created a similar project without the B4XPages method and it works. Can you please tell us if you solved it or not. When you receive help in the forum, you need to reciprocate by outlining your solution or accept the proposed solutions.
I would rather not deal with private data, but I created a simple project for you that raises and lifts the edittext views and button above the keyboard when the focus shifts to the edittext(s) They are on a tabstripviewpager on the second activity other than main. I have tested it thoroughly on two devices and it works for me. I hope you can check it out and hope it sheds some light on your project.Okay I have no idea how to find my problem
I have played with your example and added stuff to it etc all works perfectly.I would rather not deal with private data, but I created a simple project for you that raises and lifts the edittext views and button above the keyboard when the focus shifts to the edittext(s) They are on a tabstripviewpager on the second activity other than main. I have tested it thoroughly on two devices and it works for me. I hope you can check it out and hope it sheds some light on your project.