【发布时间】:2015-12-25 03:43:12
【问题描述】:
我目前正在开发一个导航抽屉,我希望将用户照片缩放、裁剪、着色,然后用作图片圆形裁剪后面的标题图像。
我什至不能发布图片,因为这个帐户的代表太低了...该死,我的大部分问题都使用我的旧学生帐户...
尽管我的ImageView 是这样定义的
<ImageView
android:tint="@color/clyp_copy"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/pixplogo"
android:scaleType="centerCrop"
android:adjustViewBounds="true"/>
This image (1) skews like this (2) (Same link, two images)
这对我来说实际上是一个常见问题。我从来没有让centerCrop 正常工作。我不明白为什么。
在 5.1.1 上测试,在 SDK 23 上构建。21 上同样的问题
Not sure if this is allowed on SO, but here's a Debug apk...maybe it's just my device...or 5.x
【问题讨论】:
标签: android imageview scale crop