erfan erfan - 4 months ago 11
Java Question

How to make custom color text in android studio?

i want know it is possible to make text like this

look at image

note : i use shadow but not so use full for me . i want make color text with 2 color like image
if some body know help me

<com.example.fabulous.comic.CustomTXT

android:textColor="@color/white"
android:shadowColor="@color/blacke"
android:layout_margin="2dp"
android:id="@+id/txt"
android:text="hellow"
android:layout_width="match_parent"/>
android:layout_height="wrap_content"/>

Answer

Yes you can create text like this see my previous detail answer here.

Set text color to white and outline color toblack.

Comments