Android Code Snippet Add shadow for text

With below function you can set shadow for text (label or i think edittext)

Code: Copy
Sub SetTextShadow(pView As View, pRadius As Float, pDx As Float, pDy As Float, pColor As Int)
   Dim ref As Reflector
  
   ref.Target = pView
   ref.RunMethod4("setShadowLayer", Array As Object(pRadius, pDx, pDy, pColor), Array As String("java.lang.float", "java.lang.float", "java.lang.float", "java.lang.int"))
End Sub
 
No. But do not worry can happen, the forum is great and so many questions.

A good thing is always to do a search before you ask a question or add a code.
 
Back
Top