barbeau / gpstest

The #1 open-source Android GNSS/GPS test program
Apache License 2.0
1.78k stars 364 forks source link

Text labels/descriptions on main status screen do not line up #663

Open riumplus opened 10 months ago

riumplus commented 10 months ago

Describe the bug On the main status screen, the Latitude/Longitude/Altitude etc labels do not match up with their contents. I suspect this might be because I have a custom font (Fira Sans) on my phone and one block of text is positioned based on a fixed value while the other text is positioned based on the font's height, but I haven't looked at the code to confirm this. This only impacts the text in this area of the app.

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Obtain a position lock
  3. Look at Latitude/Longitude/Altitude etc labels and contents.

Expected behavior The labels and their text should be at equal heights.

Observed behavior The first line containing the Latitude & Time seems correct, but on every line below it the description is off by an increasing amount.

App, Device and Android version: GPSTest version 3.10.3, Phone is a Doogee V30T, Android 12, Stock ROM but rooted, Google Play Services version 23.48.16

Screenshots: gpstest bug report

barbeau commented 10 months ago

@riumplus thanks for the report! I'll take a closer look.