Merge pull request #3161 from andersonvom/2982-fix-icon-padding

Fix padding when count is zero and error happened
This commit is contained in:
H. Lehmann 2019-05-06 16:33:32 +02:00 committed by GitHub
commit d7768d33e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -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>