對於EditText,不想啓動就獲得焦點

方法有:在EditText的上一個linearLlayout中設置如下參數

  android:focusable="true" 
  android:focusableInTouchMode="true"

 

EditText的屬性參考點擊打開鏈接http://www.cnblogs.com/xilinch/archive/2012/06/25/2560946.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章