From 70597b0af1a259adba68e992657372c57bb5d6f1 Mon Sep 17 00:00:00 2001 From: Alpar Szotyori Date: Wed, 22 Sep 2021 16:35:47 +0200 Subject: [PATCH 1/2] Fix button background color customization on photo tips and no results screens Using a custom button style with `backgroundTint` to set the button background color according to the material components documentation: https://github.com/material-components/material-components-android/blob/master/docs/components/Button.md#container-attributes-2 --- .../layout-sw600dp-land/gc_activity_photo_tips.xml | 6 ++---- .../gc_activity_photo_tips_with_multipage.xml | 6 ++---- .../layout-sw600dp-land/gc_fragment_noresults.xml | 6 ++---- .../res/layout-sw600dp/gc_activity_photo_tips.xml | 5 ++--- .../gc_activity_photo_tips_with_multipage.xml | 5 ++--- .../res/layout-sw600dp/gc_fragment_noresults.xml | 5 ++--- .../src/main/res/layout/gc_activity_photo_tips.xml | 6 ++---- .../layout/gc_activity_photo_tips_with_multipage.xml | 6 ++---- .../src/main/res/layout/gc_fragment_noresults.xml | 6 ++---- ginicapture/src/main/res/values/styles.xml | 12 ++++++++++++ 10 files changed, 30 insertions(+), 33 deletions(-) diff --git a/ginicapture/src/main/res/layout-sw600dp-land/gc_activity_photo_tips.xml b/ginicapture/src/main/res/layout-sw600dp-land/gc_activity_photo_tips.xml index 8009d2f1..ab8b7672 100644 --- a/ginicapture/src/main/res/layout-sw600dp-land/gc_activity_photo_tips.xml +++ b/ginicapture/src/main/res/layout-sw600dp-land/gc_activity_photo_tips.xml @@ -171,15 +171,13 @@