Update the timestamp label into uppercase and increase vertical offset

Update the timestamp label into uppercase based on the different locale
and increase the vertical offset from UX review feedback

Test: presubmit
Change-Id: Ie5e86967e36773f1f8c4f628501514b1a7fd22f5
This commit is contained in:
ykhung
2022-08-31 05:31:18 +08:00
parent baa3f3a3c6
commit 352e3a091d
3 changed files with 12 additions and 12 deletions

View File

@@ -413,7 +413,7 @@ public class BatteryChartView extends AppCompatImageView implements View.OnClick
}
// Draws the axis label slot information.
if (mViewModel != null) {
final float baselineY = getHeight() - mTextPadding * 1.5f;
final float baselineY = getHeight() - mTextPadding;
Rect[] axisLabelDisplayAreas;
switch (mViewModel.axisLabelPosition()) {
case CENTER_OF_TRAPEZOIDS: