Das ist einfach mein Layout:Wie EditText und Softkeyboard andere Ansichten angezeigt werden
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="ir11.co.tsco.fll.MainActivity">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bear"
android:text="Hello World!" />
<EditText
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="Comment ..."
/>
</RelativeLayout>
in manifest ich diese Eigenschaft für ihre Tätigkeit eingestellt haben:
android:windowSoftInputMode="stateHidden|adjustResize"
aber wenn ich berühren EditText und Softkeyboard erscheint, imageView wird verkleinert !! oder wenn ich die folgende Eigenschaft für ihre Aktivität einstelle:
android:windowSoftInputMode="stateHidden|adjustPan"
softkeyboard wird push imageView up !.
Das ist nicht was ich will. Ich möchte, dass Edittext + Softkeyboard über ImageView kommt, ohne die Bildansicht zu vergrößern oder zu verkleinern.
was soll ich tun?
Setzen Sie den relativen Eintrag in die Bildlaufansicht – silverFoxA