From 4fcb8c47923a6ef76d606ca03aebf2a8531136fa Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 27 Mar 2023 16:22:40 +0530 Subject: ui: introduce a fresh set of Material3 themes and migrate to them Signed-off-by: Harsh Shandilya --- ui/src/main/res/layout/tunnel_detail_fragment.xml | 2 +- ui/src/main/res/layout/tunnel_editor_fragment.xml | 2 +- ui/src/main/res/layout/tunnel_list_fragment.xml | 2 +- ui/src/main/res/layout/tv_tunnel_list_item.xml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/src/main/res/layout') diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml index 96829e3c..751088f6 100644 --- a/ui/src/main/res/layout/tunnel_detail_fragment.xml +++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml @@ -25,7 +25,7 @@ diff --git a/ui/src/main/res/layout/tunnel_editor_fragment.xml b/ui/src/main/res/layout/tunnel_editor_fragment.xml index 59572b32..4443c003 100644 --- a/ui/src/main/res/layout/tunnel_editor_fragment.xml +++ b/ui/src/main/res/layout/tunnel_editor_fragment.xml @@ -28,7 +28,7 @@ android:id="@+id/main_container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorBackground"> + android:background="?attr/colorSurface"> + app:contentPadding="8dp" + android:backgroundTint="@{(item.state == State.UP && !isDeleting) ? @color/tv_secondary_dark_color : (isDeleting && isFocused) ? @color/tv_card_delete_background : @color/tv_card_background}">