Closed ammargitham closed 11 months ago
Have you been able to reproduce this on a physical device?
Sorry, I don't own any tablet or foldable. So can't test on a real device.
I was able to reproduce that behavior on the resizable emulator with the following steps:
TwoPane
logic, which leads to the unexpected sizing in the screenshot aboveReported that issue here: https://issuetracker.google.com/issues/295909182
I couldn't repro on the Pixel Fold emulator, but my Pixel Fold emulator right now is not reporting any folding features at all. 🙃
I'm going to close this here in accompanist as I suspect the issues here lie upstream in the emulator configuration, where erroneous folding features are causing unintuitive behavior.
Description When using
TwoPane
withHorizontalTwoPaneStrategy(splitFraction = 0.5f)
, the first and the second composables do not have equal width.Steps to reproduce Code:
Expected behavior Expected widths of Panel A and B to be equal.
Screenshots:
Emulator: Resizable (Experimental) API 33 (Tablet mode)
Emulator: Pixel Fold API 34