Drawable-DPI's
Ok most of you ignores this when you mod an app... Right?
Ok let me explain in detailπ
0.50x-small-density(sdpi) [now no app is using this π ]
0.75x – 120dpi-low-density (ldpi)
1.0x –160-dpi- medium-density (mdpi)
1.5x – 240dpi-high-density (hdpi)
2.0x –320dpi extra-high-density (xdpi)
3.0x – 480dpi-extra-extra-high-density (xxhdpi)
4.0x –640dpi- extra-extra-extra-high-density (xxxhdpi)
We use mobile and they are in different screen size... So android developers create additional drawable folders in res tab...
Because small screen devices needs small pixels icons or background things so it looks perfect... And if small pix icons used by big screen mobile then we can notice no quality in that icons or app...
So that they created different pix icons & they put in different drawable folders... So app detects the size of screen of your device and it's match drawables of different pixels ...
Note:drawable is default folder
And below are screen dpis and default drawable icons or pixs are not present in below drawable-dpis...
So
Select your mobile dpi drawable & delete remaining bcz they consume some space in apk
Note:some times after deleting dpis folders if you see some public id missing in build error then if you remove that line and build successful then the icon in an app shows blank...
So that plz check that public id and place that deleted icons in your drawable dpi of your device...
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpi
drawable-mdpi
drawable-hdpi
Note: mip folder are present in some apps only and in this it have icons and images... If you want delete it except leaving the one you want and any errors occur like public id missing plz place that icons in from deleted one's to ur undelete folder
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
Ok wait wait....
Again in some apps i see
drawable-ldrtl-hdpi so on so....
So check them and understand the concept by above by opening it and checking inside of itπ
Ok check this below and you get clear idea
res/
drawable/
graphic.png
mipmap/
icon.png
Ok i think you understand it very well....
Ok if you want video tutorial then comment below then i try to add in this post if i have time to make it....
Ok let me explain in detailπ
0.50x-small-density(sdpi) [now no app is using this π ]
0.75x – 120dpi-low-density (ldpi)
1.0x –160-dpi- medium-density (mdpi)
1.5x – 240dpi-high-density (hdpi)
2.0x –320dpi extra-high-density (xdpi)
3.0x – 480dpi-extra-extra-high-density (xxhdpi)
4.0x –640dpi- extra-extra-extra-high-density (xxxhdpi)
We use mobile and they are in different screen size... So android developers create additional drawable folders in res tab...
Because small screen devices needs small pixels icons or background things so it looks perfect... And if small pix icons used by big screen mobile then we can notice no quality in that icons or app...
So that they created different pix icons & they put in different drawable folders... So app detects the size of screen of your device and it's match drawables of different pixels ...
Note:drawable is default folder
And below are screen dpis and default drawable icons or pixs are not present in below drawable-dpis...
So
Select your mobile dpi drawable & delete remaining bcz they consume some space in apk
Note:some times after deleting dpis folders if you see some public id missing in build error then if you remove that line and build successful then the icon in an app shows blank...
So that plz check that public id and place that deleted icons in your drawable dpi of your device...
drawable-xhdpi
drawable-xxhdpi
drawable-xxxhdpi
drawable-mdpi
drawable-hdpi
Note: mip folder are present in some apps only and in this it have icons and images... If you want delete it except leaving the one you want and any errors occur like public id missing plz place that icons in from deleted one's to ur undelete folder
mipmap-hdpi
mipmap-mdpi
mipmap-xhdpi
mipmap-xxhdpi
mipmap-xxxhdpi
Ok wait wait....
Again in some apps i see
drawable-ldrtl-hdpi so on so....
So check them and understand the concept by above by opening it and checking inside of itπ
Ok check this below and you get clear idea
res/
drawable/
graphic.png
mipmap/
icon.png
Ok i think you understand it very well....
Ok if you want video tutorial then comment below then i try to add in this post if i have time to make it....
Please make video
ReplyDeleteThanks❤
Wooow you are awesome
ReplyDelete