diff options
author | Andrew Dolgov <[email protected]> | 2013-05-27 22:48:31 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-27 22:48:31 +0400 |
commit | a503c6141f5600f87d15bea342c260f0228130da (patch) | |
tree | d48baac9ef7f35afb1ca2a3e741737d0623b1071 /res/layout/feeds_row_selected.xml | |
parent | 0e942e43397c026345b79ffe2b601ca2bb26f406 (diff) |
use pill counters like tt-rss main
Diffstat (limited to 'res/layout/feeds_row_selected.xml')
-rw-r--r-- | res/layout/feeds_row_selected.xml | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/res/layout/feeds_row_selected.xml b/res/layout/feeds_row_selected.xml index d3d64da9..01714502 100644 --- a/res/layout/feeds_row_selected.xml +++ b/res/layout/feeds_row_selected.xml @@ -33,15 +33,21 @@ <TextView android:id="@+id/unread_counter" - android:layout_width="wrap_content" + android:layout_width="45dp" android:layout_height="wrap_content" android:layout_gravity="center_vertical" + android:layout_marginRight="6dp" android:layout_weight="0" - android:gravity="right" - android:paddingRight="12dp" - android:text="{123}" - android:textColor="?feedlistSelectedTextColor" - android:textSize="13sp" + 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:textStyle="bold" /> <ImageButton |