Skip to content Skip to sidebar Skip to footer

Android Filter Resourse By Screen Size And Density

How I can filter the application resource according the screen size and density? I like to filter resource like this... SMALL SCREEN-HIGH DENSITY SMALL SCREEN-MEDIUM DENSITY SMAL

Solution 1:

Here is full documentation about providing different resources for different screen sizes and densities

Solution 2:

In fact small screen and high density is very rarely

most device use only this

Small Screen - Low Density
Small Screen - Medium Density

Normal Screen - Low Density
Normal Screen - Medium Density
Normal Screen - High Density
Normal Screen - Extra-High Density

Large Screen - Low Density
Large Screen - Medium Density
Large Screen - High Density
Large Screen - Extra-High Density

Extra-Large Screen - Medium Density
Extra-Large Screen - High Density

but may be some changed in the future

Post a Comment for "Android Filter Resourse By Screen Size And Density"