mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-22 16:23:09 +02:00
Add some tiny space between indicator and text
This commit is contained in:
@@ -202,7 +202,7 @@ public class LinearGaugeView extends View {
|
||||
final String valueStr = String.format(Locale.getDefault(), "%.2f", value);
|
||||
indicatorPaint.getTextBounds(valueStr, 0, valueStr.length(), bounds);
|
||||
drawCenteredText(canvas, valueStr, valuePos,
|
||||
indicatorBottom + bounds.height(), indicatorPaint);
|
||||
indicatorBottom + bounds.height() + 2, indicatorPaint);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user