diff options
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml')
-rw-r--r-- | org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml new file mode 100644 index 00000000..674e9f23 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/feeds_row_selected.xml @@ -0,0 +1,65 @@ +<?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="?android:attr/listPreferredItemHeight" + android:background="?feedsSelectedBackground" + android:descendantFocusability="blocksDescendants" + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingBottom="10dip" + android:paddingLeft="8dip" + android:paddingRight="8dip" + android:paddingTop="10dip" > + + <ImageView + android:id="@+id/icon" + android:layout_width="20dp" + android:layout_height="20dp" + android:layout_weight="0" + android:scaleType="fitXY" + android:src="@drawable/ic_unpublished" /> + + <TextView + android:id="@+id/title" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_weight="1" + android:ellipsize="end" + android:paddingLeft="8dip" + android:singleLine="true" + android:text="{FEED}" + android:textColor="?feedlistSelectedTextColor" + android:textSize="18dip" /> + + <TextView + android:id="@+id/unread_counter" + android:layout_width="45dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginRight="6dp" + android:layout_weight="0" + android:background="?attr/unreadSelectedCounterBackground" + android:gravity="center" + android:paddingBottom="4dp" + android:paddingLeft="4dp" + android:paddingRight="4dp" + android:paddingTop="4dp" + android:singleLine="true" + android:text="3200" + android:textColor="?unreadCounterColor" + 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:paddingLeft="8dp" + android:paddingRight="4dp" + android:src="@drawable/ic_action_overflow" /> + +</LinearLayout>
\ No newline at end of file |