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

Commit c37db9c0 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Fix layout and invalidate in SubtitleView" into klp-dev

parents 896a9b17 b8a0057d
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -180,7 +180,9 @@ public class SubtitleView extends View {
            mInnerPaddingX = (int) (size * INNER_PADDING_RATIO + 0.5f);

            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
    }

@@ -189,7 +191,9 @@ public class SubtitleView extends View {
            mTextPaint.setTypeface(typeface);

            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
    }

@@ -198,7 +202,9 @@ public class SubtitleView extends View {
            mAlignment = textAlignment;

            mHasMeasurements = false;
            forceLayout();

            requestLayout();
            invalidate();
        }
    }