gpt4 book ai didi

安卓发光边框

转载 作者:太空宇宙 更新时间:2023-11-03 10:54:15 25 4
gpt4 key购买 nike

我使用这个例子创建了一个边框:

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com