I am working on a Xamarin.Forms app and I need to identify the android screen/resolution is whether small, medium or large to adjust some content with the available space. For example, some labels (single line) are getting truncated in smaller devices. So I could make some adjustments if the screen is smaller or not.
In iOS, when iPhone screen getting bigger, the resolution is also getting increased so it's is to identify smaller resolution devices in iOS. But in android, this seems hard.
For testing, I have created the following emulators and run the app in them. Here's my result whether a label getting truncated or not.
Resolution Density Result
---------------------------
2560x1440 560 OK
1920x1080 400 OK
1280x720 320 Truncated
1280x720 280 OK
1280x720 240 OK
800x480 240 Truncated
800x480 160 OK
Is there a better way to categorized android devices (small, medium, and large)?