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

Commit f8c146a2 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

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

* commit 'c37db9c0':
  Fix layout and invalidate in SubtitleView
parents 92aa5f4e c37db9c0
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();
        }
    }