diff options
| author | 2022-02-15 12:54:53 -0800 | |
|---|---|---|
| committer | 2022-02-22 14:04:12 -0800 | |
| commit | 9294a41db2ab41de9a4a5bd22bf72bda3417d65f (patch) | |
| tree | 29e36504899143be0b6b9b2068f09a4c28189b74 /api/api.go | |
| parent | 5960382afe4c45adb6c09e7f46272e314be19770 (diff) | |
Adjustments to expanded view size and position
* Previously on large screens the expanded view was centered on the
  screen now it will be anchored to whichever edge it was expanded on
  ONLY when in landscape on a large large screen. In portrait, and on
  "small tablets" it will continue to be centered.
* Updates the width of the expanded view on portrait and on landscape
  for large screens.
* Adds the notion of small tablet
Test: manual - Open a bubble in various configurations:
      1) on phone:
        * landscape => bubbles show vertically on the side they were
          expanded on and expanded view is centered horizontally
        * portrait => bubbles show on top, expanded view centered
          horizontally
      2) on tablet that isn't small:
        * landscape => bubbles show vertically on the side they were
          expanded on and the expanded view is anchored to that edge
          with some padding
        * portrait => bubbles show vertically on the side they were
          expanded on and expanded view is centered horizontally
      3) on small tablet:
        * portrait & landscape => bubbles show vertically on the side
          they were expanded on and the expanded view is centered
          horizontally and takes up more space %-wise compared to a
          large tablet
Bug: 217211205
Change-Id: I7259e03aab35e0039c9b7bd855c12afe38373ace
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions