diff options
Diffstat (limited to 'res/layout/apps_view.xml')
-rw-r--r-- | res/layout/apps_view.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/res/layout/apps_view.xml b/res/layout/apps_view.xml index 00f3cca88..86d67e15f 100644 --- a/res/layout/apps_view.xml +++ b/res/layout/apps_view.xml @@ -13,16 +13,26 @@ See the License for the specific language governing permissions and limitations under the License. --> +<!-- The top and bottom paddings are defined in this container, but since we want + the list view to span the full width (for touch interception purposes), we + will bake the left/right padding into that view's background itself. --> <com.android.launcher3.AppsContainerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/apps_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:padding="8dp" + android:paddingTop="@dimen/apps_container_inset" + android:paddingBottom="@dimen/apps_container_inset" android:background="@drawable/apps_customize_bg" android:descendantFocusability="afterDescendants"> <include - layout="@layout/apps_reveal_view" /> + layout="@layout/apps_reveal_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" /> <include - layout="@layout/apps_list_view" /> + layout="@layout/apps_list_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" /> </com.android.launcher3.AppsContainerView>
\ No newline at end of file |