Tôi có EditText
văn bản chỉnh sửa Android cách bắt đầu nhập ở trên cùng bên trái?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:lines="5"
android:singleLine="false"
android:text="@string/app_name" />
</LinearLayout>
vấn đề này của tôi là gõ bắt đầu từ giữa EditText.
Câu hỏi của tôi là cách bắt đầu nhập ở trên cùng bên trái của EditText?
bạn phải android: gravity = "top | left" –