Ben içerik güncellendiğinde kaydırmak auto scrollview ile benim EditText sarmak için çalışıyorlar. I EditText alışkanlık da hem genişliği ve yüksekliği ile tüm kaydırma görünümü kapak sorun fill_parent ayarlanır bulundu. Lütfen beni aydınlat. Teşekkür ederim.
İşte kod:
<?xml version=1.0 encoding=utf-8?>
<RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent
>
<Button
android:[email protected]+id/sendButton
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentBottom=true
android:layout_alignParentRight=true
android:text=send
/>
<EditText
android:[email protected]+id/msgBox
android:layout_height=wrap_content
android:layout_width=fill_parent
android:layout_alignParentBottom=true
android:[email protected]+id/sendButton
android:gravity=left
android:longClickable=false
/>
<ScrollView
android:layout_width=fill_parent
android:layout_height=fill_parent
android:[email protected]+id/msgBox>
<EditText
android:[email protected]+id/chatBox
android:editable=false
android:gravity=left|top
android:cursorVisible=false
android:longClickable=false
android:clickable=false
android:autoLink=all
android:layout_width=fill_parent
android:layout_height=fill_parent/>
</ScrollView>
</RelativeLayout>