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

Commit c7d7418c authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Center a11y button" into main

parents f390e921 1a922575
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -114,6 +114,7 @@ class KidsNavLayoutter(
        }
        if (a11yButton != null) {
            endContextualContainer.addView(a11yButton)
            a11yButton.layoutParams = getParamsToCenterView()
        }
        if (rotationButton != null) {
            endContextualContainer.addView(rotationButton.currentView)
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ open class PhoneLandscapeNavLayoutter(
        }
        if (a11yButton != null) {
            startContextualContainer.addView(a11yButton)
            a11yButton.layoutParams = getParamsToCenterView()
        }
        if (rotationButton != null) {
            startContextualContainer.addView(rotationButton.currentView)
+1 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ class PhonePortraitNavLayoutter(
        }
        if (a11yButton != null) {
            endContextualContainer.addView(a11yButton)
            a11yButton.layoutParams = getParamsToCenterView()
        }
        if (rotationButton != null) {
            endContextualContainer.addView(rotationButton.currentView)
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ class PhoneSeascapeNavLayoutter(
        }
        if (a11yButton != null) {
            endContextualContainer.addView(a11yButton)
            a11yButton.layoutParams = getParamsToCenterView()
        }
        if (rotationButton != null) {
            endContextualContainer.addView(rotationButton.currentView)
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ class SetupNavLayoutter(
        }
        if (a11yButton != null) {
            endContextualContainer.addView(a11yButton)
            a11yButton.layoutParams = getParamsToCenterView()
        }
        if (rotationButton != null) {
            endContextualContainer.addView(rotationButton.currentView)
Loading