设置TextView的background属性android:layout_width="wrap_content"android:layout_height="wrap_content"android:background="#ff0000"/>background不能去引用一个color资源,必须直接使用颜色值