We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I noticed that android:padding setting for IconicsImageView is not working properly on Android M.
android:padding
IconicsImageView
<com.mikepenz.iconics.view.IconicsImageView android:layout_width="72dp" android:layout_height="72dp" android:padding="24dp" app:iiv_icon="faw-android" />
The text was updated successfully, but these errors were encountered:
I have just found a solution. Modify line 73 of IconicsImageView.java. (maybe Android M has changed the behavior of MATRIX mode of scaling type)
line 73 of IconicsImageView.java
From:
setScaleType(ScaleType.MATRIX);
To:
setScaleType(ScaleType.CENTER_INSIDE);
Sorry, something went wrong.
Fix the issue mikepenz#50 (Padding is not working properly on Android…
ea18cea
… M). Change scaling type to use CENTER_INSIDE. (Android M seems to have changed the behavior of MATRIX scaling type.)
See the PR #51.
@h6ah4i thanks. i'll check this later today
Merge pull request #51 from h6ah4i/fix_iconicsimageview_padding_not_w…
42abf2c
…orking_on_android_m Fix the issue #50 (Padding is not working properly on Android M)
mikepenz
No branches or pull requests
Hi. I noticed that
android:padding
setting forIconicsImageView
is not working properly on Android M.code (activity_playground.xml)
The text was updated successfully, but these errors were encountered: