I would like to make an inner shadow
on a textview
, But I can\'t find any example of that on the web.
Is there any way to do that on Androi
If you want the TextView
to have inner shadow like this:
you have to use 9-patch drawable like this one:
Set the 9-patch drawable as the TextView's background.
The attributes you mention: android:shadowColor, android:shadowRadius, android:shadowDx, android:shadowDy
serve other purpose, they create text shadow: