diff --git a/res/layout/accessibility_edit_shortcut.xml b/res/layout/accessibility_edit_shortcut.xml
index 53a05f77726..d0c925ea4ec 100644
--- a/res/layout/accessibility_edit_shortcut.xml
+++ b/res/layout/accessibility_edit_shortcut.xml
@@ -15,28 +15,32 @@
limitations under the License
-->
-
+ android:layout_height="wrap_content"
+ android:clipChildren="true">
-
+ android:layout_height="match_parent"
+ android:scrollbarStyle="outsideOverlay">
-
+ android:orientation="vertical"
+ android:padding="24dp">
-
+
-
+
-
+
+
+
\ No newline at end of file
diff --git a/res/layout/accessibility_edit_shortcut_magnification.xml b/res/layout/accessibility_edit_shortcut_magnification.xml
index 31966e3ce4c..725c4c77d79 100644
--- a/res/layout/accessibility_edit_shortcut_magnification.xml
+++ b/res/layout/accessibility_edit_shortcut_magnification.xml
@@ -15,64 +15,69 @@
limitations under the License
-->
-
+ android:layout_height="wrap_content"
+ android:clipChildren="true">
-
-
-
-
-
+ android:layout_height="match_parent"
+ android:scrollbarStyle="outsideOverlay">
+ android:orientation="vertical"
+ android:padding="24dp">
-
-
-
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="32dp" />
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
\ No newline at end of file