Merge "Don't constraint view sizes as much" into rvc-dev am: 43c3081443 am: 9812153705
Change-Id: I8e0404ea3596baf8dd42dd4f5b9c294a51d1f57d
This commit is contained in:
@@ -510,7 +510,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
|
|||||||
for (int i = 0; i < childCount; i++) {
|
for (int i = 0; i < childCount; i++) {
|
||||||
View child = getChildAt(i);
|
View child = getChildAt(i);
|
||||||
if (child instanceof KeyguardSliceTextView) {
|
if (child instanceof KeyguardSliceTextView) {
|
||||||
((KeyguardSliceTextView) child).setMaxWidth(width / childCount);
|
((KeyguardSliceTextView) child).setMaxWidth(width / 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||||
|
|||||||
Reference in New Issue
Block a user