Android简单学习使用PictureSelector框架图片选取裁剪
关于
本篇仅是简单学习使用这个框架,内容比较简单,如果想要详细了解PictureSelector的使用方法,可以前往此仓库。
效果图
第一步,添加引用
implementation 'com.github.wildma:PictureSelector:1.2.0'
第二步,新建activity_main.xml布局文件
<?xml version="1.0" encoding="utf-8"?>
<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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">
<com.example.myapplication.widget.DefinitionVideoView
android:id="@+id/player"
android:layout_width="match_parent"
android:layout_he