From 199f5ff152ed10f1248c4f3397432bb795584f3b Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sat, 11 Mar 2023 19:12:58 +0500 Subject: [PATCH] Update toast colors --- app/src/main/res/layout/custom_toast_error.xml | 2 +- app/src/main/res/layout/custom_toast_info.xml | 4 ++-- app/src/main/res/layout/custom_toast_success.xml | 4 ++-- app/src/main/res/layout/custom_toast_warning.xml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/custom_toast_error.xml b/app/src/main/res/layout/custom_toast_error.xml index 84e2952b..b39f1971 100644 --- a/app/src/main/res/layout/custom_toast_error.xml +++ b/app/src/main/res/layout/custom_toast_error.xml @@ -13,6 +13,6 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" - android:textColor="@color/colorWhite"/> + android:textColor="?attr/primaryTextColor" /> diff --git a/app/src/main/res/layout/custom_toast_info.xml b/app/src/main/res/layout/custom_toast_info.xml index 084d69a1..c8ae97f1 100644 --- a/app/src/main/res/layout/custom_toast_info.xml +++ b/app/src/main/res/layout/custom_toast_info.xml @@ -4,7 +4,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/shape_full_circle" - android:backgroundTint="@color/toastBackground" + android:backgroundTint="?attr/inputTextColor" android:orientation="horizontal" android:padding="15dp"> @@ -13,6 +13,6 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" - android:textColor="@color/colorWhite"/> + android:textColor="?attr/primaryBackgroundColor" /> diff --git a/app/src/main/res/layout/custom_toast_success.xml b/app/src/main/res/layout/custom_toast_success.xml index ac7c3226..c8ae97f1 100644 --- a/app/src/main/res/layout/custom_toast_success.xml +++ b/app/src/main/res/layout/custom_toast_success.xml @@ -4,7 +4,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/shape_full_circle" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/inputTextColor" android:orientation="horizontal" android:padding="15dp"> @@ -13,6 +13,6 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" - android:textColor="@color/colorWhite"/> + android:textColor="?attr/primaryBackgroundColor" /> diff --git a/app/src/main/res/layout/custom_toast_warning.xml b/app/src/main/res/layout/custom_toast_warning.xml index 8e93b8e9..c8ae97f1 100644 --- a/app/src/main/res/layout/custom_toast_warning.xml +++ b/app/src/main/res/layout/custom_toast_warning.xml @@ -4,7 +4,7 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/shape_full_circle" - android:backgroundTint="@color/warningColor" + android:backgroundTint="?attr/inputTextColor" android:orientation="horizontal" android:padding="15dp"> @@ -13,6 +13,6 @@ android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" - android:textColor="@color/colorPrimary"/> + android:textColor="?attr/primaryBackgroundColor" />