diff --git a/res/layout/panel_layout.xml b/res/layout/panel_layout.xml
index 3a8045fc2a5..c697afc56f8 100644
--- a/res/layout/panel_layout.xml
+++ b/res/layout/panel_layout.xml
@@ -15,50 +15,60 @@
limitations under the License
-->
-
-
-
-
-
-
+
+ android:orientation="vertical">
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/res/layout/settings_panel.xml b/res/layout/settings_panel.xml
index 3405ef0d844..0b0b2272f2b 100644
--- a/res/layout/settings_panel.xml
+++ b/res/layout/settings_panel.xml
@@ -15,6 +15,5 @@
-->
\ No newline at end of file
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"/>
\ No newline at end of file
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 196e85beec6..80d9ec8253f 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -203,7 +203,7 @@