Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glowing text contour in android.

how can I add a glowing text contour in android?

Here is an example:

enter image description here

like image 762
Xazen Avatar asked Mar 26 '12 07:03

Xazen


1 Answers

Add shadow to your textview with x , y = 0 and Radious value as much as you like to glow.

<TextView android:layout_width="wrap_content" 
android:layout_height="wrap_content" 
android:text="Glowing" 
android:textSize="40sp" 
android:textStyle="bold" 
android:shadowColor="#0000ff" 
android:textColor="#C02938" 
android:shadowDx="0.0" 
android:shadowDy="0.0" 
android:shadowRadius="10"/>
like image 54
Arslan Anwar Avatar answered Oct 20 '22 10:10

Arslan Anwar