Giter Club home page Giter Club logo

woodenfish's Introduction

WoodenFish

自制的安卓电子木鱼Android Wooden Fish,点击会有+1动画,可以设置是否开启振动和声音,可以自定义数值,置零数值。

效果视频展示

抖音视频地址:

https://v.douyin.com/BFq7QUW/

开发环境

Android Studio

API > 21 安卓5.0以上 minSdk 21 targetSdk 33

实现说明

点击+1,木鱼图片设置监听setOnTouchListener,重写OnTouch方法,然后处理缩放、+1动画,声音播放,振动等操作;其中数据存储处理用到了SharedPreferences保存数据键值对。

用到的依赖

点击的+1动画用到的仓库

https://github.com/DYNC-Android/AddHeart

UI和多媒体部分

PS自制的木鱼图片

其他UI图标来源于网站IconFont

https://www.iconfont.cn/

木鱼敲击音频来源于

https://www.tosound.com/search/word-%E6%9C%A8%E9%B1%BC

+1图片来源于制作图网

https://www.zhizuotu.com/

效果图片展示

Screenshot_2023-01-31-20-18-45-15_911ae26e9e65e8927a789d974f8fb67e

woodenfish's People

Contributors

bunny-chz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.