![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android自定义View
跑掉的安眠曲
这个作者很懒,什么都没留下…
展开
-
selector ImageView
111原创 2022-07-29 18:55:33 · 227 阅读 · 0 评论 -
Android 动态 ImageView
需求:界面有时候显示图片的数量未知,需要在代码中动态添加图片。案例一个ImageView 显示3张图片方法步骤:1:布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"原创 2020-11-11 17:13:22 · 333 阅读 · 0 评论 -
Android 自定义ImageView平移、 滑动、缩放滑动
代码:https://github.com/wwliyineng/-imagView 1:代码 要导入v7包才行 :implementation 'com.android.support:appcompat-v7:25.3.1'allprojects { repositories { jcenter() maven { url "https://maven.google.com" ...原创 2020-11-10 16:05:59 · 775 阅读 · 0 评论 -
Android 自定义 滚动 ViewDragHelper
参考网站:(1)https://blog.csdn.net/briblue/article/details/73730386(2)https://www.jianshu.com/p/111a7bc76a0e原创 2020-11-05 17:55:47 · 73 阅读 · 0 评论