diff options
author | Adam Cohen <adamcohen@google.com> | 2016-03-14 19:47:00 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2016-03-14 19:50:05 -0700 |
commit | 35937a2530d46c8c65672d7e74ef994b5f47ad4e (patch) | |
tree | df4f33515fe1466fe89fa2e263e8589c7799c9e3 /res | |
parent | 0da3bc6cfbd4de056e15100a0e2b2bc9e85a5d73 (diff) | |
download | packages_apps_Trebuchet-35937a2530d46c8c65672d7e74ef994b5f47ad4e.tar.gz packages_apps_Trebuchet-35937a2530d46c8c65672d7e74ef994b5f47ad4e.tar.bz2 packages_apps_Trebuchet-35937a2530d46c8c65672d7e74ef994b5f47ad4e.zip |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/all_apps_icon.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/all_apps_icon.xml b/res/layout/all_apps_icon.xml index 0985e95c0..bb95c5fb8 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" |