views:

399

answers:

1

Hi Folks,

How can i make shadow effect Text in Text View. Any Idea?

Thanks..

+1  A: 

Perhaps you'd consider using android:shadowColor, android:shadowDx, android:shadowDy, android:shadowRadius; alternatively [setShadowLayer()][2]?

[2]: http://developer.android.com/reference/android/widget/TextView.html#setShadowLayer(float, float, float, int)

Pontus Gagge
@Pontus Gagge: This does not make any changes. I think it works. But the values that i set is a problem. can you post the sample value for `shadowdx` , `shadowdy` and `shadowradious`?
Praveen Chandrasekaran
You should post your code. Meanwhile, check the markup in examples like http://mobile.tutsplus.com/tutorials/android/customize-android-fonts/ (scroll down to Text Shadow section).
Pontus Gagge