diff options
author | John Reck <jreck@google.com> | 2011-05-18 14:24:10 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-05-18 14:24:10 -0700 |
commit | 1eafdc9123d5923768959ea2cec624a0335f6b8b (patch) | |
tree | 4bde725521bbaa1063d09c6cb01e8752d813d197 /res | |
parent | 048d33c6867e0be8f2357b3230958e3ee1ada9ed (diff) | |
parent | 3ce396ae49984e3d5c654917838901f90fe663d6 (diff) | |
download | packages_apps_browser-1eafdc9123d5923768959ea2cec624a0335f6b8b.zip packages_apps_browser-1eafdc9123d5923768959ea2cec624a0335f6b8b.tar.gz packages_apps_browser-1eafdc9123d5923768959ea2cec624a0335f6b8b.tar.bz2 |
Merge "Fit 3 bookmark columns in phone portrait"
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/bookmark_grid_row.xml | 4 | ||||
-rw-r--r-- | res/layout/bookmark_thumbnail.xml | 2 | ||||
-rw-r--r-- | res/values-w600dp-port/dimensions.xml | 1 | ||||
-rw-r--r-- | res/values-w600dp/dimensions.xml | 3 | ||||
-rw-r--r-- | res/values/dimensions.xml | 3 |
5 files changed, 8 insertions, 5 deletions
diff --git a/res/layout/bookmark_grid_row.xml b/res/layout/bookmark_grid_row.xml index 669cff3..5dc3a76 100644 --- a/res/layout/bookmark_grid_row.xml +++ b/res/layout/bookmark_grid_row.xml @@ -18,7 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingLeft="10dp" - android:paddingRight="10dp"> + android:paddingLeft="@dimen/combo_rowPadding" + android:paddingRight="@dimen/combo_rowPadding"> </LinearLayout> diff --git a/res/layout/bookmark_thumbnail.xml b/res/layout/bookmark_thumbnail.xml index fcff322..cd7b9be 100644 --- a/res/layout/bookmark_thumbnail.xml +++ b/res/layout/bookmark_thumbnail.xml @@ -18,7 +18,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" - android:padding="8dip" + android:padding="@dimen/combo_horizontalSpacing" android:background="@drawable/bookmark_thumb_selector" > diff --git a/res/values-w600dp-port/dimensions.xml b/res/values-w600dp-port/dimensions.xml index 7c0d447..3ba38fe 100644 --- a/res/values-w600dp-port/dimensions.xml +++ b/res/values-w600dp-port/dimensions.xml @@ -16,4 +16,5 @@ <dimen name="widgetVerticalSpacing">6dip</dimen> <dimen name="combo_paddingLeftRight">16dip</dimen> <dimen name="combo_horizontalSpacing">8dip</dimen> + <dimen name="combo_rowPadding">10dip</dimen> </resources> diff --git a/res/values-w600dp/dimensions.xml b/res/values-w600dp/dimensions.xml index eae9b0e..82fc37e 100644 --- a/res/values-w600dp/dimensions.xml +++ b/res/values-w600dp/dimensions.xml @@ -26,7 +26,8 @@ <!-- For the combined Bookmarks History view --> <dimen name="combo_paddingTop">50dip</dimen> <dimen name="combo_paddingLeftRight">134dip</dimen> - <dimen name="combo_horizontalSpacing">20dip</dimen> + <dimen name="combo_horizontalSpacing">8dip</dimen> + <dimen name="combo_rowPadding">10dip</dimen> <dimen name="qc_radius_start">50dip</dimen> <dimen name="qc_radius_increment">70dip</dimen> <dimen name="qc_slop">15dip</dimen> diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml index 450c580..a3404a3 100644 --- a/res/values/dimensions.xml +++ b/res/values/dimensions.xml @@ -55,8 +55,9 @@ <dimen name="widgetVerticalSpacing">12dip</dimen> <!-- For the combined Bookmarks History view --> <dimen name="combo_paddingTop">10dip</dimen> - <dimen name="combo_paddingLeftRight">8dip</dimen> + <dimen name="combo_paddingLeftRight">0dip</dimen> <dimen name="combo_horizontalSpacing">6dip</dimen> + <dimen name="combo_rowPadding">0dip</dimen> <dimen name="tab_view_thumbnail_height">76dip</dimen> <!-- Preference activity side margins --> <dimen name="preference_screen_side_margin">0dp</dimen> |