summaryrefslogtreecommitdiff
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-19 14:44:11 +0400
committerAndrew Dolgov <[email protected]>2013-03-19 14:44:11 +0400
commitef8fb0f7e8ea243484a5ce6d0bd63b075d78499e (patch)
treea580a80d1d832beedc194f5123efc536b3fb91d7 /res/layout-sw600dp
parent0be7d5eac54391bf6fe7878e194f4474a07d57ed (diff)
implement different resources for selected and selected+unread headlines
(refs #595)
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/headlines_row_selected.xml2
-rw-r--r--res/layout-sw600dp/headlines_row_selected_unread.xml94
2 files changed, 95 insertions, 1 deletions
diff --git a/res/layout-sw600dp/headlines_row_selected.xml b/res/layout-sw600dp/headlines_row_selected.xml
index 0157fb65..ed84f9f6 100644
--- a/res/layout-sw600dp/headlines_row_selected.xml
+++ b/res/layout-sw600dp/headlines_row_selected.xml
@@ -39,7 +39,7 @@
android:text="{Title...}"
android:textColor="?headlineSelectedTextColor"
android:textSize="16sp"
- android:textStyle="bold" >
+ android:textStyle="normal" >
</TextView>
<TextView
diff --git a/res/layout-sw600dp/headlines_row_selected_unread.xml b/res/layout-sw600dp/headlines_row_selected_unread.xml
new file mode 100644
index 00000000..0157fb65
--- /dev/null
+++ b/res/layout-sw600dp/headlines_row_selected_unread.xml
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/headlines_row"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="?headlineSelectedBackground"
+ android:padding="4sp"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/linearLayout6"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <CheckBox
+ android:id="@+id/selected"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:focusable="false"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip" >
+ </CheckBox>
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:ellipsize="end"
+ android:singleLine="false"
+ android:text="{Title...}"
+ android:textColor="?headlineSelectedTextColor"
+ android:textSize="16sp"
+ android:textStyle="bold" >
+ </TextView>
+
+ <TextView
+ android:id="@+id/excerpt"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:text="{Content excerpt...}"
+ android:textColor="?headlineSelectedExcerptTextColor"
+ android:textSize="13sp" >
+ </TextView>
+
+
+ <TextView
+ android:id="@+id/date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Jan 01"
+ android:textColor="?headlineSelectedExcerptTextColor"
+ android:textSize="11sp"
+ android:textStyle="italic" />
+
+ </LinearLayout>
+
+
+
+
+
+
+ <LinearLayout
+ android:id="@+id/linearLayout4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingRight="15px" >
+
+ <ImageView
+ android:id="@+id/marked"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:src="@android:drawable/star_off" />
+
+ <ImageView
+ android:id="@+id/published"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:clickable="true"
+ android:src="@drawable/ic_rss_bw" />
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file