From 35937a2530d46c8c65672d7e74ef994b5f47ad4e Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Mon, 14 Mar 2016 19:47:00 -0700 Subject: [PATCH] Fix issue with all apps icons not being aligned -> The new versions of LayoutManagers in the latest support lib has begun to respect certain layout params (where before they were ignoreed). match_parent is now treated as "match column", which is what we want here. issue 27581978 Change-Id: If1efed15b5a93c873ff141e3c658922819c143fb --- res/layout/all_apps_icon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/all_apps_icon.xml b/res/layout/all_apps_icon.xml index 0985e95c00..bb95c5fb8d 100644 --- a/res/layout/all_apps_icon.xml +++ b/res/layout/all_apps_icon.xml @@ -18,7 +18,7 @@ xmlns:launcher="http://schemas.android.com/apk/res-auto" style="@style/Icon.AllApps" android:id="@+id/icon" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:paddingTop="@dimen/all_apps_icon_top_bottom_padding"