Issue
I have re-sized the icon according to drawables like: 32px, 48px,96px, etc.
But when running the app it is showing the bigger image. Is there anything else that I have to do?
Thank you.
Solution
The correct size for ActionBar
menu icons:
drawable-ldpi - 16 × 16 area in 16 × 16
drawable-mdpi - 24 × 24 area in 32 × 32
drawable-hdpi - 36 × 36 area in 48 × 48
drawable-xhdpi - 48 × 48 area in 64 × 64
drawable-xxhdpi - 72 × 72 area in 96 × 96
drawable-xxxhdpi - 96 × 96 area in 128 × 128
The first number is the size of the icon area, and the second is file size.
Answered By - Yash Sampat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.