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/feeds_row_selected.xml | |
parent | d7dfd661ce86a6db4eac472a365ce0437c24ea0a (diff) |
draw separate views for active/unread/normal headlines and feeds
Diffstat (limited to 'res/layout/feeds_row_selected.xml')
-rw-r--r-- | res/layout/feeds_row_selected.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/res/layout/feeds_row_selected.xml b/res/layout/feeds_row_selected.xml new file mode 100644 index 00000000..7ee526f7 --- /dev/null +++ b/res/layout/feeds_row_selected.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_height="?android:attr/listPreferredItemHeight" + android:orientation="horizontal" + android:background="?feedsSelectedBackground" + android:gravity="center_vertical" + android:id="@+id/feeds_row" android:layout_width="match_parent" android:paddingBottom="4dip" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingTop="4dip"> + <TextView + android:id="@+id/title" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_gravity="center_vertical" + android:paddingLeft="6dip" + android:text="{FEED}" android:layout_width="wrap_content" android:textSize="21dp"/> + <TextView + android:id="@+id/unread_counter" + android:gravity="right" + android:textStyle="bold" + android:paddingRight="6dip" + android:textColor="?unreadCounterColor" + android:layout_gravity="center_vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="{123}" android:textSize="16dp"/> + +</LinearLayout>
\ No newline at end of file |