When entering text in the Edittext
of whatsapp the keyboard is always positioned below Edittext
, without covering what you type and this edittext
increase in size depending on how much text is enter Does anyone have any idea how to do this?
I have an Edittext and a Button but basic
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
app:srcCompat="@android:drawable/ic_menu_send" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:layout_alignTop="@+id/fab"
android:layout_toLeftOf="@+id/fab"
android:layout_marginRight="17dp"
android:layout_marginEnd="17dp"
android:id="@+id/editText2" />