From 955a9f6bafa51cc5192d0bb8900beeb6e281b918 Mon Sep 17 00:00:00 2001 From: Marat Subkhankulov Date: Sat, 18 Nov 2017 17:44:30 -0800 Subject: [PATCH] Fixed warnings in layouts --- app/src/main/res/layout/account_list_content.xml | 3 ++- app/src/main/res/layout/activity_request.xml | 6 +++--- app/src/main/res/layout/activity_warning_backup.xml | 6 +++--- app/src/main/res/layout/transaction_list_content.xml | 3 --- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/layout/account_list_content.xml b/app/src/main/res/layout/account_list_content.xml index 7a31004a3..cc342d91b 100644 --- a/app/src/main/res/layout/account_list_content.xml +++ b/app/src/main/res/layout/account_list_content.xml @@ -2,6 +2,7 @@ @@ -32,7 +33,7 @@ android:id="@+id/delete_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:src="@drawable/ic_delete_forever_black_24dp" + app:srcCompat="@drawable/ic_delete_forever_black_24dp" android:background="@null" android:layout_centerVertical="true" android:layout_alignParentRight="true" /> diff --git a/app/src/main/res/layout/activity_request.xml b/app/src/main/res/layout/activity_request.xml index 0de2e87af..3f78aed1d 100644 --- a/app/src/main/res/layout/activity_request.xml +++ b/app/src/main/res/layout/activity_request.xml @@ -3,9 +3,9 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" android:padding="16dp" - tools:context="com.wallet.crypto.trustapp.views.RequestActivity" - > + tools:context="com.wallet.crypto.trustapp.views.RequestActivity"> diff --git a/app/src/main/res/layout/activity_warning_backup.xml b/app/src/main/res/layout/activity_warning_backup.xml index b8bdd0eac..48b0926cc 100644 --- a/app/src/main/res/layout/activity_warning_backup.xml +++ b/app/src/main/res/layout/activity_warning_backup.xml @@ -15,7 +15,7 @@ android:layout_marginBottom="8dp" android:text="Do it later" app:layout_constraintBottom_toBottomOf="parent" - tools:layout_editor_absoluteX="0dp" /> + />