Android TextView Shadow Outline

August 17, 2017
Use android:shadowColor

Below is white color text with a black color shadow outline.

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Small Text"
    android:textColor="#fff"
    android:shadowColor="#000"
    android:shadowDx="2"
    android:shadowDy="2"
    android:shadowRadius="1.5"
    />
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.