My App runs in Landscape mode only and was originally designed for earlier Samsung 10 inch tablets only (8:5 Ratio 1280 x 800 pixels). I've used dip for all view sizes so it runs happily on the new 10 inch Tab A which is the same 8:5 ratio but 1920 x 1200 pixels.
However, it will not work on the Samsung S2 which is 4:3 aspect ratio (2048x1536). The app fills the screen vertically but disappears off the right of the screen.
The app has 10 activity screens with hundreds of views, some are defined in designer and others are defined and adjusted problematically so it would be a huge task to either start using anchors or percentage of screen width. I don't need it to work on every device, just Samsung tablets.
Is there a way that I can persuade the 'dip' calculation to be calculated based on the screen width, rather than the screen height? The app would then fill the screen horizontally, leaving a gap at the bottom. Possibly a 'scale' setting?
However, it will not work on the Samsung S2 which is 4:3 aspect ratio (2048x1536). The app fills the screen vertically but disappears off the right of the screen.
The app has 10 activity screens with hundreds of views, some are defined in designer and others are defined and adjusted problematically so it would be a huge task to either start using anchors or percentage of screen width. I don't need it to work on every device, just Samsung tablets.
Is there a way that I can persuade the 'dip' calculation to be calculated based on the screen width, rather than the screen height? The app would then fill the screen horizontally, leaving a gap at the bottom. Possibly a 'scale' setting?