Merge "For battery chart 7-bar case, remove the center two labels according to UX designer's suggestion." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
226107f1d6
@@ -515,7 +515,7 @@ public class BatteryChartView extends AppCompatImageView implements View.OnClick
|
||||
|
||||
private boolean hasOverlap(
|
||||
final Rect[] displayAreas, final int leftIndex, final int rightIndex) {
|
||||
return displayAreas[leftIndex].right + mTextPadding * 2f > displayAreas[rightIndex].left;
|
||||
return displayAreas[leftIndex].right + mTextPadding * 2.3f > displayAreas[rightIndex].left;
|
||||
}
|
||||
|
||||
private void drawAxisLabelText(
|
||||
|
Reference in New Issue
Block a user