如何为TextView上的字符添加边框

时间:2017-04-28 17:52:43

标签: android

我知道我可以添加一个看起来像边框的阴影,其中包含:

<TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:shadowColor="@color/black"
            android:shadowRadius="10" />

但是那个阴影有一定的模糊,使它看起来很阴暗,我不知道如何删除。如何为我的角色添加边框,就像阴影一样,它看起来不像阴影,而是像边框一样?

示例:

like this

0 个答案:

没有答案