diff options
author | Andrew Dolgov <[email protected]> | 2013-03-30 19:30:47 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-30 19:30:47 +0400 |
commit | 5792022b559eb3ac886f363f76b6f3857efb8d29 (patch) | |
tree | fcca5293c9cb88e9961785335654f0710277d553 /res/layout/headlines_row.xml | |
parent | f7c533d5d92e7fcec2bf910463406299740be26b (diff) |
support showing article author (requires api 5)
bump version
Diffstat (limited to 'res/layout/headlines_row.xml')
-rw-r--r-- | res/layout/headlines_row.xml | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index 24e0d910..571cfd9b 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -21,7 +21,6 @@ android:paddingLeft="6dip"
android:paddingRight="6dip" >
</CheckBox>
- <LinearLayout
android:id="@+id/linearLayout1"
@@ -30,7 +29,6 @@ android:layout_weight="1"
android:orientation="vertical"
android:padding="3dp" >
- <TextView
android:id="@+id/title"
@@ -42,19 +40,37 @@ android:textColor="?headlineTextColor"
android:textSize="16sp"
android:textStyle="bold" >
-
</TextView>
- <TextView
- android:id="@+id/feed_title"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:ellipsize="end"
- android:gravity="center_horizontal"
- android:singleLine="true"
- android:text="{Feed title...}"
- android:textColor="?headlineExcerptTextColor"
- android:textSize="10sp" />
+ <LinearLayout
+ android:id="@+id/feed_and_author"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ android:id="@+id/feed_title"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:ellipsize="end"
+ android:layout_weight="0.5"
+ android:singleLine="true"
+ android:text="{Feed title...}"
+ android:textColor="?headlineExcerptTextColor"
+ android:textSize="10sp" />
+
+ <TextView
+ android:id="@+id/author"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="0.5"
+ android:ellipsize="end"
+ android:gravity="right"
+ android:singleLine="true"
+ android:text="{Author}"
+ android:textColor="?headlineExcerptTextColor"
+ android:textSize="10sp" />
+
+ </LinearLayout>
<TextView
android:id="@+id/excerpt"
@@ -64,7 +80,6 @@ android:textColor="?headlineExcerptTextColor"
android:textSize="13sp" >
</TextView>
- <TextView
android:id="@+id/date"
@@ -75,10 +90,7 @@ android:textColor="?headlineExcerptTextColor"
android:textSize="10sp"
android:textStyle="italic" />
-
</LinearLayout>
- - <LinearLayout
android:id="@+id/linearLayout4"
|