Posts

Showing posts from March 1, 2019

softkeyboard pushing content outside the screen

Image
1 I want to add 2 buttons to the bottom of the screen. I can't add any layout at the bottom in scrollview, so I created 2 different layouts. But content is going outside of the screen when I open soft keyboard, it also goes out of screen on small screen devices (like 4 inch device). This is the layout.xml file <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/op" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".accept" tools