diff options
author | John Reck <jreck@google.com> | 2011-03-18 11:36:54 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-03-18 11:36:54 -0700 |
commit | e078a43326404883ce22834674330ab80adf770f (patch) | |
tree | d6e511a0e205fcd0803ebcd8d69846219d1ecb84 | |
parent | 38d67fe47c6fcf759ef64189f3dd503ef5f82143 (diff) | |
download | packages_apps_Browser-e078a43326404883ce22834674330ab80adf770f.zip packages_apps_Browser-e078a43326404883ce22834674330ab80adf770f.tar.gz packages_apps_Browser-e078a43326404883ce22834674330ab80adf770f.tar.bz2 |
Tweak most visited for phone
Change-Id: Ibf3de3a0bd5fd7ea30e859f0def40e6598bcc348
-rw-r--r-- | res/raw/most_visited.ktpl | 11 | ||||
-rw-r--r-- | res/values/dimensions.xml | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/res/raw/most_visited.ktpl b/res/raw/most_visited.ktpl index 04b9eee..9a6e1b8 100644 --- a/res/raw/most_visited.ktpl +++ b/res/raw/most_visited.ktpl @@ -3,7 +3,7 @@ <html>
<head>
<title><%@ string/new_tab %></title>
-<meta name="viewport" content="width=device-width; initial-scale=1.0;" />
+<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=0" />
<style type="text/css">
@@ -14,20 +14,19 @@ body {
text-align: center;
- margin: 16px auto;
+ margin: 0px auto;
padding: 0 8px 0 8px;
max-width: <%@ dimen/mv_max_width %>px;
}
-#most_visited h3 {
+h3 {
text-align: center;
- padding: 0;
- margin: 5px 0 5px 0px;
+ margin: 5px 0 5px 0;
}
.thumbwrap li {
display: inline-block;
- margin: 0 7px 15px 7px;
+ margin: 0 7px 12px 7px;
padding: 0;
}
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml index dd76eb9..b695120 100644 --- a/res/values/dimensions.xml +++ b/res/values/dimensions.xml @@ -40,11 +40,11 @@ <dimen name="qc_item_size">48dip</dimen> <dimen name="bookmark_widget_thumb_size">32dip</dimen> <dimen name="bookmark_widget_favicon_size">26dip</dimen> - <!-- For the most visited page --> - <dimen name="mv_max_width">830dp</dimen> - <dimen name="mv_item_width">96dp</dimen> - <dimen name="mv_item_width_portrait">96dp</dimen> - <dimen name="mv_border_width">3dp</dimen> + <!-- For the most visited page (we use px as these are adjusted by the browser) --> + <dimen name="mv_max_width">830px</dimen> + <dimen name="mv_item_width">94px</dimen> + <dimen name="mv_item_width_portrait">80px</dimen> + <dimen name="mv_border_width">2px</dimen> <dimen name="tab_padding_top">12dp</dimen> <dimen name="tab_first_padding_left">12dp</dimen> <dimen name="list_favicon_padding">5dip</dimen> |