summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-09-09 11:14:16 -0700
committerJohn Reck <jreck@google.com>2011-09-09 11:41:28 -0700
commit83c0151b266f4789cb1728294eac98e3dba0ed53 (patch)
treeb4a462df30b0ab1ceede47372298a8f552e4a1ea /res/layout
parentd7dd9b2ecb12da278c053291b684b885ee574301 (diff)
downloadpackages_apps_Browser-83c0151b266f4789cb1728294eac98e3dba0ed53.zip
packages_apps_Browser-83c0151b266f4789cb1728294eac98e3dba0ed53.tar.gz
packages_apps_Browser-83c0151b266f4789cb1728294eac98e3dba0ed53.tar.bz2
Cleanup history perf + UI
Bug: 5283880 Change-Id: Id2868335d308b8dabf79fe33e177a2d0babd66d9
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/history_item.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/res/layout/history_item.xml b/res/layout/history_item.xml
index f6076a0..ad07280 100644
--- a/res/layout/history_item.xml
+++ b/res/layout/history_item.xml
@@ -19,7 +19,8 @@
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="horizontal"
- android:paddingLeft="20dip"
+ android:paddingLeft="12dip"
+ android:paddingRight="8dip"
>
<ImageView android:id="@+id/favicon"
android:layout_width="32dip"
@@ -33,7 +34,8 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:paddingLeft="16dip"
+ android:paddingLeft="8dip"
+ android:paddingRight="8dip"
android:layout_gravity="center_vertical"
>
<TextView android:id="@+id/title"
@@ -42,8 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
- android:ellipsize="marquee"
- android:marqueeRepeatLimit="marquee_forever"
+ android:ellipsize="end"
/>
<TextView android:id="@+id/url"
android:textAppearance="?android:attr/textAppearanceSmall"
@@ -51,8 +52,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
- android:ellipsize="marquee"
- android:marqueeRepeatLimit="marquee_forever"
+ android:ellipsize="middle"
/>
</LinearLayout>
<CheckBox android:id="@+id/star"
@@ -60,8 +60,8 @@
android:layout_height="wrap_content"
android:paddingTop="16dip"
android:paddingBottom="16dip"
- android:paddingRight="20dip"
- android:paddingLeft="16dip"
+ android:paddingRight="8dip"
+ android:paddingLeft="8dip"
android:focusable="false"
android:button="@drawable/btn_checkbox_star"
android:layout_gravity="center_vertical"