summaryrefslogtreecommitdiffstats
path: root/res/layout/history_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/history_item.xml')
-rw-r--r--res/layout/history_item.xml59
1 files changed, 41 insertions, 18 deletions
diff --git a/res/layout/history_item.xml b/res/layout/history_item.xml
index 1d51ad1..50903a4 100644
--- a/res/layout/history_item.xml
+++ b/res/layout/history_item.xml
@@ -16,27 +16,50 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
- android:layout_height="64dip"
- android:orientation="vertical"
+ android:layout_height="wrap_content"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:orientation="horizontal"
android:paddingRight="6dip"
- android:paddingTop="8dip"
- android:paddingLeft="4dip"
- android:background="@color/translucent_white"
+ android:paddingLeft="6dip"
+ android:paddingTop="5dip"
+ android:paddingBottom="5dip"
+ android:gravity="center_vertical"
>
- <TextView android:id="@+id/title"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:maxLines="1"
- android:layout_width="wrap_content"
+ <ImageView android:id="@+id/favicon"
+ android:layout_width="20dip"
+ android:layout_height="20dip"
+ android:layout_marginLeft="5dip"
+ android:layout_marginRight="11dip"
+ android:padding="2dip"
+ android:background="@drawable/fav_icn_background"
+ android:src="@drawable/app_web_browser_sm"
+ />
+ <LinearLayout android:layout_width="0dip"
+ android:layout_weight="1"
android:layout_height="wrap_content"
- android:ellipsize="end"
- android:drawablePadding="4dip"
- />
- <TextView android:id="@+id/url"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:maxLines="1"
- android:layout_width="wrap_content"
+ android:orientation="vertical"
+ >
+ <TextView android:id="@+id/title"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:maxLines="1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:ellipsize="end"
+ />
+ <TextView android:id="@+id/url"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:maxLines="1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:ellipsize="end"
+ />
+ </LinearLayout>
+ <CheckBox android:id="@+id/star"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="24dip"
- android:ellipsize="end"
+ android:focusable="false"
+ android:button="@android:drawable/btn_star"
/>
</LinearLayout>