【问题标题】:How to outline android's TextView text?如何概述android的TextView文本?
【发布时间】:2010-07-13 20:56:20
【问题描述】:

有没有办法勾勒android的TextView文本?

【问题讨论】:

标签: android user-interface widget


【解决方案1】:

所以,有点晚了,但MagicTextView 会做文本大纲,除其他外。

<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" />

注意:我做了这个,并且为了未来的旅行者,我发布了比 OP 更多的内容。 这是边缘垃圾邮件,但在主题上,也许可以接受?

【讨论】:

    【解决方案2】:

    根据这个似乎没有简单的方法:Android textview outline text

    【讨论】:

    猜你喜欢
    • 2020-11-30
    • 2020-10-05
    • 1970-01-01
    • 1970-01-01
    • 2018-05-22
    • 2016-10-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多