diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index 1ae6fb11ad..3a23c65a13 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -313,7 +313,7 @@ public class FragmentSetup extends FragmentBase { .putExtra("pop", provider.pop != null)); // https://developers.google.com/identity/branding-guidelines resid = ("gmail".equals(provider.id) - ? R.drawable.google_signin + ? R.drawable.btn_google_light_normal : res.getIdentifier("provider_" + provider.id, "drawable", pkg)); if (resid != 0) item.setIcon(resid); diff --git a/app/src/main/res/drawable-hdpi/btn_google_light_disabled.9.png b/app/src/main/res/drawable-hdpi/btn_google_light_disabled.9.png deleted file mode 100644 index 2d2ee9f3ae..0000000000 Binary files a/app/src/main/res/drawable-hdpi/btn_google_light_disabled.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/btn_google_light_focus.9.png b/app/src/main/res/drawable-hdpi/btn_google_light_focus.9.png deleted file mode 100644 index 1c2e344888..0000000000 Binary files a/app/src/main/res/drawable-hdpi/btn_google_light_focus.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/btn_google_light_normal.9.png b/app/src/main/res/drawable-hdpi/btn_google_light_normal.9.png deleted file mode 100644 index 9faa971d64..0000000000 Binary files a/app/src/main/res/drawable-hdpi/btn_google_light_normal.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/btn_google_light_pressed.9.png b/app/src/main/res/drawable-hdpi/btn_google_light_pressed.9.png deleted file mode 100644 index 7fbfd68624..0000000000 Binary files a/app/src/main/res/drawable-hdpi/btn_google_light_pressed.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/btn_google_light_disabled.9.png b/app/src/main/res/drawable-mdpi/btn_google_light_disabled.9.png deleted file mode 100644 index b67ef7d1bf..0000000000 Binary files a/app/src/main/res/drawable-mdpi/btn_google_light_disabled.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/btn_google_light_focus.9.png b/app/src/main/res/drawable-mdpi/btn_google_light_focus.9.png deleted file mode 100644 index c444d0de28..0000000000 Binary files a/app/src/main/res/drawable-mdpi/btn_google_light_focus.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/btn_google_light_normal.9.png b/app/src/main/res/drawable-mdpi/btn_google_light_normal.9.png deleted file mode 100644 index 44d5229a54..0000000000 Binary files a/app/src/main/res/drawable-mdpi/btn_google_light_normal.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-mdpi/btn_google_light_pressed.9.png b/app/src/main/res/drawable-mdpi/btn_google_light_pressed.9.png deleted file mode 100644 index 22767c35df..0000000000 Binary files a/app/src/main/res/drawable-mdpi/btn_google_light_pressed.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/btn_google_light_disabled.9.png b/app/src/main/res/drawable-xhdpi/btn_google_light_disabled.9.png deleted file mode 100644 index 91ca1e89a3..0000000000 Binary files a/app/src/main/res/drawable-xhdpi/btn_google_light_disabled.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/btn_google_light_focus.9.png b/app/src/main/res/drawable-xhdpi/btn_google_light_focus.9.png deleted file mode 100644 index bb2b41e9ad..0000000000 Binary files a/app/src/main/res/drawable-xhdpi/btn_google_light_focus.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/btn_google_light_normal.9.png b/app/src/main/res/drawable-xhdpi/btn_google_light_normal.9.png deleted file mode 100644 index cfed22694b..0000000000 Binary files a/app/src/main/res/drawable-xhdpi/btn_google_light_normal.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/btn_google_light_pressed.9.png b/app/src/main/res/drawable-xhdpi/btn_google_light_pressed.9.png deleted file mode 100644 index 16210b4538..0000000000 Binary files a/app/src/main/res/drawable-xhdpi/btn_google_light_pressed.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/btn_google_light_disabled.9.png b/app/src/main/res/drawable-xxhdpi/btn_google_light_disabled.9.png deleted file mode 100644 index 9817625bc7..0000000000 Binary files a/app/src/main/res/drawable-xxhdpi/btn_google_light_disabled.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/btn_google_light_focus.9.png b/app/src/main/res/drawable-xxhdpi/btn_google_light_focus.9.png deleted file mode 100644 index 4b5bae0fe2..0000000000 Binary files a/app/src/main/res/drawable-xxhdpi/btn_google_light_focus.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/btn_google_light_normal.9.png b/app/src/main/res/drawable-xxhdpi/btn_google_light_normal.9.png deleted file mode 100644 index dde35a312f..0000000000 Binary files a/app/src/main/res/drawable-xxhdpi/btn_google_light_normal.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/btn_google_light_pressed.9.png b/app/src/main/res/drawable-xxhdpi/btn_google_light_pressed.9.png deleted file mode 100644 index 4f1cd5eeff..0000000000 Binary files a/app/src/main/res/drawable-xxhdpi/btn_google_light_pressed.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/btn_google_light_disabled.9.png b/app/src/main/res/drawable-xxxhdpi/btn_google_light_disabled.9.png deleted file mode 100644 index 79b569e1a0..0000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/btn_google_light_disabled.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/btn_google_light_focus.9.png b/app/src/main/res/drawable-xxxhdpi/btn_google_light_focus.9.png deleted file mode 100644 index 1105ca11b3..0000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/btn_google_light_focus.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/btn_google_light_normal.9.png b/app/src/main/res/drawable-xxxhdpi/btn_google_light_normal.9.png deleted file mode 100644 index 5106157517..0000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/btn_google_light_normal.9.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/btn_google_light_pressed.9.png b/app/src/main/res/drawable-xxxhdpi/btn_google_light_pressed.9.png deleted file mode 100644 index 30dcbc4d3d..0000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/btn_google_light_pressed.9.png and /dev/null differ diff --git a/app/src/main/res/drawable/google_signin.xml b/app/src/main/res/drawable/google_signin.xml deleted file mode 100644 index dc1d99c761..0000000000 --- a/app/src/main/res/drawable/google_signin.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/resExtra/drawable/btn_google_light_normal.xml b/app/src/main/resExtra/drawable/btn_google_light_normal.xml new file mode 100644 index 0000000000..5c330c1495 --- /dev/null +++ b/app/src/main/resExtra/drawable/btn_google_light_normal.xml @@ -0,0 +1,36 @@ + + + + + + + +