Decreased height of action bars in dialer

Kept the height of the search box the same while decreasing the height
of all other action bars.

Bug: 16627750
Change-Id: I43f2ae6b0f67113df2522369f5fef78c0dc12df4
diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml
index 987c61f..face20e 100644
--- a/res/layout/lists_fragment.xml
+++ b/res/layout/lists_fragment.xml
@@ -25,7 +25,7 @@
         android:id="@+id/shortcut_card_list"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:paddingTop="@dimen/action_bar_height"
+        android:paddingTop="@dimen/action_bar_height_large"
         android:background="@color/actionbar_background_color"
         android:clipToPadding="false"
         android:fadingEdge="none"
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 176680e..752fffc 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -84,7 +84,8 @@
 
     <!-- Height of the actionBar - this is 8dps bigger than the platform standard to give more
     room to the search box-->
-    <dimen name="action_bar_height">64dp</dimen>
+    <dimen name="action_bar_height">56dp</dimen>
+    <dimen name="action_bar_height_large">64dp</dimen>
     <dimen name="tab_height">43dp</dimen>
     <!-- actionbar height + tab height -->
     <dimen name="actionbar_and_tab_height">107dp</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index bda26cd..4f4cb18 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -128,6 +128,7 @@
 
     <style name="DialtactsActionBarWithoutTitleStyle" parent="DialtactsActionBarStyle">
         <item name="android:displayOptions"></item>
+        <item name="android:height">@dimen/action_bar_height_large</item>
     </style>
 
     <!-- Text in the action bar at the top of the screen -->
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index 3d06a8e..53627f6 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -343,7 +343,7 @@
         mFirstLaunch = true;
 
         final Resources resources = getResources();
-        mActionBarHeight = resources.getDimensionPixelSize(R.dimen.action_bar_height);
+        mActionBarHeight = resources.getDimensionPixelSize(R.dimen.action_bar_height_large);
         mDescriptionDialButtonStr = resources.getString(R.string.description_dial_button);
         mActionMenuDialpadButtonStr = resources.getString(R.string.action_menu_dialpad_button);