Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-android
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
云深项目组
beyond-clouds-android
Commits
8d6b8801
Commit
8d6b8801
authored
Mar 19, 2020
by
段启岩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户头像加载的图片为圆形
parent
320a620c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/src/main/java/cn/yunliyunwai/beyondclouds/ui/main/MyFragment.java
+2
-2
No files found.
app/src/main/java/cn/yunliyunwai/beyondclouds/ui/main/MyFragment.java
View file @
8d6b8801
...
...
@@ -68,8 +68,8 @@ public class MyFragment extends BaseFragment<MyFragmentViewModel, FragmentMyBind
String
userAvatar
=
authenticationViewModel
.
getUserInfo
().
getUserAvatar
();
RequestOptions
glideRequestOptions
=
new
RequestOptions
()
.
centerCrop
()
.
placeholder
(
R
.
drawable
.
placeholder_
rectang
le
)
.
error
(
R
.
drawable
.
placeholder_
rectang
le
)
.
placeholder
(
R
.
drawable
.
placeholder_
circ
le
)
.
error
(
R
.
drawable
.
placeholder_
circ
le
)
.
priority
(
Priority
.
HIGH
)
.
diskCacheStrategy
(
DiskCacheStrategy
.
AUTOMATIC
)
.
transform
(
new
GlideRoundTransform
(
26
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment