From 8fd67244fcd6a4fbcd0c534c530e237ab2f055c0 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 5 Aug 2014 18:43:45 -0700 Subject: Tweak Z-depth for Dialer ActionBar Bug: 16550151 Change-Id: I27cff5de9aa97f4709b609574c3986c76d9f7050 --- res/values/dimens.xml | 5 +++-- src/com/android/dialer/DialtactsActivity.java | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 4884bd219..cba04bdbf 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -65,7 +65,7 @@ 32dp - 1dp + 3dp 8dp 4dp 6dp @@ -87,6 +87,7 @@ room to the search box--> 56dp 64dp + 2dp 43dp 107dp @@ -111,7 +112,7 @@ 28dp 16dp - 2dp + 3dp 8dp diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 7d4e2d0aa..ba9004edd 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -354,6 +354,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O actionBar.setCustomView(R.layout.search_edittext); actionBar.setDisplayShowCustomEnabled(true); actionBar.setBackgroundDrawable(null); + actionBar.setElevation(resources.getDimensionPixelSize(R.dimen.action_bar_elevation)); mActionBarController = new ActionBarController(this, (SearchEditTextLayout) actionBar.getCustomView()); -- cgit v1.2.3