Fixes #3197 Replace hardcoded dimensions with dimen resource values (#3402)

This commit is contained in:
Yash Khare 2020-02-12 09:56:33 +05:30 committed by GitHub
parent 9b3f3e9d3c
commit 69e7161c61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 542 additions and 506 deletions

View file

@ -14,9 +14,9 @@
android:id="@+id/cart_icon_image_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginEnd="@dimen/activity_margin_horizontal"
android:gravity="center"
android:layout_marginRight="8dp"
android:layout_marginRight="@dimen/activity_margin_horizontal"
app:srcCompat="@drawable/ic_notifications_white_24dp" />
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
@ -28,7 +28,7 @@
android:layout_alignRight="@id/cart_icon_image_view"
android:background="@drawable/notification_badge"
android:gravity="center"
android:padding="2dp"
android:padding="@dimen/miniscule_margin"
android:textColor="#ffffffff"
android:textSize="7sp"
android:textStyle="bold"