woheller69 / gpscockpit

Android GPS dashboard and head-up display
GNU Affero General Public License v3.0
190 stars 11 forks source link

UI cut off on low resolution device #14

Closed SynthGal closed 2 years ago

SynthGal commented 2 years ago

Device: Figo Orbit II Android Version: 8.1.0 (yes, it's out of date but I am using this as an offline bike computer and media player since it is nice and small instead of throwing it out) App Version: 1.6

The app's UI is cut off on low resolution devices such as mine, which is 480 x 800. Please see screenshots. The app does not seem to respond to the phone's font size setting. It does respond to the display size setting which does solve the issue for this app, but this makes text elements too small to read in other apps. A "compact mode" for this app would be useful.

Screenshot_20220507-071208 Screenshot_20220507-071502

woheller69 commented 2 years ago

Does not seem too bad. You should still be able to scroll

SynthGal commented 2 years ago

Not if both my hands are on my bike handlebars.

woheller69 commented 2 years ago

Can you try this? I scaled down the layout for smaller devices. Remove .zip and install (uninstall old version first) I set the old layout for devices with min 360dp (dp=display pixel not pixel). So for larger devices everything should work as before.

Can you install CPU Info app and check your screen size (width in "dp") ?

app-release.apk.zip

woheller69 commented 2 years ago

Another update. Reduced the height of the ActionBar.

app-release.apk.zip

SynthGal commented 2 years ago

Apologies for the lateness of my reply, it's because of who I am as a person.

To answer your first question, 320dp x 533dp.

Here are the screenshots for the first apk. Screenshot_20220515-113445 Screenshot_20220515-113449

Here are the screenshots for the second apk. Screenshot_20220515-113556 Screenshot_20220515-113559

I think the reduced height of the action bar is a great solution that allows the larger text as well as being able to see all elements. Thank you so much for putting the work into this. Is there anywhere I could throw you a few bucks for it?

woheller69 commented 2 years ago

Looks great :-) I do not have a donation account. You can give something for charity if you like.

woheller69 commented 2 years ago

-> V1.7