39

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.

you are viewing a single comment's thread
view the rest of the comments
[-] davidgro@lemmy.world 11 points 2 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 16 points 2 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@discuss.tchncs.de 1 points 2 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.

this post was submitted on 04 Sep 2024
39 points (93.3% liked)

Android

17668 readers
462 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: !android@lemdro.id


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: !askandroid@lemdro.id

For fresh communities, lemmy apps, and instance updates: !lemdroid@lemdro.id

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to !askandroid@lemdro.id.

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to !androidmemes@lemdro.id.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS