diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-05-06 16:33:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 16:33:32 +0200 |
commit | d7768d33e2bf8bfee9bb36979dd5603e3060ec64 (patch) | |
tree | 85d2807d656cd034623ebb5b66cee53ef4da1941 /app/src | |
parent | 0107cf22cc8836c876696d56c98ae882d0c7dc78 (diff) | |
parent | af31464cd5ca6f0f8b5da215ddb639774309150a (diff) | |
download | AntennaPod-d7768d33e2bf8bfee9bb36979dd5603e3060ec64.zip |
Merge pull request #3161 from andersonvom/2982-fix-icon-padding
Fix padding when count is zero and error happened
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/res/layout/nav_feedlistitem.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/res/layout/nav_feedlistitem.xml b/app/src/main/res/layout/nav_feedlistitem.xml index 73d07bc57..816870d1c 100644 --- a/app/src/main/res/layout/nav_feedlistitem.xml +++ b/app/src/main/res/layout/nav_feedlistitem.xml @@ -5,6 +5,10 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="@dimen/listitem_iconwithtext_height" + android:paddingLeft="@dimen/listitem_icon_leftpadding" + android:paddingStart="@dimen/listitem_icon_leftpadding" + android:paddingRight="@dimen/listitem_icon_rightpadding" + android:paddingEnd="@dimen/listitem_icon_rightpadding" tools:background="@android:color/darker_gray" android:foreground="?attr/selectableItemBackground"> @@ -21,8 +25,6 @@ android:scaleType="centerCrop" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" - android:layout_marginLeft="@dimen/listitem_icon_leftpadding" - android:layout_marginStart="@dimen/listitem_icon_leftpadding" tools:src="@drawable/ic_stat_antenna_default" tools:background="@android:color/holo_green_dark"/> @@ -32,8 +34,6 @@ android:layout_height="wrap_content" android:layout_marginLeft="@dimen/list_vertical_padding" android:layout_marginStart="@dimen/list_vertical_padding" - android:layout_marginRight="@dimen/listitem_icon_rightpadding" - android:layout_marginEnd="@dimen/listitem_icon_rightpadding" android:lines="1" android:textColor="?android:attr/textColorTertiary" android:textSize="@dimen/text_size_navdrawer" @@ -80,5 +80,4 @@ tools:text="Navigation feed item title" tools:background="@android:color/holo_green_dark"/> - </RelativeLayout> |