Reputation: 159
I was wondering if there's a way to push my scrollView even higher up then that "android:windowSoftInputMode="adjustPan"
does. It looks kinda cramped the way it's currently. enter image description here
Heres a picture
Upvotes: 2
Views: 169
Reputation: 4157
you should use
"android:windowSoftInputMode="adjustUnspecified"
Layout .....check ---> layout_height for both
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:background="#F7F7F7"
android:layout_alignParentBottom="true">
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:hint="New Message"
android:textSize="16sp"
android:gravity="center_vertical"
android:background="@drawable/round_corner_msg_box"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:paddingLeft="5dp"
android:paddingStart="5dp"
android:layout_margin="5dp"/>
</RelativeLayout>
Upvotes: 1