随笔分类 -  android

摘要:先建立卡片 xml 。view_card_item.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android: 阅读全文
posted @ 2020-05-11 21:35 Yzh315 阅读(378) 评论(0) 推荐(0)
摘要:先上效果图 下面再上 https://github.com/JustinRoom/WheelViewDemo 中需要用到的几个类 1. IWheelViewSetting.java import android.support.annotation.ColorInt; /** * Wheel vie 阅读全文
posted @ 2020-04-28 23:58 Yzh315 阅读(196) 评论(0) 推荐(0)
摘要:整理之前项目,发现输入选择框还是很有意思,于是将这个组件单独拉出共享,希望这个组件对大家有用。 代码不是很多,代码里面也有相应的描述。就不做多说明了. 下面先上 MyInputSelection 控件类 1 import android.content.Context; 2 import andro 阅读全文
posted @ 2020-04-26 11:58 Yzh315 阅读(833) 评论(3) 推荐(0)
摘要:记得之前做过一个项目时,需要用到点补间动画。 当前端将产品提交我们测试时,点击按键后,发现没有动画,还以为没有做,就问了前端技术。 他说做了,等我退回到原来的界面,发现确实有动画,但这和我们事先设计的不对。 前端人员说,他是按照正常api设置的。setAnimation 方法,也不知道为啥是后执行动 阅读全文
posted @ 2020-04-22 10:37 Yzh315 阅读(541) 评论(0) 推荐(0)