0

Possible Duplicate:
How to make text glow?

I am wondering how to add an inner glow to a TextView in my Android layout.

I have searched and only was able to find how to do Inner Shadow on Android.

Is there a convenient and fast way to get inner glow to surround a TextView please, or get a similar effect?

Community
  • 1
  • 1
user1777907
  • 1,355
  • 4
  • 12
  • 28

1 Answers1

2

You have to use android:shadowColor, android:shadowDx,android:shadowDy & android:shadowRadius in TextView

jcw
  • 5,132
  • 7
  • 45
  • 54
kumar_android
  • 2,273
  • 1
  • 21
  • 30
  • Will try that! Thanks a lot! :) I will let you know if I get it to work. – user1777907 Dec 03 '12 at 19:31
  • I am having some issues seeing the inner glow. I am also including an android:background which has a with a solid color and corners. I have tried removing the android:background, and changing the inner glow from #FFFFFF to #000000 but I still do not see it. Any clue please? – user1777907 Dec 03 '12 at 19:59
  • I think I did not explain my question correctly. I wanted to make inner glow for the TextView itself (the boundaries of my rectangle), and not the text (there is actually no text in it). I believe I need to use 9-patch. – user1777907 Dec 03 '12 at 20:10