Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 899c6c62 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Don't constraint view sizes as much

We're ellipsing text views unnecessarily, because of smaller fields
that only contain icons.

Test: visual
Fixes: 148448106
Change-Id: Ifba8096b44ca8a0db466bececd41caa0d71e67dd
parent 144788b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);