Can I use the setup mode and save the selection mode on the screen?

I have an EditText element at the bottom of the screen (such as Whatsapp ie) and I use android: windowSoftInputMode = "adjustPan" to not hide the EditText when the keyboard appears. It works great, it pushes the whole layout so that you can see EditText.

Now the problem is that when I select the text, the action mode panel does not appear as if it had been pushed along with the layout.

I do not use an explicit action bar in my layout, this is the one that appears on pre M devices when selecting text.

The layout hierarchy is as follows:

<FrameLayout>
 <GLSurfaceView/>
 <EditText/>
</FrameLayout>

So, all I want to do is action mode to maintain its position even when the keyboard is opened using panning behavior.

adjustResize . , EditText, , , - GLSurfaceView.

!

+4

All Articles