ResponsiveFramework icon indicating copy to clipboard operation
ResponsiveFramework copied to clipboard

Failure Testing on Android Emulator Fold-out

Open gOzaru opened this issue 2 years ago • 0 comments

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

gOzaru avatar Aug 08 '22 08:08 gOzaru