sumup / sumup-android-sdk

Sample App for the SumUp Android SDK
Other
105 stars 28 forks source link

Landscape mode support #7

Closed hardikp888 closed 8 years ago

hardikp888 commented 8 years ago

How can I set landscape mode using sumup-android-sdk for sumup Payment screens ?

vfoixcable commented 8 years ago

Landscape mode is supported on tablets only (sw600 dp and up). On these devices the SumUp Android SDK follows the screen orientation set by the user. On phones, the orientation is always in portrait mode.

hardikp888 commented 8 years ago

Is there any way (Any function in sumup-sdk) for landscape mode in android device (800x480) ?

vfoixcable commented 8 years ago

Could you share with us which Android device you are referencing and why your use case requires landscape mode? For design reason, if the device is a phone, we don't allow a switch to portrait mode and we don't provide any method to change this behaviour.

flixbernard commented 7 years ago

Dear all,

I'm experiencing a similar problem on Galaxy Tab 3 10.1" Landscape mode. When the App launches, it turns portrait for about 1 second and then goes to landscape. Is there any chance that this small parasite turn would be avoided ? Thank you in advance !

Best regards,

Félix

milenpav commented 11 months ago

you need to set recource
<bool name="isTablet">true</bool>