Added vector Google logo

This commit is contained in:
M66B 2022-07-11 13:20:36 +02:00
parent 6010a5fb8e
commit 8155a707eb
23 changed files with 37 additions and 24 deletions

View File

@ -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);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:state_enabled="true"
android:state_pressed="false"
android:state_focused="false"
android:drawable="@drawable/btn_google_light_normal" />
<item
android:state_enabled="true"
android:state_pressed="false"
android:state_focused="true"
android:drawable="@drawable/btn_google_light_focus" />
<item
android:state_enabled="true"
android:state_pressed="true"
android:drawable="@drawable/btn_google_light_pressed" />
<item
android:state_enabled="false"
android:drawable="@drawable/btn_google_light_disabled" />
</selector>

View File

@ -0,0 +1,36 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="46dp"
android:height="46dp"
android:viewportWidth="46"
android:viewportHeight="46">
<group
android:pivotX="23"
android:pivotY="23"
android:scaleX="2"
android:scaleY="2">
<path
android:fillColor="#4285F4"
android:fillType="evenOdd"
android:pathData="M31.64,23.205C31.64,22.566 31.583,21.953 31.476,21.364L23,21.364L23,24.845L27.844,24.845C27.635,25.97 27.001,26.923 26.048,27.561L26.048,29.82L28.956,29.82C30.658,28.253 31.64,25.945 31.64,23.205L31.64,23.205Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
<path
android:fillColor="#34A853"
android:fillType="evenOdd"
android:pathData="M23,32C25.43,32 27.467,31.194 28.956,29.82L26.048,27.561C25.242,28.101 24.211,28.42 23,28.42C20.656,28.42 18.672,26.837 17.964,24.71L14.957,24.71L14.957,27.042C16.438,29.983 19.482,32 23,32L23,32Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
<path
android:fillColor="#FBBC05"
android:fillType="evenOdd"
android:pathData="M17.964,24.71C17.784,24.17 17.682,23.593 17.682,23C17.682,22.407 17.784,21.83 17.964,21.29L17.964,18.958L14.957,18.958C14.348,20.173 14,21.548 14,23C14,24.452 14.348,25.827 14.957,27.042L17.964,24.71L17.964,24.71Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
<path
android:fillColor="#EA4335"
android:fillType="evenOdd"
android:pathData="M23,17.58C24.321,17.58 25.508,18.034 26.44,18.925L29.022,16.344C27.463,14.892 25.426,14 23,14C19.482,14 16.438,16.017 14.957,18.958L17.964,21.29C18.672,19.163 20.656,17.58 23,17.58L23,17.58Z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</group>
</vector>