android------edittext

EditText的属性:
android:selectAllOnFocus如果文本是可选择的,让他获取焦点而不是将光标移动为文本的开始位置或者末尾位置。TextView中设置后无效果。
  当前组件在得到焦点的时候,
自动选取该组件内的所有的文本内容::android:selectAllOnFocus="true"

猜你喜欢

转载自wsyuzx.iteye.com/blog/1866122
今日推荐