Android: 以編程方式設置 EditText 只讀

EditText et = new EditText(this); et.setInputType(InputType.TYPE_NULL); et.setTextColor(Color.GRAY);
相關文章
相關標籤/搜索