我使用这个例子创建了一个边框:
Is there an easy way to add a border to the top and bottom of an Android View?
我想知道有没有办法让边框发光? 我希望它看起来像这样: https://g1.gstatic.com/android/market/com.feelingtouch.glowsnake/ss-480-4-4
谢谢!
最佳答案
当然,只需制作一个 9 色补丁并将其用作背景即可。 https://developer.android.com/studio/write/draw9patch.html
关于安卓发光边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8303550/