diff options
author | Andrew Dolgov <[email protected]> | 2011-11-24 13:01:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-24 13:01:51 +0300 |
commit | e9c02c8eca9079c57af6a9c941b50ab11259e3cd (patch) | |
tree | d0327dabdb83dbcaf5b3f2c394734c0f1dc78aed /res/layout/headlines_row.xml | |
parent | d7dfd661ce86a6db4eac472a365ce0437c24ea0a (diff) |
draw separate views for active/unread/normal headlines and feeds
Diffstat (limited to 'res/layout/headlines_row.xml')
-rw-r--r-- | res/layout/headlines_row.xml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml index 656ff80a..b47528d0 100644 --- a/res/layout/headlines_row.xml +++ b/res/layout/headlines_row.xml @@ -2,14 +2,20 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:gravity="center_vertical"
- android:padding="3dip" android:id="@+id/headlines_row" android:orientation="horizontal" android:layout_height="wrap_content">
+ android:id="@+id/headlines_row" android:orientation="horizontal" android:layout_height="wrap_content">
+ <ImageView android:background="?feedsSelectedBackground" android:paddingRight="4dip" android:layout_height="match_parent" android:layout_width="wrap_content"></ImageView>
<CheckBox android:focusable="false"
android:paddingLeft="6dip" android:paddingRight="6dip" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/selected"></CheckBox> - <ImageView android:layout_width="wrap_content" android:id="@+id/imageView1" android:layout_height="wrap_content" android:src="@android:drawable/star_off" android:paddingRight="5dip" android:clickable="true"></ImageView>
- - <LinearLayout android:layout_weight="1" android:layout_height="wrap_content" android:id="@+id/linearLayout1" android:orientation="vertical" android:layout_width="match_parent"> - <TextView android:id="@+id/title" android:textSize="16sp" android:text="{Title...}" android:layout_width="match_parent" android:layout_height="match_parent"></TextView> - <TextView android:id="@+id/excerpt" android:textSize="13sp" android:textColor="#909090" android:text="{Content excerpt...}" android:layout_width="match_parent" android:layout_height="match_parent"></TextView> - </LinearLayout>
+ <LinearLayout android:orientation="vertical" android:id="@+id/linearLayout1" android:layout_weight="1" android:layout_width="match_parent" android:layout_height="wrap_content"> + <TextView android:singleLine="true" android:ellipsize="end" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/title" android:text="{Title...}" android:textSize="16sp"></TextView> + <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/excerpt" android:text="{Content excerpt...}" android:textSize="13sp" android:textColor="#909090"></TextView> + </LinearLayout> + <LinearLayout + android:id="@+id/linerLayout3" + android:layout_width="wrap_content" android:gravity="center" + android:layout_height="wrap_content" android:orientation="vertical"> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/date" android:text="Jan 01"></TextView> + <ImageView android:clickable="true" android:id="@+id/imageView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@android:drawable/star_off"></ImageView> + </LinearLayout>
</LinearLayout>
\ No newline at end of file |