Эх сурвалжийг харах

preserve aspect ratio in user info activity

tobiasKaminsky 7 жил өмнө
parent
commit
03f5022104

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java

@@ -283,7 +283,7 @@ public class UserInfoActivity extends FileActivity {
 
             Glide.with(this)
                     .load(backgroundUrl)
-                    .fitCenter()
+                    .centerCrop()
                     .placeholder(R.drawable.background)
                     .error(R.drawable.background)
                     .crossFade()