tt-rss-android/org.fox.ttrss/src/main/res/layout/feeds_row.xml

60 lines
2.0 KiB
XML
Raw Normal View History

2011-09-08 11:28:38 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/feeds_row"
android:layout_width="match_parent"
2011-09-08 11:28:38 +00:00
android:layout_height="?android:attr/listPreferredItemHeight"
android:descendantFocusability="blocksDescendants"
2014-11-01 08:02:01 +00:00
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:baselineAligned="true"
2011-09-08 11:28:38 +00:00
android:gravity="center_vertical"
2014-11-01 08:02:01 +00:00
android:orientation="horizontal">
2011-11-28 11:25:55 +00:00
<ImageView
android:id="@+id/icon"
2014-11-01 08:02:01 +00:00
android:layout_gravity="center_vertical"
android:layout_width="16dp"
android:layout_height="16dp"
2011-11-28 11:25:55 +00:00
android:layout_weight="0"
android:scaleType="fitXY"
2013-10-15 15:34:45 +00:00
android:src="@drawable/ic_unpublished" />
2011-11-28 11:25:55 +00:00
<TextView
android:id="@+id/title"
android:fontFamily="sans-serif-light"
2014-11-01 08:02:01 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2014-11-01 08:02:01 +00:00
android:gravity="center_vertical"
android:layout_weight="1"
2013-10-24 18:40:00 +00:00
android:ellipsize="end"
2014-11-01 08:02:01 +00:00
android:paddingLeft="12dip"
2013-05-28 10:50:03 +00:00
android:singleLine="true"
2014-11-01 08:02:01 +00:00
android:text="Feed"
android:paddingBottom="2dp"
android:textColor="?feedlistTextColor"
android:textSize="18sp" />
<TextView
android:id="@+id/unread_counter"
2014-11-01 08:02:01 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
2013-05-27 18:48:31 +00:00
android:singleLine="true"
android:text="3200"
android:textColor="?unreadCounterColor"
2014-11-01 08:02:01 +00:00
android:textSize="14sp"
android:textStyle="bold" />
<ImageButton
android:id="@+id/feed_menu_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
2013-10-24 18:40:00 +00:00
android:background="@null"
2013-10-15 15:46:51 +00:00
android:paddingLeft="8dp"
2014-11-01 08:02:01 +00:00
android:visibility="gone"
android:src="@drawable/ic_action_overflow" />
2011-09-08 11:28:38 +00:00
</LinearLayout>