diff --git a/android-app-core/res/values/theme_gray.xml b/android-app-core/res/values/theme_gray.xml
index a203bf86..af6c5852 100644
--- a/android-app-core/res/values/theme_gray.xml
+++ b/android-app-core/res/values/theme_gray.xml
@@ -63,6 +63,8 @@
- match_parent
- 1
- none
+ - @dimen/cpp_pane_padding
+ - @dimen/cpp_pane_padding
- @dimen/cpp_pane_padding
diff --git a/android-app/res/layout/math_entity.xml b/android-app/res/layout/math_entity.xml
index 7e05e3fd..c58b1378 100644
--- a/android-app/res/layout/math_entity.xml
+++ b/android-app/res/layout/math_entity.xml
@@ -26,7 +26,7 @@
a:layout_height="wrap_content"
a:layout_width="match_parent"
style="?cpp_fragment_list_view_item_style"
- a:paddingBottom="@dimen/cpp_pane_padding"
+ a:padding="@dimen/cpp_pane_padding"
a:orientation="horizontal">