I need to alter some object's positions depending on whether it's running on a tablet or phone.
I've successfully done this for the iOS version of my app by getting the device model and doing one thing for phones and a different thing for tablets. But with so many different Android devices on the market that doesn'tt seem practical here. Is there a tried and tested way of doing this or do I need to try to get something working by looking at the screen height to width ratio (presumably while taking its orientation into account)?
Thanks.