0
点赞
收藏
分享

微信扫一扫

如何让Android下的多行EditText光标默认在第一行


只要加上android:gravity="top"就OK了:

<EditText
android:hint="投诉或建议内容"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top"
android:minLines="10"
/>


举报

相关推荐

0 条评论