diff options
-rw-r--r-- | res/values/dimens.xml | 5 | ||||
-rw-r--r-- | 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 @@ <dimen name="favorites_row_undo_text_side_padding">32dp</dimen> <!-- Dimensions for most recent call shortcut cards --> - <dimen name="recent_call_log_item_translation_z">1dp</dimen> + <dimen name="recent_call_log_item_translation_z">3dp</dimen> <dimen name="recent_call_log_item_margin_horizontal">8dp</dimen> <dimen name="recent_call_log_item_margin_top">4dp</dimen> <dimen name="recent_call_log_item_margin_bottom">6dp</dimen> @@ -87,6 +87,7 @@ room to the search box--> <dimen name="action_bar_height">56dp</dimen> <dimen name="action_bar_height_large">64dp</dimen> + <dimen name="action_bar_elevation">2dp</dimen> <dimen name="tab_height">43dp</dimen> <!-- actionbar height + tab height --> <dimen name="actionbar_and_tab_height">107dp</dimen> @@ -111,7 +112,7 @@ <!-- Size of the icon (voice search, close search) in the search box. --> <dimen name="search_box_icon_size">28dp</dimen> <dimen name="search_list_padding_top">16dp</dimen> - <dimen name="search_box_elevation">2dp</dimen> + <dimen name="search_box_elevation">3dp</dimen> <!-- Padding to the left and right of call log action buttons. --> <dimen name="call_log_action_horizontal_padding">8dp</dimen> 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()); |