Screen resolution: 1024x600
Density:1 (160)
Folder: values-mdpi-1024x600
Screen resolution: 1024x600
density:1.5 (240)
Folder: values-hdpi-683x400 by 1024/1.5 600/1.5, need to be rounded.
Screen resolution: 800x480
Density:1 (160)
Folder: values-mdpi-800x480
Screen resolution: 800x480
density:1.5 (240)
Folder: values-hdpi-533x320 by 800/1.5 480/1.5, need to be rounded.
And so on
In general, you need to create values, VALUES-MDPI, and values-hdpi folders in case you can't find resources on a screen with no specified size.
Then use different dimens files in it, do not use the displayed numbers in layout, all the dimension definitions refer to the contents of Dimens.
This ensures that deep UI customization is possible
In the default.properties of the project, if the resolution is Split.density=false, the folder naming does not need to divide the scale
Screen resolution: 800x480
density:1.5 (240)
Folder: values-hdpi-800x480