-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix and clean up scenario app for Android #22540
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
| builder.pushOffset(0, 0); | ||
|
|
||
| builder.pushOffset(0, 600); | ||
| builder.pushOffset(50, 600); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to add 50 on x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The screenshot will explain it better, see before/after.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cyanglaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Creates a style that hides the makes the activity full screen, and hides the status bar. This way, there's no need to crop the screenshot used for comparisons.
Also, cleans up the tests a bit:
builder.pushOffset(0,0)as that doesn't do anything.Related Issues
flutter/flutter#70633
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.Reviewer Checklist
Breaking Change
Did any tests fail when you ran them? Please read handling breaking changes.