tt-rss-android/res/layout/feeds_row.xml

63 lines
2.1 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"
2011-09-08 11:28:38 +00:00
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="10dip"
android:paddingLeft="8dip"
android:paddingRight="8dip"
2013-05-27 18:48:31 +00:00
android:paddingTop="10dip"
android:textAlignment="center" >
2011-11-28 11:25:55 +00:00
<ImageView
android:id="@+id/icon"
android:layout_width="20dp"
android:layout_height="20dp"
2011-11-28 11:25:55 +00:00
android:layout_weight="0"
android:scaleType="fitXY"
2011-11-28 11:25:55 +00:00
android:src="@drawable/ic_rss_bw" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:paddingLeft="8dip"
2013-05-28 10:50:03 +00:00
android:singleLine="true"
android:ellipsize="end"
android:text="{FEED}"
android:textColor="?feedlistTextColor"
android:textSize="18dip" />
<TextView
android:id="@+id/unread_counter"
2013-05-27 18:48:31 +00:00
android:layout_width="45dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2013-05-27 18:48:31 +00:00
android:layout_marginRight="6dp"
android:layout_weight="0"
2013-05-27 18:48:31 +00:00
android:background="?attr/unreadCounterBackground"
android:gravity="center"
android:paddingBottom="4dp"
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingTop="4dp"
android:singleLine="true"
android:text="3200"
android:textColor="?unreadCounterColor"
2013-05-27 18:48:31 +00:00
android:textSize="12sp"
android:textStyle="bold" />
<ImageButton
android:id="@+id/feed_menu_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@null"
android:src="@drawable/ic_action_overflow" />
2011-09-08 11:28:38 +00:00
</LinearLayout>