Maybe some kind of background: I'm trying to make a user click on it scroll a full-screen EditTextview on the keyboard. The problem is that if the cursor is at the bottom EditText, it is hidden by a pop-up keyboard view.
The obvious difference from the usual IME view is that the IME view pushes EditTextto the beginning and allows the user to scroll all EditTextin this upper area. The keyboard view is below. Everything is visible and accessible. This is what I want to achieve with my popup.
Therefore, my question is: what does the layout look like when a regular IME is visible? I don't need animation (if it's hard to do, I can skip this part).
I tried to skip the layout hierarchy to see what was different. Here it is visible with IME:
root: com.android.internal.policy.impl.PhoneWindow$DecorView
android.widget.LinearLayout
android.widget.FrameLayout
android.widget.TextView
android.widget.FrameLayout
android.widget.RelativeLayout
android.widget.ScrollView
android.widget.EditText
com.mytest.KeyboardView
Here it is without IME, and my popup view is visible:
root: com.android.internal.policy.impl.PhoneWindow$DecorView
android.widget.LinearLayout
android.widget.FrameLayout
android.widget.TextView
android.widget.FrameLayout
android.widget.RelativeLayout
android.widget.ScrollView
android.widget.EditText
com.mytest.KeyboardView
Obviously, there is no difference. Is there really no IME?
For easier understanding, I marked my application with "# 1", so it RelativeLayoutis the root element in my XML layout.
Can anybody help me? If anyone has a ready-made XML-style format, I would be more than happy to see it.
Update
To date, I believe that I was mistaken in thinking that the IME representation would fall into the activity layout hierarchy.
In the meantime, I was trying to get the job done PopupWindow, but couldn't come up with anything that would fix the hidden cursor problem in EditText.
: IME- ? , ?