summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-08-15 12:19:29 -0700
committerNancy Chen <nancychen@google.com>2014-08-15 14:47:42 -0700
commit80f8bee7990fd7f2a9fd2bace2d96b39c0f264b3 (patch)
tree3c15818f7373d1a29ad815deeef2fc541b374855 /res/layout
parent4fd9f50619fdf6c728483d9abc61a0c59b4a2984 (diff)
downloadandroid_packages_apps_ContactsCommon-80f8bee7990fd7f2a9fd2bace2d96b39c0f264b3.tar.gz
android_packages_apps_ContactsCommon-80f8bee7990fd7f2a9fd2bace2d96b39c0f264b3.tar.bz2
android_packages_apps_ContactsCommon-80f8bee7990fd7f2a9fd2bace2d96b39c0f264b3.zip
Update margins around directory headers and search bar icons.
*Added more space to the top of the directory header *Added more margin to the left of the back arrow and right of the close *Pushed the contact text to the right Bug: 15596340 Change-Id: I8817369d52faeb8edff7817b3f29726c1717e74f
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/directory_header.xml2
-rw-r--r--res/layout/search_bar_expanded.xml8
2 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/directory_header.xml b/res/layout/directory_header.xml
index b62b6b62..b85ceffc 100644
--- a/res/layout/directory_header.xml
+++ b/res/layout/directory_header.xml
@@ -25,8 +25,8 @@
android:paddingStart="?attr/list_item_padding_left"
android:paddingEnd="?attr/list_item_padding_right"
android:paddingTop="@dimen/directory_header_extra_top_padding"
+ android:paddingBottom="@dimen/directory_header_extra_bottom_padding"
android:minHeight="@dimen/list_section_divider_min_height"
- android:layout_marginTop="@dimen/list_header_extra_top_padding"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
diff --git a/res/layout/search_bar_expanded.xml b/res/layout/search_bar_expanded.xml
index caa47151..3c71b508 100644
--- a/res/layout/search_bar_expanded.xml
+++ b/res/layout/search_bar_expanded.xml
@@ -26,7 +26,7 @@
android:id="@+id/search_back_button"
android:layout_width="@dimen/search_box_icon_size"
android:layout_height="@dimen/search_box_icon_size"
- android:layout_margin="@dimen/search_box_icon_margin"
+ android:layout_margin="@dimen/search_box_navigation_icon_margin"
android:src="@drawable/ic_back_arrow"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/action_menu_back_from_search"
@@ -50,9 +50,9 @@
<ImageView
android:id="@+id/search_close_button"
- android:layout_height="@dimen/search_box_icon_size"
- android:layout_width="@dimen/search_box_icon_size"
- android:layout_margin="@dimen/search_box_icon_margin"
+ android:layout_height="@dimen/search_box_close_icon_size"
+ android:layout_width="@dimen/search_box_close_icon_size"
+ android:layout_margin="@dimen/search_box_close_icon_margin"
android:src="@drawable/ic_close_dk"
android:clickable="true"
android:background="?android:attr/selectableItemBackgroundBorderless"