Pygmalion69 / Gauge

A Gauge View for Android
Apache License 2.0
68 stars 26 forks source link

Different size of lowerText and upperText in landscape layout #10

Closed eos1d3 closed 5 years ago

eos1d3 commented 5 years ago

When using portrait layout, I set lowerTextSize and upperTextSize to 50dp. Then I add an landscape layout with similar settings in XML. But I find both text are much bigger in landscape layout. I have to reduce from 50 to 30 in order to make them look similar size in portrait layout.

Using com.github.Pygmalion69:Gauge:1.5

Pygmalion69 commented 5 years ago

Thank you for reporting this. Text scaling on orientation change has been fixed (when the sizes are explicitly set).