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

Failure Testing on Android Emulator Fold-out #112

Closed
gOzaru opened this issue Aug 8, 2022 · 0 comments
Closed

Failure Testing on Android Emulator Fold-out #112

gOzaru opened this issue Aug 8, 2022 · 0 comments

Comments

@gOzaru
Copy link

gOzaru commented Aug 8, 2022

I used this code:

return ResponsiveWrapper.builder(
  ClampingScrollWrapper.builder(context, Mechanism(child!)),
  landscapePlatforms: [ResponsiveTargetPlatform.android, ResponsiveTargetPlatform.iOS],
  minWidth: 340,
  defaultScaleFactor: 1.0,
  defaultScale: true,
  breakpoints: const [
     ResponsiveBreakpoint.resize(340, scaleFactor: 1),
     ResponsiveBreakpoint.autoScale(390, scaleFactor: 1.14),
     ResponsiveBreakpoint.autoScale(550, scaleFactor: 1.2), //[Working] <- Nexus 10 [Portrait] 1.40 * 90
     ResponsiveBreakpoint.autoScale(610, scaleFactor: 1.6), //[Working] <- Rollable [Portrait] 2.01 * 80%
     ResponsiveBreakpoint.autoScale(840, scaleFactor: 1.2), //[FAILED] <- Fold-out [Portrait]
  ],
);

It works on Android tablet emulator

SS - Responsive Framework 01

But strangely, this doesn't work on Fold-out as seen on the attached image below!
I also had changed the scaleFactor value into 0.8, 1.4 and 2.4; but all attempts don't change the size at all.
It is always the same.

SS - Responsive Framework 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants