edittext covered by keyboardAndroid BottomSheetDialog mit EditText von Tastatur bedeckt
Hier ist mein Dialog-Layout Inhalt. Wenn die Schaltfläche auf dem Bildschirm angeklickt wird, wird dieser Dialog angezeigt und von der Tastatur abgedeckt. Wie man dieses Problem löst?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="#FFFFFF"
android:layout_width="400dp"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="textview"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<EditText
android:layout_width="30dp"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content" />
</RelativeLayout>
</LinearLayout>
Sie öffnen Tastatur auf die Schaltfläche klicken oder EditText klicken ?? –