开发者

How to outline android's TextView text?

开发者 https://www.devze.com 2023-01-07 09:16 出处:网络
Is there a way to out开发者_如何转开发line android\'s TextView text?So, little late, but MagicTextView will do text outlines, amongst other things.

Is there a way to out开发者_如何转开发line android's TextView text?


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

How to outline android's TextView text?

<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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消