After a few days of use, here are our first impressions on the Google Pixel 9 Pro Fold with its stunning hardware and great battery life.

  • davidgro@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    3 months ago

    Sounds like a clear failure to have a reasonable API. I’d think apps shouldn’t have to guess based on aspect ratio, they should be told in some way which layout to use.

    • huginn@feddit.it
      link
      fedilink
      English
      arrow-up
      16
      ·
      3 months ago

      Hi! Professional android dev here who has done some work on migrating an app to foldable:

      Apps don’t guess. If they’re using XML they make specific layouts for a given width of screen.

      If they’re using compose it’s even easier: the entire UI library is built for adaptive layouts. The main issue is a lot of apps are not in compose UI (or not entirely) - and material 3 has excellent components but it’s even less widely used.

      Tldr: tech debt

      A potential cause of the wonkiness is explicitly setting resizeableActivity="false" in the app manifest.

    • skuzz
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      3 months ago

      Hold on now, let us not start using logic when referring to computer programming here. It’s all magic and bumbling around on a keyboard.