2012年3月12日
摘要: 在XML中设置android:drawableRight="@drawable/input_error"在代码中设置txtName.setCompoundDrawablesWithIntrinsicBounds(null, null, getResources().getDrawable(R.drawable.indicator_input_error), null);原来一直以为是txtName.setCompoundDrawables(null,null,getResources().getDrawable(drawable.indicator_input_error) 阅读全文
posted @ 2012-03-12 14:57 freexiaoyu 阅读(2718) 评论(1) 推荐(0) 编辑