Hello, then .. I am looking for a solution for when the user sends the message the keyboard close automatically.Thank you in advance.
<Button
android:id="@+id/singleComentBtn"
android:layout_width="80dp"
android:layout_height="40dp"
android:background="@drawable/btnchat"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginBottom="4dp"/>
<EditText
android:id="@+id/singleBlogComent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/retangulo"
android:layout_marginBottom="4dp"
android:layout_marginLeft="3dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/singleComentBtn"
android:layout_alignParentBottom="true"
android:layout_toLeftOf="@+id/singleComentBtn"
android:layout_alignTop="@+id/singleComentBtn"
/>