tt-rss-android/org.fox.ttrss/src/main/res/layout/feeds_row.xml
2015-06-04 14:27:41 +03:00

61 lines
2.0 KiB
XML
Executable File

<?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"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:baselineAligned="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
android:layout_gravity="center_vertical"
android:layout_width="21dp"
android:layout_height="21dp"
android:layout_weight="0"
android:scaleType="fitXY"
android:src="?ic_rss_box" />
<TextView
android:id="@+id/title"
android:fontFamily="sans-serif-medium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_weight="1"
android:ellipsize="end"
android:paddingLeft="35dp"
android:singleLine="true"
android:text="Feed"
android:paddingBottom="2dp"
android:textColor="?feedlistTextColor"
android:textSize="14sp" />
<TextView
android:id="@+id/unread_counter"
android:fontFamily="sans-serif-medium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:singleLine="true"
android:text="3200"
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"
android:background="@null"
android:paddingLeft="8dp"
android:visibility="gone"
android:src="@drawable/ic_action_overflow" />
</LinearLayout>