summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/feeds_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-01 12:02:01 +0400
committerAndrew Dolgov <[email protected]>2014-11-01 12:02:01 +0400
commit2a06e4de302240b31059cbb880b708d5d7f3dab6 (patch)
treececaad644007269e0568f80f24a02eda0a3c7b9b /org.fox.ttrss/src/main/res/layout/feeds_row.xml
parent081b98e9c0abbccaf2d99028e68e2a4a139f17cf (diff)
remove pill counters
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/feeds_row.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/feeds_row.xml39
1 files changed, 17 insertions, 22 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_row.xml b/org.fox.ttrss/src/main/res/layout/feeds_row.xml
index f2fc286c..38603144 100644
--- a/org.fox.ttrss/src/main/res/layout/feeds_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_row.xml
@@ -4,17 +4,19 @@
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
android:descendantFocusability="blocksDescendants"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:baselineAligned="true"
android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingBottom="10dip"
- android:paddingLeft="8dip"
- android:paddingRight="8dip"
- android:paddingTop="10dip" >
+ android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
- android:layout_width="20dp"
- android:layout_height="20dp"
+ android:layout_gravity="center_vertical"
+ android:layout_width="16dp"
+ android:layout_height="16dp"
android:layout_weight="0"
android:scaleType="fitXY"
android:src="@drawable/ic_unpublished" />
@@ -22,34 +24,27 @@
<TextView
android:id="@+id/title"
android:fontFamily="sans-serif-light"
- android:layout_width="0dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
+ android:gravity="center_vertical"
android:layout_weight="1"
android:ellipsize="end"
- android:paddingLeft="8dip"
+ android:paddingLeft="12dip"
android:singleLine="true"
- android:text="{FEED}"
+ android:text="Feed"
+ android:paddingBottom="2dp"
android:textColor="?feedlistTextColor"
android:textSize="18sp" />
<TextView
android:id="@+id/unread_counter"
- android:layout_width="45dp"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="6dp"
android:layout_weight="0"
- 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"
- android:textSize="12sp"
+ android:textSize="14sp"
android:textStyle="bold" />
<ImageButton
@@ -59,7 +54,7 @@
android:layout_weight="0"
android:background="@null"
android:paddingLeft="8dp"
- android:paddingRight="4dp"
+ android:visibility="gone"
android:src="@drawable/ic_action_overflow" />
</LinearLayout> \ No newline at end of file