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

61 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"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
2014-11-01 08:02:01 +00:00
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"
2015-06-01 13:30:23 +00:00
android:layout_width="21dp"
android:layout_height="21dp"
2011-11-28 11:25:55 +00:00
android:layout_weight="0"
android:scaleType="fitXY"
2015-06-01 13:30:23 +00:00
android:src="?ic_rss_box" />
2011-11-28 11:25:55 +00:00
<TextView
android:id="@+id/title"
android:fontFamily="sans-serif-medium"
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"
2015-06-01 13:30:23 +00:00
android:paddingLeft="30dp"
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="14sp" />
<TextView
android:id="@+id/unread_counter"
android:fontFamily="sans-serif-medium"
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"
2014-11-03 07:47:54 +00:00
android:layout_marginLeft="16dp"
android:textColor="?unreadCounterColor"
android:textSize="14sp" />
<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>