Android发光边框

我正在使用此示例创建边框:

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

上一篇:google浏览器插件fq教程


下一篇:将辉光添加到基本Java矩形