05 2020 档案
摘要:先给大家展示一下效果图: 点击头像会弹出对话框,提示选择路径相机,相册 代码如下: private ImageView iv; iv=findViewById(R.id.imagetouxiang); iv.setOnClickListener(new View.OnClickListener()
阅读全文
摘要:先看一下效果图 首先在res->values下新建一个xml命名为attrs <?xml version="1.0" encoding="utf-8"?> <resources> <declare-styleable name="RoundImageView"> <attr name="type"
阅读全文