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

Commit af745f6d authored by Griff Hazen's avatar Griff Hazen
Browse files

Fix ActivityView layout bug.

Child TextureView should be positioned at origin of ActivityView,
with matching width and height. Previously, a container's padding
would be applied twice for example.

Change-Id: Ie0be10614a45aede4207abf986721385d04d8c76
parent 6366dcbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class ActivityView extends ViewGroup {

    @Override
    protected void onLayout(boolean changed, int l, int t, int r, int b) {
        mTextureView.layout(l, t, r, b);
        mTextureView.layout(0, 0, r - l, b - t);
    }

    @Override