I want to add multi screen layout support in my android project. For instance, now I am working with 1080x2280 and 1080x1920. I created a layout-xxhdpi
folder and it is working for 1080x1920. But I'm facing problem with 1080x2280. It is taking the same layout-xxhdpi
. How can i add separate layout support for this?
Asked
Active
Viewed 44 times
1

Phantômaxx
- 37,901
- 21
- 84
- 115

Abdul Quddus Mozumder
- 70
- 10
-
You're confusing screen **resolutions** and **densities** – Phantômaxx Dec 27 '18 at 10:40
-
Fantomas mi note 4x screen resulation is 1080*1920 mi note 6 pro screen resolution is 1080*2280 – Abdul Quddus Mozumder Dec 27 '18 at 11:07
-
They have nearly the same **density**: `401ppi` the 4x and `403ppi` the 6pro. Therefore, they fall in the same (closest) dpi slot. – Phantômaxx Dec 27 '18 at 11:52
-
@Fantômas your tagged ans don't contain solution of my problem.....so why do you my question is duplicate ?? – Abdul Quddus Mozumder Jan 01 '19 at 12:50
-
You should follow the link in the comment. There's the answer to your problem - on the official android developers documentation. – Phantômaxx Jan 01 '19 at 13:06