Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to continuously run shadow effect through texts in android text view? [closed]

enter image description here

How to run shadow effect through the texts in android text view. Pls refer the above image. white color shadow runs from the starting letter 'S' to end letter 's' of text "Slide for options". Current white shadow position 'opt' in "options". Thanks!

like image 887
ramkumar5035 Avatar asked Jan 03 '14 12:01

ramkumar5035


People also ask

How do I add shadow to text on Android?

You can apply shadow to TextView in two ways: either pragmatically or in the xml layout. android:shadowDx specifies the X-axis offset of shadow. You can give -/+ values, where -Dx draws a shadow on the left of text and +Dx on the right. android:shadowDy specifies the Y-axis offset of shadow.

How to add shadow effect in android studio?

Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main. xml. In the above tags indicates about shadow color, Axis's(X, Y) and shadow radius for text view.


1 Answers

TextView Slide effect example, like iPhone style "Slide to unlock"

try this. https://github.com/FrankNT/TextViewSlideEffect

like image 84
RVG Avatar answered Oct 19 '22 21:10

RVG