Student
Student

Reputation: 28375

How to outline android's TextView text?

Is there a way to outline android's TextView text?

Upvotes: 2

Views: 8086

Answers (2)

ABentSpoon
ABentSpoon

Reputation: 5179

So, little late, but MagicTextView will do text outlines, amongst other things.

enter image description here

<com.qwerjk.better_text.MagicTextView
    xmlns:qwerjk="http://schemas.android.com/apk/res/com.qwerjk.better_text"
    android:textSize="78dp"
    android:textColor="#ff333333"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    qwerjk:strokeColor="#FFff0000"
    qwerjk:strokeJoinStyle="miter"
    qwerjk:strokeWidth="5"
    android:text="Magic" />

Note: I made this, and am posting more for the sake of future travelers than the OP. It's borderline spam, but being on-topic, perhaps acceptable?

Upvotes: 17

gregm
gregm

Reputation: 12169

It appears there is no easy way according to this: Android textview outline text

Upvotes: 1

Related Questions