我想要文本区域有5行高度。我用了下边的代码。
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:singleLine="false"
android:lines="5"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip" />
文本区域看起来是不错的,但是光标在文本区域的中间闪烁。我想要光标在文本区域的第一行的第一个字符闪烁。