任何人可以告诉如何在Android中显示的背景图像中的的TextView
?
can anybody tell how to display background image in a TextView
in android?
如果您正在使用XMLS你可以将其添加为普利文Chandrasekaran说,这样做的:
If you are working with xmls you can add it as Praveen Chandrasekaran said doing:
android:background="@drawable/myResouce"
您可以将它从code做的还改变:
You can also change it from the code doing:
mTextView.setBackgroundResource(R.drawable.myResouce);