Use a smaller height so there is enough room for suggestions.
Bug:3393361
Also make the folder selector and normal view have the same height.
Change-Id: If59ce76950997721db2a6d93fc9fbd7bed6baee4
diff --git a/res/layout/browser_add_bookmark_content.xml b/res/layout/browser_add_bookmark_content.xml
index 8b28011..6ee7a5a 100644
--- a/res/layout/browser_add_bookmark_content.xml
+++ b/res/layout/browser_add_bookmark_content.xml
@@ -102,7 +102,7 @@
android:layout_height="wrap_content"
android:stretchColumns="1"
android:shrinkColumns="1"
- android:paddingTop="20dip"
+ android:paddingTop="10dip"
android:paddingLeft="20dip"
android:paddingRight="20dip" >
<TableRow>
@@ -110,7 +110,7 @@
android:id="@+id/titleText"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_marginBottom="40dip"
+ android:layout_marginBottom="30dip"
android:text="@string/name"
android:textAppearance="?android:attr/textAppearanceMedium" />
@@ -134,7 +134,7 @@
android:layout_width="wrap_content"
android:text="@string/location"
android:gravity="left"
- android:layout_marginBottom="40dip"
+ android:layout_marginBottom="20dip"
android:textAppearance="?android:attr/textAppearanceMedium" />
<EditText
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 3badd17..f0230bd 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -24,7 +24,9 @@
<dimen name="max_tab_width">300dp</dimen>
<dimen name="bookmarkThumbnailWidth">90dip</dimen>
<dimen name="bookmarkThumbnailHeight">80dip</dimen>
- <dimen name="folder_selector_height">230dip</dimen>
+ <!-- Height determined by measuring the TableLayout in
+ browser_add_bookmark_content and matching that. -->
+ <dimen name="folder_selector_height">181dip</dimen>
<dimen name="widgetItemMinHeight">48dip</dimen>
<dimen name="favicon_size">16dip</dimen>
<dimen name="favicon_padded_size">20dip</dimen>