-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
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
Bug: Icons are blurry in grid view #114
Comments
I myself always use vector drawable instead of bitmap in my projects. The only reason of the blurry icon could be the resolution of the drawable resources, I would suggest you check whether the right bitmap resources been prepared and picked up (xxhdpi or xxxhdpi, not quite sure) |
Yeah, I had all 5 resolutions of each icon in place, and I even re-created new ones from scratch to verify. But now that I switched to vectors, it's a non-issue. |
Thank you for feedback |
We're using Material Design icons from the Google library, at
48dp
.When using list style, the icons look great.
When using grid style, the icons are blurry on various tablets, but not on phones. I get the same result whether I build the Bottom sheet using items defined in a menu XML file, or dynamically from code (using enum values).
Overview
Up Close
Should
@style/BottomSheet_GridItemImage
just usewrap_content
forlayout_width
andlayout_height
instead of explicitly specifying48dp
?The text was updated successfully, but these errors were encountered: