OmniControl: fix grid background
real fix for 550b3cff37025c3d3d9cf711d4585c2a7e54591a
Change-Id: I31f84e88d4ae40ac45c113d2da51c0282522cc27
diff --git a/app/src/main/res/layout/grid_fragment.xml b/app/src/main/res/layout/grid_fragment.xml
index b381af9..69c81b3 100644
--- a/app/src/main/res/layout/grid_fragment.xml
+++ b/app/src/main/res/layout/grid_fragment.xml
@@ -1,9 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<org.omnirom.control.widget.ExpandableHeightGridView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/grid_view"
- android:layout_width="match_parent"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
- android:gravity="center"
- android:numColumns="@integer/grid_view_columns"
- android:background="?android:attr/colorBackground"
- android:stretchMode="columnWidth"/>
+ android:layout_width="match_parent"
+ android:background="?android:attr/colorBackground" >
+
+ <org.omnirom.control.widget.ExpandableHeightGridView
+ android:id="@+id/grid_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="top"
+ android:gravity="center"
+ android:numColumns="@integer/grid_view_columns"
+ android:stretchMode="columnWidth" />
+</FrameLayout>