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..23004b26a 100644 --- a/android/app/src/main/res/layout/fragment_editor.xml +++ b/android/app/src/main/res/layout/fragment_editor.xml @@ -430,7 +430,6 @@ android:layout_height="wrap_content" android:gravity="center" android:layout_marginBottom="@dimen/margin_quarter" - app:backgroundTint="?cardBackground" android:textColor="@color/base_red" app:strokeColor="@color/base_red" android:text="@string/editor_business_vacant_button"/> @@ -441,7 +440,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..1d545ba15 100644 --- a/android/app/src/main/res/layout/fragment_editor_host.xml +++ b/android/app/src/main/res/layout/fragment_editor_host.xml @@ -5,7 +5,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" - android:background="?windowBackgroundForced" android:orientation="vertical"> + 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..4cba6546e 100644 --- a/android/app/src/main/res/layout/fragment_timetable.xml +++ b/android/app/src/main/res/layout/fragment_timetable.xml @@ -9,7 +9,6 @@ style="@style/MwmWidget.FrameLayout.Elevation" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="?windowBackgroundForced" android:layout_above="@+id/tv__mode_switch" android:layout_below="@id/toolbar"/> @@ -18,15 +17,13 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignTop="@+id/tv__mode_switch" - android:layout_alignParentBottom="true" - android:background="?cardBackground"/> + android:layout_alignParentBottom="true" /> 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..2bc584659 100644 --- a/android/app/src/main/res/layout/fragment_timetable_advanced.xml +++ b/android/app/src/main/res/layout/fragment_timetable_advanced.xml @@ -4,8 +4,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="?windowBackgroundForced"> + android:layout_height="match_parent"> + 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..a404d92ce 100644 --- a/android/app/src/main/res/values/styles-editor.xml +++ b/android/app/src/main/res/values/styles-editor.xml @@ -85,12 +85,21 @@ @style/MwmTextAppearance.Body1 - + + \ No newline at end of file diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index a414bb5a3..c61559e33 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -242,10 +242,6 @@ @drawable/shadow_top - - - -