Reputation: 139
I'm trying to make a camera app & trying to always keep the capture button on the bottom of the screen (near navigation buttons), in Portrait and Landscape everything is fine but in Reverse Landscape it ends up on the top of the phone as there's no way to make a Reverse Landscape Activity.
So is there any way to solve this problem? I'm sure there is as all default camera apps have capture button near navigation key, but I can't figure out how.
Upvotes: 0
Views: 575
Reputation: 2528
Check the device orientation in onConfigurationChanged
and show/hide a different button depending on if its landscape or reverse landscape.
Upvotes: 2