先上效果图:
1.顶部磨砂图像背景以及圆形头像实现:
1)build.gradle中添加以下依赖:compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
2)画布局RelativeLayout
效果图:
先上效果图:
1.顶部磨砂图像背景以及圆形头像实现:
1)build.gradle中添加以下依赖:compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
2)画布局RelativeLayout
效果图: