是否可以像这样在 Android 中的 TextView
文本上放置一个内部阴影:
谢谢!
最佳答案
MagicTextView会做内阴影。
<com.qwerjk.better_text.MagicTextView
xmlns:qwerjk="http://schemas.android.com/apk/res/com.qwerjk.better_text"
android:textSize="42dp"
android:textColor="#FFffff00"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:padding="10dp"
qwerjk:innerShadowDy="3"
qwerjk:innerShadowColor="#FF000000"
qwerjk:innerShadowRadius="5"
android:text="InnerShadow" />
注意:我做了这个,并且为了 future 的旅行者而不是 OP 发布更多内容。 这是边缘垃圾邮件,但切合主题,也许可以接受?
关于android - Android TextView 上的内部阴影,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7965730/