uintdev / qrserv

Transfer files with ease over a network.
https://play.google.com/store/apps/details?id=dev.uint.qrserv
MIT License
135 stars 9 forks source link

Landscape mode #7

Closed xmha97 closed 1 year ago

xmha97 commented 1 year ago

I want to use this app on the table. Please add support landscape mode.

uintdev commented 1 year ago

The possibility might be there. I'll take a look into it. I don't have a physical tablet to test with, so I suppose an Android emulator will suffice. Please note that if there is a solution for this that there are no plans to adjust the UI itself in any way to be more suitable for tablets, as this was mainly designed to be used on mobile displays.

xmha97 commented 1 year ago

OK, thanks for supporting...

uintdev commented 1 year ago

Without making a dedicated tablet build (normally would be fine with app bundle [used for Play Store] but APK files are also used so rather not have even more of those), the rotation has to be set on app launch. This is not ideal, as that means for a moment it could go portrait on a tablet (but then allow control by sensor) or look a bit weird for a second if on landscape from a previous app and then launch the app on mobile (i.e. using the sharesheet in the photos app while in landscape and then selecting this app -- this is if the app isn't already opened). But despite all that and a slightly stretched UI in places, it should do the trick.

Lining this one up for the next release.

xmha97 commented 1 year ago

Thanks.

uintdev commented 1 year ago

Change made as of the new v2.1.0 release. Please do let me know if this works in your case.

uintdev commented 1 year ago

Closing as resolved.

Wjxfi commented 1 year ago

On my phone, this mode does not work.

uintdev commented 1 year ago

On my phone, this mode does not work.

This is only enabled for tablets, as the UI will look very off with how little space there would be while in landscape on phones.