-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Android Desktop Mode #4811
Comments
This might be OEM specific, for example I'm able to start a samsung dex desktop session and expand the Element app. How does the app currently behave in desktop mode? |
The maximize button of the app's window is greyed out as shown in the screenshot below: I'm not sure whether this is an OEM specific issue. However, this mode works fine in many apps, both Google and non-Google apps. For example, Chrome, Facebook, Facebook Messenger, WhatsApp, LINE. EDIT: AFAIK, Samsung Dex has a force resize window in Dex mode. That could be the reason why Element works in Dex mode. |
it might be a simple case of enabling https://developer.android.com/guide/topics/manifest/activity-element#resizeableActivity I'll raise a PR 🤞 |
our CI has generated debug builds with the above flag enabled https://buildkite.com/matrix-dot-org/element-android/builds/5504#21f7023c-b978-4850-b0ad-e9783eeafc6c in case you would like to test |
Your use case
What would you like to do?
I would like to use Element with Android Desktop Mode features. For instance, an ability to maximized the app's window as shown in the screen recording below:
recording_20211225_022111.mp4
Why would you like to do it?
The desktop mode on Android devices was introduced since Android 10 as a developer option. However, most, if not all, Android 11 devices now make this mode available on differences names. This mode is called Productivity Mode by Lenovo.
My tablet has 11 inches display, so I prefer to use the app like I would on my laptop PC.
How would you like to achieve it?
I would like to have Element app works natively with Android Desktop Mode.
Have you considered any alternatives?
There's no alternative way.
Additional context
No response
The text was updated successfully, but these errors were encountered: