Multiline Edittext In Android With The Cursor Starting On Top
I know it seems it's an already thousand times answered issue but I haven't found anything that works for me. I have a MultiLine EditText on Android that adapts to the view size by
Solution 1:
<EditText
        android:id="@+id/txtContacto"
        android:layout_width="fill_parent"
        android:layout_height="0dip"
        android:gravity="top"
        android:inputType="textMultiLine" 
        android:weight="1">
    </EditText>
try the above code.. where layout gravity sets the edittext and gravity sets the content of edittext.
Post a Comment for "Multiline Edittext In Android With The Cursor Starting On Top"