5
我目前正在製作一個導航抽屜,在那裏我要縮放,裁剪,着色,然後用作背景圖片的圓形裁剪後的標題圖像。Android ImageView centerCrop無法正常工作。歪斜而不是縮放
,因爲這個帳戶太低代表我甚至不能發表圖片...該死的我,用我的舊的學生佔大多數的我的問題......
儘管我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
噢,我的天哪,我的白癡 –
這發生在我身上的次數超過了我很自豪的承認。 –
@ McSullivanD'Ander同樣在這裏,這就是我知道如何尋找:) –