Android layout 在Android中的编辑文本中将光标位置设置为左侧
我想搬家 编辑文本的左侧光标位置 大多数方面。现在光标在Android layout 在Android中的编辑文本中将光标位置设置为左侧,android-layout,Android Layout,我想搬家 编辑文本的左侧光标位置 大多数方面。现在光标在EditText的中心闪烁 <EditText android:id="@+id/mytext" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="10dp"
EditText
的中心闪烁
<EditText
android:id="@+id/mytext"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="10dp"
android:layout_marginTop="15dp"
android:gravity="center"
android:inputType="textMultiLine|textCapSentences"
android:lines="5"
android:textSize="12dp" >
您使用的是
android:gravity=“center”
,而您必须使用android:gravity=“left”