WeiJu icon indicating copy to clipboard operation
WeiJu copied to clipboard

Allow triggering tablet UI in apps by changing reported smallest width value per app (similar to dpi)

Open MmyGgithubAaccount opened this issue 4 years ago • 3 comments

Google recommends apps check smallest width to trigger tablet UI. Smallest width ≥ 600 dp will trigger tablet UI in supported apps.

Smallest width is related to dpi according to the following formula Smallest width = resolution × 160/dpi So, for a 1080p screen, 600dp smallest width corresponds to a dpi of 288

However, just changing dpi via your app while having phone smallest width below 600 dp doesn't trigger tablet ui since apps check smallest width and not dpi to trigger tablet mode.

A solution would be to allow users to change app scaling using either dpi (as is already present) or smallest width. That way, users like me that want tablet mode can use smallest width to trigger it while users who don't want tablet mode but still want low dpi can use the dpi setting

MmyGgithubAaccount avatar Jun 04 '20 22:06 MmyGgithubAaccount

hey @ikws4 , thanks for WeiJu! I'm also interested in tablet UI mode, but apart from that (did not want to open an "issue" for that): how good is your English on a scale 0-5? Do you understand inquiries like that from MmyGgithubAaccount ?

LeeBinder avatar Jul 08 '20 16:07 LeeBinder

hey @ikws4 , thanks for WeiJu! I'm also interested in tablet UI mode, but apart from that (did not want to open an "issue" for that): how good is your English on a scale 0-5? Do you understand inquiries like that from MmyGgithubAaccount ?

Yes, I am understand what his inquiry, But the table UI is a bit troublesome to implement, I'm still thinking how to implement this.

ikws4 avatar Jul 09 '20 00:07 ikws4

OK.

I recommend in Settings you change every "Open" (that's not a good translation at all for what each slider switch does) with "Toggle on/off".

LeeBinder avatar Jul 10 '20 17:07 LeeBinder