diff options
author | ByteHamster <info@bytehamster.com> | 2020-04-11 23:14:08 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-04-11 23:14:08 +0200 |
commit | 67e7f4bec9949e9402bb52b45d217ec48035d6ad (patch) | |
tree | d9401b83fcc718a7baad2adbbbf8462e34d4b386 /app/src/main/res/layout/nav_listitem.xml | |
parent | 772d8728d1a72aac7d723fa22d74d4e827ccc6a1 (diff) | |
download | AntennaPod-67e7f4bec9949e9402bb52b45d217ec48035d6ad.zip |
Reduce font size of new count
Diffstat (limited to 'app/src/main/res/layout/nav_listitem.xml')
-rw-r--r-- | app/src/main/res/layout/nav_listitem.xml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index 87f07793c..f03ebc09f 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -18,7 +18,6 @@ android:adjustViewBounds="true" android:cropToPadding="true" android:scaleType="centerInside" - android:padding="4dp" android:layout_marginLeft="@dimen/listitem_icon_leftpadding" android:layout_marginStart="@dimen/listitem_icon_leftpadding" android:layout_marginTop="4dp" @@ -44,13 +43,31 @@ android:layout_toEndOf="@id/imgvCover" tools:text="Navigation item title" /> + <com.joanzapata.iconify.widget.IconTextView + android:id="@+id/itxtvFailure" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toLeftOf="@id/txtvCount" + android:layout_toStartOf="@id/txtvCount" + android:layout_marginLeft="@dimen/list_vertical_padding" + android:layout_marginStart="@dimen/list_vertical_padding" + android:layout_alignWithParentIfMissing="true" + android:lines="1" + android:text="{fa-exclamation-circle}" + android:textColor="@color/download_failed_red" + android:textSize="@dimen/text_size_navdrawer" + android:layout_centerVertical="true" + android:visibility="gone" + tools:text="!" + tools:background="@android:color/holo_green_dark"/> + <TextView android:id="@+id/txtvCount" android:layout_width="wrap_content" android:layout_height="wrap_content" android:lines="1" android:textColor="?android:attr/textColorTertiary" - android:textSize="@dimen/text_size_navdrawer" + android:textSize="14sp" android:layout_marginLeft="12dp" android:layout_marginStart="12dp" android:layout_marginRight="@dimen/listitem_icon_rightpadding" |