Skip to content
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

Support to configure 'resizeableActivity' in build panel #15057

Closed
dumganhar opened this issue May 15, 2023 · 3 comments
Closed

Support to configure 'resizeableActivity' in build panel #15057

dumganhar opened this issue May 15, 2023 · 3 comments
Assignees
Labels
Env: Android Env: Native General issue on all native platforms including iOS, Android, MacOS, Windows P1 Must be finished in the milestone
Milestone

Comments

@dumganhar
Copy link
Contributor

Reference: https://developer.android.com/guide/topics/large-screens/multi-window-support#resizeableActivity

In some situations, game activity doesn't need to be resized. But currently, we didn't assign a resizeableActivity in the AndroidManifest.xml of android template. Therefore, it will use the default value android provides.

Developer could modify AndroidManifest.xml to add resizeableActivity but it will be more convenient if we add a checkbox in the build panel.

@dumganhar dumganhar added this to the V3.8.1 milestone May 15, 2023
@dumganhar dumganhar changed the title Support to configurate 'resizeableActivity' in build panel Support to configure 'resizeableActivity' in build panel May 25, 2023
@minggo
Copy link
Contributor

minggo commented May 25, 2023

Should also have checkbox for maxAspectRatio and minAspectRation. And please upload the setting interface here.

@minggo minggo added P1 Must be finished in the milestone Env: Native General issue on all native platforms including iOS, Android, MacOS, Windows labels Jun 1, 2023
@PatriceJiang
Copy link
Contributor

image

@PatriceJiang
Copy link
Contributor

PatriceJiang commented Jul 20, 2023

image
Interaction Description:

  • When the resizeableActivity option is checked, the Max Aspect Ratio option is gray out.
  • The Max Aspect Ratio can be selected from a dropdown list of presets, or it can be manually entered.
  • The input format can be a decimal number or in the format of M:N. If the input is in the format of M:N, it is rendered as 1.77 (16:9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Env: Android Env: Native General issue on all native platforms including iOS, Android, MacOS, Windows P1 Must be finished in the milestone
Projects
Status: Done
Development

No branches or pull requests

3 participants