android——TextView默認文字開發時顯示運行時隱藏

根佈局添加屬性:

 

[java]  view plain  copy
 
  1. xmlns:tools="http://schemas.android.com/tools"  

textview添加屬性:

[java]  view plain  copy
 
  1. tools:text="默認文字" 
相關文章
相關標籤/搜索