简体   繁体   English

如何在项目中添加类似UI的“解锁环”?

[英]How do I add a “unlock ring” like UI to my project?

I searched the last hour for any information on how to implement a UI widget that looks similar to the "unlock ring" (see screenshot below). 我在最后一个小时内搜索了有关如何实现类似于“解锁环”的UI小部件的任何信息(请参见下面的屏幕截图)。

I did not find any documentation nor libraries that provide such a UI, although I have seen some apps that use the same ring-style (eg the native caller screen) or at least similar styles (eg the alarm clock "Timely"). 我没有找到任何提供此类UI的文档或库,尽管我看到有些应用使用相同的铃声样式(例如本机呼叫者屏幕)或至少使用类似的样式(例如闹钟“ Timely”)。

Are there any libraries or APIs for implementing such a style? 是否有用于实现这种样式的库或API? Thank you! 谢谢!

截图

It seems that there are two libraries out there that provide such a function: 似乎有两个提供这种功能的库:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM