summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/feeds_goback.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-06 19:04:59 +0300
committerAndrew Dolgov <[email protected]>2014-11-06 19:04:59 +0300
commit6be9af46004d4d8bcb39fcca0a119754434b96cd (patch)
treeb2df66ac64025939bd71a5afc0a4169853aad71e /org.fox.ttrss/src/main/res/layout/feeds_goback.xml
parent73cf0c07a68f3c35e3d397e56a7acedd637d5e42 (diff)
add loading progressbars to feeds/cats fragments
replace open parent button with a more familiar to msdos users ".." mnemonic near the listview top
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/feeds_goback.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/feeds_goback.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_goback.xml b/org.fox.ttrss/src/main/res/layout/feeds_goback.xml
new file mode 100644
index 00000000..bace3d5f
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/layout/feeds_goback.xml
@@ -0,0 +1,39 @@
+<?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: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="16dp"
+ android:layout_height="16dp"
+ android:layout_weight="0"
+ android:scaleType="fitXY"
+ android:visibility="invisible"
+ android:src="@drawable/ic_unpublished" />
+
+ <TextView
+ android:fontFamily="sans-serif-light"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:layout_weight="1"
+ android:ellipsize="end"
+ android:paddingLeft="16dp"
+ android:singleLine="true"
+ android:text=".."
+ android:paddingBottom="2dp"
+ android:textColor="?feedlistTextColor"
+ android:textSize="18sp" />
+
+</LinearLayout> \ No newline at end of file