diff --git a/android/app/src/main/res/layout/feedback_fab.xml b/android/app/src/main/res/layout/feedback_fab.xml index 5400ff261..42041c892 100644 --- a/android/app/src/main/res/layout/feedback_fab.xml +++ b/android/app/src/main/res/layout/feedback_fab.xml @@ -3,10 +3,11 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/feedback_fab" + style="MwmWidget.M3.FAB.Primary" + app:shapeAppearance="@style/ShapeAppearanceOverlay.Material3.FloatingActionButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/feedback" - app:tint="?android:textColorPrimaryInverse" app:srcCompat="@drawable/ic_feedback" android:clickable="true" android:focusable="true" diff --git a/android/app/src/main/res/layout/fragment_downloader.xml b/android/app/src/main/res/layout/fragment_downloader.xml index dbbaffc71..f34220a9e 100644 --- a/android/app/src/main/res/layout/fragment_downloader.xml +++ b/android/app/src/main/res/layout/fragment_downloader.xml @@ -26,6 +26,7 @@ + app:srcCompat="@drawable/ic_plus" /> diff --git a/android/app/src/main/res/layout/map_buttons_bookmarks_square.xml b/android/app/src/main/res/layout/map_buttons_bookmarks_square.xml index 030ad0d2d..b1f57349c 100644 --- a/android/app/src/main/res/layout/map_buttons_bookmarks_square.xml +++ b/android/app/src/main/res/layout/map_buttons_bookmarks_square.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/btn_bookmarks" - style="@style/MwmWidget.MapButton.Square" - app:shapeAppearanceOverlay="@style/MwmWidget.MapButton.Square" + style="@style/MwmWidget.M3.FAB.MapButton.Square" + app:shapeAppearanceOverlay="@style/MwmWidget.M3.FAB.MapButton.Square" android:contentDescription="@string/bookmarks" app:srcCompat="@drawable/ic_bookmarks" /> \ No newline at end of file diff --git a/android/app/src/main/res/layout/map_buttons_help.xml b/android/app/src/main/res/layout/map_buttons_help.xml index 40912c945..3ce7596d3 100644 --- a/android/app/src/main/res/layout/map_buttons_help.xml +++ b/android/app/src/main/res/layout/map_buttons_help.xml @@ -3,6 +3,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/help_button" - style="@style/MwmWidget.MapButton.Square" - app:shapeAppearanceOverlay="@style/MwmWidget.MapButton.Square" + style="@style/MwmWidget.M3.FAB.MapButton.Square" + app:shapeAppearanceOverlay="@style/MwmWidget.M3.FAB.MapButton.Square" app:srcCompat="@drawable/ic_question_mark" /> \ No newline at end of file diff --git a/android/app/src/main/res/layout/map_buttons_layers.xml b/android/app/src/main/res/layout/map_buttons_layers.xml index 24fed92ea..a50f46e28 100644 --- a/android/app/src/main/res/layout/map_buttons_layers.xml +++ b/android/app/src/main/res/layout/map_buttons_layers.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/layers_button" - style="@style/MwmWidget.MapButton" + style="@style/MwmWidget.M3.FAB.MapButton" android:contentDescription="@string/layers_title" - android:tint="?accentColorSelector" + app:tint="?accentColorSelector" app:srcCompat="@drawable/ic_layers" /> \ No newline at end of file diff --git a/android/app/src/main/res/layout/map_buttons_menu.xml b/android/app/src/main/res/layout/map_buttons_menu.xml index 1053d2ebc..4262f7d6b 100644 --- a/android/app/src/main/res/layout/map_buttons_menu.xml +++ b/android/app/src/main/res/layout/map_buttons_menu.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/menu_button" - style="@style/MwmWidget.MapButton.Square" + style="@style/MwmWidget.M3.FAB.MapButton.Square" android:contentDescription="@string/menu" - app:shapeAppearanceOverlay="@style/MwmWidget.MapButton.Square" + app:shapeAppearanceOverlay="@style/MwmWidget.M3.FAB.MapButton.Square" app:srcCompat="@drawable/ic_menu_open" /> \ No newline at end of file diff --git a/android/app/src/main/res/layout/map_buttons_search_square.xml b/android/app/src/main/res/layout/map_buttons_search_square.xml index c63b7cbd7..34b4112be 100644 --- a/android/app/src/main/res/layout/map_buttons_search_square.xml +++ b/android/app/src/main/res/layout/map_buttons_search_square.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/btn_search" - style="@style/MwmWidget.MapButton.Square" - app:shapeAppearanceOverlay="@style/MwmWidget.MapButton.Square" + style="@style/MwmWidget.M3.FAB.MapButton.Square" + app:shapeAppearanceOverlay="@style/MwmWidget.M3.FAB.MapButton.Square" android:contentDescription="@string/search" app:srcCompat="@drawable/ic_search" /> \ No newline at end of file diff --git a/android/app/src/main/res/layout/map_status_track_recording.xml b/android/app/src/main/res/layout/map_status_track_recording.xml index 6e9dd696d..90b15352b 100644 --- a/android/app/src/main/res/layout/map_status_track_recording.xml +++ b/android/app/src/main/res/layout/map_status_track_recording.xml @@ -3,6 +3,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/track_recording_status" - style="@style/MwmWidget.MapButton" - android:tint="@color/accent_color_selector" + style="@style/MwmWidget.M3.FAB.MapButton" + app:tint="@color/accent_color_selector" app:srcCompat="@drawable/ic_track_recording_status" /> \ 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 4243d3e1c..de7efbcd1 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -410,4 +410,26 @@ ?colorSecondary ?colorSecondary + + + + + + diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml index 24d351b77..b3647d9ef 100644 --- a/android/app/src/main/res/values/themes.xml +++ b/android/app/src/main/res/values/themes.xml @@ -14,7 +14,6 @@ @color/text_dark_subtitle ?windowBackgroundForced @color/bg_primary_dark - @color/bg_primary_dark stateUnspecified|adjustPan @string/robotoRegular @null @@ -30,7 +29,6 @@ @color/bg_primary ?secondary @color/base_accent - @color/base_accent @color/base_accent_transparent @color/white_38 @color/bg_panel @@ -132,6 +130,13 @@ @style/MwmWidget.BottomSheet @style/MwmTheme.BottomSheetDialog + + + @color/bg_primary_dark + @color/base_accent + ?colorSecondary + ?android:textColorPrimaryInverse + @@ -148,7 +153,6 @@ @color/text_light_subtitle ?windowBackgroundForced @color/bg_primary_dark_night - @color/bg_primary_dark_night stateUnspecified|adjustPan @string/robotoRegular @null @@ -166,7 +170,6 @@ @color/bg_primary_night ?secondary @color/base_accent_night - @color/base_accent_night @color/base_accent_transparent @color/white_24 @color/bg_panel_night @@ -252,6 +255,12 @@ @style/MwmWidget.BottomSheet @style/MwmTheme.BottomSheetDialog + + + @color/bg_primary_dark_night + @color/base_accent_night + ?colorSecondary + ?android:textColorPrimaryInverse