From ebc3a3e8814fb178c0afa5e046259b1f187523dd Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Thu, 22 Oct 2020 15:56:07 +0800 Subject: [PATCH] Refine search ui and avatar based on spec This is the first version, we will keep tweaking the details later. Bug: 171278055 Test: Screenshot - https://screenshot.googleplex.com/ApRgDZknkvX9PWo Change-Id: Ie99cf9e187aa2440486cc2eae90e04287daf0a1d --- res/layout/search_bar.xml | 59 ++++++++++++++++++++++----------------- res/values/dimens.xml | 11 ++------ res/values/styles.xml | 4 +-- 3 files changed, 38 insertions(+), 36 deletions(-) diff --git a/res/layout/search_bar.xml b/res/layout/search_bar.xml index 420c965a19b..d3e98c37ea3 100644 --- a/res/layout/search_bar.xml +++ b/res/layout/search_bar.xml @@ -15,36 +15,43 @@ limitations under the License. --> - - - - - + + + + + + - + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index a561df2a86c..d0d97748afc 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -123,18 +123,13 @@ 72dp 16dp - 16dp - + 18dp 48dp - 2dp 16dp 2dp 64dp - 16dp - - 48dp - - 8dp + @dimen/search_bar_height + 16dp diff --git a/res/values/styles.xml b/res/values/styles.xml index a4f6fbeaec7..ac495619b5a 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -474,8 +474,8 @@