summaryrefslogtreecommitdiff
path: root/res/layout-port/headlines_row_unread.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-06-20 14:16:24 +0400
committerAndrew Dolgov <[email protected]>2012-06-20 14:16:24 +0400
commitb7c9792ada57c2fcc398c95320bfbb57ae59fb35 (patch)
tree866027a4bbb5e3552014eeb94d42eec5c3188560 /res/layout-port/headlines_row_unread.xml
parent1ffdbfe1873f0b5b41ff05553cdc8b0fe5e99510 (diff)
various layout and code updates to support feed_title in virtual feeds
(requires API 3)
Diffstat (limited to 'res/layout-port/headlines_row_unread.xml')
-rw-r--r--res/layout-port/headlines_row_unread.xml63
1 files changed, 36 insertions, 27 deletions
diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml
index fcf1c387..4910cdc7 100644
--- a/res/layout-port/headlines_row_unread.xml
+++ b/res/layout-port/headlines_row_unread.xml
@@ -7,7 +7,6 @@
android:gravity="center_vertical"
android:orientation="vertical" >
-
<LinearLayout
android:id="@+id/linearLayout7"
android:layout_width="match_parent"
@@ -34,8 +33,8 @@
android:layout_height="match_parent"
android:ellipsize="end"
android:singleLine="true"
- android:textColor="?headlineTextColor"
android:text="There are many variations of passages of Lorem Ipsum available"
+ android:textColor="?headlineTextColor"
android:textSize="16sp" />
<LinearLayout
@@ -77,7 +76,19 @@
android:layout_weight="1"
android:text="Jan 01, 00:00"
android:textColor="#909090"
- android:textSize="13sp" />
+ android:textSize="11sp" />
+
+ <TextView
+ android:id="@+id/feed_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:ellipsize="end"
+ android:gravity="right"
+ android:singleLine="true"
+ android:text="{Feed title...}"
+ android:textColor="?headlineExcerptTextColor"
+ android:textSize="11sp" />
<ImageView
android:id="@+id/marked"
@@ -96,10 +107,8 @@
android:src="@drawable/ic_rss_bw" />
</LinearLayout>
</LinearLayout>
-
</LinearLayout>
-
<TextView
android:id="@+id/content"
android:layout_width="match_parent"
@@ -107,31 +116,31 @@
android:layout_weight="1" />
<LinearLayout
- android:id="@+id/attachments_holder"
+ android:id="@+id/attachments_holder"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0" >
+
+ <Spinner
+ android:id="@+id/attachments"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="0" >
+ android:layout_weight="1"
+ android:prompt="@string/attachments_prompt" />
- <Spinner
- android:id="@+id/attachments"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:prompt="@string/attachments_prompt" />
+ <Button
+ android:id="@+id/attachment_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:text="@string/attachment_view" />
- <Button
- android:id="@+id/attachment_view"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:text="@string/attachment_view" />
+ <Button
+ android:id="@+id/attachment_copy"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:text="@string/attachment_copy" />
+ </LinearLayout>
- <Button
- android:id="@+id/attachment_copy"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:text="@string/attachment_copy" />
- </LinearLayout>
-
</LinearLayout> \ No newline at end of file