由于我在使用
EditText et=new EditText(this);
locationEditText.setBackgroundDrawable(et.getBackground());
但setBackgroundDrawable(Drwable)在 Api 16 中不推荐使用,setBackground(Drwable)因为它是在 api 16 中添加的,并且我使用的是比这更早的版本
所以我只剩下两个函数了
是:setBackgroundColor(int color) 和setBackgroundResource(int resid)
那么如何EditText在 Holo Light Theme 中将其设置为默认值呢?