Merge "Don't constraint view sizes as much" into rvc-dev

This commit is contained in:
Lucas Dupin
2020-05-04 04:00:01 +00:00
committed by Android (Google) Code Review

View File

@@ -510,7 +510,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
for (int i = 0; i < childCount; i++) {
View child = getChildAt(i);
if (child instanceof KeyguardSliceTextView) {
((KeyguardSliceTextView) child).setMaxWidth(width / childCount);
((KeyguardSliceTextView) child).setMaxWidth(width / 3);
}
}
super.onMeasure(widthMeasureSpec, heightMeasureSpec);