Android 上传头像自定义(剪切、平移,缩放)

上传者: u014452224 | 上传时间: 2019-12-21 21:30:25 | 文件大小: 1.05MB | 文件类型: zip
此资源根据模仿微信自定义裁剪图片的,实现了拍照上传裁剪和选择相册裁剪在三星、华为、小米、魅族手机,解决了三星手机上面的旋转问题。由于实现此功能浪费了我大半天时间,就在这里讨了2积分的赏!

文件下载

资源详情

[{"title":"( 80 个子文件 1.05MB ) Android 上传头像自定义(剪切、平移,缩放)","children":[{"title":"UploadImgDemo","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"anim","children":[{"title":"out_to_bottom.xml <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"in_from_bottom.xml <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"toast_select.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"cut_image.xml <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 538B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable","children":[{"title":"photo_middle_selector.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"photo_single_selector.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"photo_bottom_selector.xml <span style='color:#111;'> 280B </span>","children":null,"spread":false},{"title":"photo_top_selector.xml <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"photo_top_pressed.9.png <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"photo_bottom_normal.9.png <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"photo_single_pressed.9.png <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"photo_middle_normal.9.png <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"photo_middle_pressed.9.png <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"photo_top_normal.9.png <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"photo_single_normal.9.png <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"photo_bottom_pressed.9.png <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":null,"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"lyx","children":[{"title":"uploadimgdemo","children":[{"title":"SelectDialog.java <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"CutPictureAty.java <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"MainAty.java <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false},{"title":"CutView.java <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"lyx","children":[{"title":"uploadimgdemo","children":[{"title":"CutView$OnDrawListenerComplete.class <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"CutPictureAty.class <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"CutPictureAty$1.class <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"SelectDialog$2.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"SelectDialog$1.class <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"MainAty$2.class <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"SelectDialog$OnSelectItemClickListener.class <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 754B </span>","children":null,"spread":false},{"title":"MainAty$1.class <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"R$anim.class <span style='color:#111;'> 444B </span>","children":null,"spread":false},{"title":"CutView.class <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"MainAty.class <span style='color:#111;'> 6.39KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"SelectDialog.class <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"SelectDialog$SelectItem.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"SelectDialog$SelectItemColor.class <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"CutPictureAty$2.class <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 935B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"dexedLibs","children":[{"title":"android-support-v4-a64ef076c219a254b78a6a8796418a78.jar <span style='color:#111;'> 148.23KB </span>","children":null,"spread":false},{"title":"android-support-v4-0014bc54596c06bb7ee9ce3a2a983322.jar <span style='color:#111;'> 148.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"photo_top_pressed.9.png <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"photo_bottom_normal.9.png <span style='color:#111;'> 367B </span>","children":null,"spread":false},{"title":"photo_single_pressed.9.png <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"photo_middle_normal.9.png <span style='color:#111;'> 256B </span>","children":null,"spread":false},{"title":"photo_middle_pressed.9.png <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"photo_top_normal.9.png <span style='color:#111;'> 343B </span>","children":null,"spread":false},{"title":"photo_single_normal.9.png <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"photo_bottom_pressed.9.png <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"UploadImgDemo.apk <span style='color:#111;'> 184.57KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 464.81KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 23.62KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 383.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 849B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"lyx","children":[{"title":"uploadimgdemo","children":[{"title":"R.java <span style='color:#111;'> 5.78KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 163B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

  • dai_jiawei :
    可以使用,谢谢分享
    2018-07-27
  • SmallWalnutBG :
    好用 改成了我自己的需求 可以的
    2018-05-16
  • haosiyuan001 :
    很棒,直接可以拿来用了,多谢作者了
    2017-05-29
  • WHW :
    效果很不错,魅族可以用啊
    2016-08-12
  • mayohn :
    作者很牛,解决了我上传图片、拍照功能各种问题,也解决了三星拍照问题
    2016-04-05

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明