From 191bde1b754fc48630b6d7b2ecf2b79b7a4479e4 Mon Sep 17 00:00:00 2001 From: tmfang Date: Tue, 25 Dec 2018 19:22:46 +0800 Subject: [PATCH] Fine tune items position of homepage Since homepage becomes full screen and status bar is 80% of white, some homepage items are overlappd by status bar. Enlarge padding size and add a space for fixing this problem. Test: visual Bug: 116346521 Change-Id: I7bc9e9a08adafb8fe38bedf527199e4db4424fd0 --- res/layout/settings_homepage_container.xml | 12 ++++++++++-- res/values/dimens.xml | 2 -- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/res/layout/settings_homepage_container.xml b/res/layout/settings_homepage_container.xml index 75d449fe889..1e5bdceff82 100644 --- a/res/layout/settings_homepage_container.xml +++ b/res/layout/settings_homepage_container.xml @@ -31,8 +31,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingTop="@dimen/app_bar_height" - android:descendantFocusability="blocksDescendants"> + android:descendantFocusability="blocksDescendants" + android:paddingTop="104dp"> + + + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 0859d2cf892..e95c72928c2 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -105,8 +105,6 @@ 32dp 4dp 16dp - - 80dp 16dp