上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: 自定义BitmapChangeView: package top.lc951.myandroid.views; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas 阅读全文
posted @ 2022-07-29 09:00 lichong951 阅读(406) 评论(0) 推荐(0)
摘要: 自定义裁剪类CropImageView: package top.lc951.myandroid.views; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas 阅读全文
posted @ 2022-07-28 09:00 lichong951 阅读(50) 评论(0) 推荐(0)
摘要: 图像转换封装工具类BitmapUtil: /** * 图片位图转换工具 * * @author lichong * 2022年07月26日15:35:16 */ public class BitmapUtil { public static final String TAG = BitmapUtil 阅读全文
posted @ 2022-07-27 08:42 lichong951 阅读(85) 评论(0) 推荐(0)
摘要: 自定义RippleImageView继承原生ImageView,代码如下: package top.lc951.myandroid.views; import android.annotation.SuppressLint; import android.content.Context; impor 阅读全文
posted @ 2022-07-26 14:44 lichong951 阅读(26) 评论(0) 推荐(0)
摘要: 自定义装饰ImageView类:DecorateImageView public class DecorateImageView extends ImageView { private Paint mPaint=new Paint(); private int mWidth,mHeight; pri 阅读全文
posted @ 2022-07-25 16:50 lichong951 阅读(51) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/video/video.wxml--> <video id="myVideo" src="http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f020169040 阅读全文
posted @ 2022-07-22 08:46 lichong951 阅读(208) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/image/image.wxml--> <view class="page__hd"> <text class="page__title">image</text> <text class="page__desc">图片</text> </view> <view cl 阅读全文
posted @ 2022-07-21 14:55 lichong951 阅读(102) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/camera/camera.wxml--> <camera device-position="back" flash="off" binderror="error" style="width: 100%; height: 300px;"></camera> <butt 阅读全文
posted @ 2022-07-20 23:12 lichong951 阅读(107) 评论(0) 推荐(0)
摘要: 自动聚焦 UI布局如下: <!--pages/textArea/textArea.wxml--> <view class="section"> <textarea bindblur="bindTextAreaBlur" auto-height placeholder="自动变高" /> </view 阅读全文
posted @ 2022-07-20 22:39 lichong951 阅读(172) 评论(0) 推荐(0)
摘要: UI布局: <!--pages/switch/switch.wxml--> <view class="section__title">type="switch"</view> <view class="body-view"> <switch checked="{{switch1Checked}}" 阅读全文
posted @ 2022-07-20 15:10 lichong951 阅读(58) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页