summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-07-28 10:41:08 -0700
committerNancy Chen <nancychen@google.com>2014-07-28 10:41:08 -0700
commitb8170de2a2d0e5cd3812720fe50616fae319413c (patch)
tree8409ffa66f072135435f9112e2b2b1ead2d3f603 /res
parent5da21ca847fbb1303bdd92d7c9ced16f94f80674 (diff)
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
Diffstat (limited to 'res')
-rw-r--r--res/layout/lists_fragment.xml2
-rw-r--r--res/values/dimens.xml3
-rw-r--r--res/values/styles.xml1
3 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/lists_fragment.xml b/res/layout/lists_fragment.xml
index 987c61f99..face20e26 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 176680ee6..752fffc4c 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 bda26cdab..4f4cb18ff 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 -->