Ich möchte mein Layout verschieben, wenn die Tastaturen in meiner App angezeigt wird. Ich habe adjustResize, adjustPan und beide für die Aktivität verwendet, aber keiner von ihnen funktioniert und es zeigt immer noch die Tastatur auf dem Formular und bewegt das Layout nicht über.android - Tastatur zeigt auf Formular trotz Verwendung von adjustResize
das ist mein Layout:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
............... my views
</LinearLayout>
</ScrollView>
</RelativeLayout>
wie kann ich es funktioniert machen?
Versuchen Sie, android: isScrollContainer = "false" mit Android : windowSoftInputMode = "adjustNothing" oder android: windowSoftInputMode = "adjustPan" –