Mar 29 2021
Hi, I want to create an app that have different behavior when on different screen. But I couldn't find a way to determine which screen the activity is running on when the app is in single screen mode.
Do you guys have any idea to solve this?Thank you!
View best response
Mar 30 2021
@tungnt unfortunately there's no simple way to do this - for compatibility we want apps on a single screen to get all the coordinates and measurements that they would on another device.
When the app is spanned across both screens you will be able to detect the hinge and update layouts accordingly.