Fixing alignment in the action bar
Bug: 3379178
Change-Id: I48fc563f92de5c510b804451d418058838936212
diff --git a/res/layout/add_contact_menu_item.xml b/res/layout/add_contact_menu_item.xml
index 380bc53..1bdbcac 100644
--- a/res/layout/add_contact_menu_item.xml
+++ b/res/layout/add_contact_menu_item.xml
@@ -19,8 +19,8 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:divider="?android:attr/dividerVertical"
- android:showDividers="beginning|end"
- android:dividerPadding="8dip"
+ android:showDividers="end"
+ android:dividerPadding="12dip"
android:orientation="horizontal">
<LinearLayout
diff --git a/res/layout/navigation_bar.xml b/res/layout/navigation_bar.xml
index 62e2632..7840430 100644
--- a/res/layout/navigation_bar.xml
+++ b/res/layout/navigation_bar.xml
@@ -17,7 +17,6 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
style="?android:attr/actionBarTabBarStyle"
- android:showDividers="beginning|middle|end"
android:id="@+id/navigation_bar"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -38,7 +37,7 @@
style="?android:attr/actionDropDownStyle"
android:id="@+id/filter_view"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_gravity="left|center_vertical"
android:focusable="true"
android:minWidth="220dip" >
@@ -62,8 +61,9 @@
<SearchView
android:id="@+id/search_view"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_gravity="center_vertical"
+ android:layout_marginLeft="32dip"
android:maxWidth="300dip"
android:iconifiedByDefault="false" />