【问题标题】:How to make a swipe strobe..?如何制作刷卡频闪..?
【发布时间】:2015-12-12 01:52:48
【问题描述】:

我正在浏览我刚刚下载的应用程序(超亮 LED 手电筒)(https://play.google.com/store/apps/details?id=com.surpax.ledflashlight.panel&hl=en),我有兴趣在我的应用程序中实现闪光灯,就像在应用程序中一样,但不知道从哪里开始.请帮忙。

【问题讨论】:

标签: android user-interface view android-custom-view


【解决方案1】:

您可以关注github中的Wheel查看库:

像这样使用它:

<it.sephiroth.android.wheel.view.Wheel
            android:id="@+id/wheel"
            xmlns:sephiroth="http://schemas.android.com/apk/res-auto"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            sephiroth:numRotations="6"
            sephiroth:ticks="28" />

它看起来像这样:

【讨论】:

  • 没问题!很高兴我能帮上忙。请记住将我的答案标记为正确,以便每个人都可以在需要时在搜索中找到此库。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-03-06
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-04-18
  • 1970-01-01
相关资源
最近更新 更多