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

Make android:resizeableActivity to true and do some ground normal work. #59731

Closed
wants to merge 3 commits into from

Conversation

qianxliu
Copy link

@qianxliu qianxliu commented Mar 31, 2022

just make android:resizeableActivity to true and do some ground normal work.

@qianxliu qianxliu requested a review from a team as a code owner March 31, 2022 11:30
@qianxliu
Copy link
Author

qianxliu commented Mar 31, 2022

and android .gitignore should update for less files changed

Copy link
Author

@qianxliu qianxliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please ignore android build dir

@akien-mga
Copy link
Member

I updated the .gitignore, please rebase to squash the commit and make sure to remove the unwanted files.

@akien-mga akien-mga added this to the 4.0 milestone Mar 31, 2022
@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Mar 31, 2022
@qianxliu qianxliu requested a review from a team as a code owner March 31, 2022 14:50
@qianxliu
Copy link
Author

It already become cleaner

@akien-mga akien-mga removed the request for review from a team March 31, 2022 15:32
@@ -29,11 +29,12 @@
android:name=".GodotProjectManager"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
android:launchMode="singleTask"
android:resizeableActivity="false"
android:resizeableActivity="true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below, you can remove the android:resizeableActivity attribute. It defaults to true so there's no need to repeat it here.


<activity
android:name=".GodotGame"
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
android:label="@string/godot_project_name_string"
android:process=":GodotGame"
android:launchMode="singleTask"
android:resizeableActivity="false"
android:resizeableActivity="true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akien-mga Any arguments against doing the same for the templates?
On device that supports it, it seems preferable to resize rather than cut part of the game, or show black.

We can also make it a selectable option for the template.

@m4gr3d
Copy link
Contributor

m4gr3d commented Apr 4, 2022

Superseded by #59861.

@m4gr3d m4gr3d closed this Apr 4, 2022
@akien-mga akien-mga added archived and removed cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants