diff --git a/android/app/src/main/res/layout/button_new_item.xml b/android/app/src/main/res/layout/button_new_item.xml
index 9d238de6b..10d296650 100644
--- a/android/app/src/main/res/layout/button_new_item.xml
+++ b/android/app/src/main/res/layout/button_new_item.xml
@@ -8,7 +8,7 @@
android:layout_margin="4dp"
android:clickable="true"
android:focusable="true"
- app:cardBackgroundColor="?cardBackground"
+ app:cardBackgroundColor="?appBackground"
app:cardCornerRadius="12dp"
app:cardElevation="2dp"
tools:showIn="@layout/item_charging_sockets">
diff --git a/android/app/src/main/res/layout/fragment_editor.xml b/android/app/src/main/res/layout/fragment_editor.xml
index 3715c47a3..2b8d02c10 100644
--- a/android/app/src/main/res/layout/fragment_editor.xml
+++ b/android/app/src/main/res/layout/fragment_editor.xml
@@ -6,6 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
+ android:background="?attr/colorSurfaceContainerHigh"
tools:context=".editor.EditorActivity">
@@ -441,7 +441,6 @@
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginBottom="@dimen/margin_base"
- app:backgroundTint="?cardBackground"
android:textColor="@color/base_red"
app:strokeColor="@color/base_red"
tools:text="Reset my changes"/>
diff --git a/android/app/src/main/res/layout/fragment_editor_host.xml b/android/app/src/main/res/layout/fragment_editor_host.xml
index 9ea3723ec..f0d965d2b 100644
--- a/android/app/src/main/res/layout/fragment_editor_host.xml
+++ b/android/app/src/main/res/layout/fragment_editor_host.xml
@@ -2,10 +2,10 @@
+ android:background="?attr/colorSurfaceContainerHigh"
+ android:layout_marginBottom="@dimen/margin_quarter">
diff --git a/android/app/src/main/res/layout/fragment_timetable.xml b/android/app/src/main/res/layout/fragment_timetable.xml
index 700a7ea8d..7f52eb751 100644
--- a/android/app/src/main/res/layout/fragment_timetable.xml
+++ b/android/app/src/main/res/layout/fragment_timetable.xml
@@ -9,7 +9,7 @@
style="@style/MwmWidget.FrameLayout.Elevation"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?windowBackgroundForced"
+ android:background="?attr/colorSurfaceContainerHigh"
android:layout_above="@+id/tv__mode_switch"
android:layout_below="@id/toolbar"/>
@@ -19,14 +19,13 @@
android:layout_height="wrap_content"
android:layout_alignTop="@+id/tv__mode_switch"
android:layout_alignParentBottom="true"
- android:background="?cardBackground"/>
+ android:background="?attr/colorSurfaceContainerHigh"/>/>
diff --git a/android/app/src/main/res/layout/fragment_timetable_advanced.xml b/android/app/src/main/res/layout/fragment_timetable_advanced.xml
index bd729e103..24fd6bbe7 100644
--- a/android/app/src/main/res/layout/fragment_timetable_advanced.xml
+++ b/android/app/src/main/res/layout/fragment_timetable_advanced.xml
@@ -5,7 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?windowBackgroundForced">
+ android:background="?attr/colorSurfaceContainerHigh">>
+ style="@style/MwmWidget.M3.Editor.CardView">
diff --git a/android/app/src/main/res/layout/item_charge_socket.xml b/android/app/src/main/res/layout/item_charge_socket.xml
index eeb49abef..04fecac58 100644
--- a/android/app/src/main/res/layout/item_charge_socket.xml
+++ b/android/app/src/main/res/layout/item_charge_socket.xml
@@ -6,7 +6,7 @@
android:layout_margin="4dp"
android:clickable="true"
android:focusable="true"
- app:cardBackgroundColor="?cardBackground"
+ app:cardBackgroundColor="?appBackground"
app:cardCornerRadius="12dp"
app:cardElevation="2dp">
diff --git a/android/app/src/main/res/layout/item_charging_sockets.xml b/android/app/src/main/res/layout/item_charging_sockets.xml
index 5ca42266e..e0dfde78a 100644
--- a/android/app/src/main/res/layout/item_charging_sockets.xml
+++ b/android/app/src/main/res/layout/item_charging_sockets.xml
@@ -21,5 +21,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/edit_socket_info_tooltip"
- android:textAppearance="?android:attr/textAppearanceSmall" />
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_marginBottom="@dimen/margin_quarter"/>
\ No newline at end of file
diff --git a/android/app/src/main/res/layout/recycler_default.xml b/android/app/src/main/res/layout/recycler_default.xml
index a00ff5978..ed0eef765 100644
--- a/android/app/src/main/res/layout/recycler_default.xml
+++ b/android/app/src/main/res/layout/recycler_default.xml
@@ -4,5 +4,5 @@
android:id="@+id/recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?cardBackground"
+ android:background="?appBackground"
android:scrollbars="vertical"/>
diff --git a/android/app/src/main/res/values/styles-editor.xml b/android/app/src/main/res/values/styles-editor.xml
index 52bf50066..3377aef70 100644
--- a/android/app/src/main/res/values/styles-editor.xml
+++ b/android/app/src/main/res/values/styles-editor.xml
@@ -89,7 +89,7 @@
- match_parent
- wrap_content
- @dimen/margin_half
- - ?cardBackground
+ - ?appBackground
- @dimen/margin_base
- false
diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
index e8811e55d..8381e529d 100644
--- a/android/app/src/main/res/values/styles.xml
+++ b/android/app/src/main/res/values/styles.xml
@@ -239,10 +239,6 @@
- @drawable/shadow_top
-
-
-
-