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" />