Skip to content

Commit 24ba227

Browse files
committed
Now uses the new Google logo
Since we don't require Google+ for signing in anymore, the button now also shows the regular/new Google logo. Fixes #33
1 parent 1ba2004 commit 24ba227

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

app/src/main/ic_google-web.png

-5.23 KB
Binary file not shown.

library/src/main/res/drawable/google_button.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
<shape
55
android:shape="rectangle"
66
xmlns:android="http://schemas.android.com/apk/res/android">
7-
<solid android:color="#9a362d" />
7+
<solid android:color="#0F52C1" />
88
<corners android:radius="3dp" />
99
</shape>
1010
</item>
1111
<item android:state_pressed="false">
1212
<shape
1313
android:shape="rectangle"
1414
xmlns:android="http://schemas.android.com/apk/res/android">
15-
<solid android:color="#DC4E41" />
15+
<solid android:color="#4285F4" />
1616
<corners android:radius="3dp" />
1717
</shape>
1818
</item>
Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<vector android:height="24dp" android:viewportHeight="100.0"
3-
android:viewportWidth="100.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
4-
<path android:fillAlpha="1" android:fillColor="#FFFFFFFF" android:pathData="M1.079,84.227c-0.024,-0.242 -0.043,-0.485 -0.056,-0.73C1.036,83.742 1.055,83.985 1.079,84.227zM23.578,55.086c8.805,0.262 14.712,-8.871 13.193,-20.402c-1.521,-11.53 -9.895,-20.783 -18.701,-21.046C9.264,13.376 3.357,22.2 4.878,33.734C6.398,45.262 14.769,54.823 23.578,55.086zM98.999,25.501v-8.164c0,-8.984 -7.348,-16.335 -16.332,-16.335H17.336c-8.831,0 -16.078,7.104 -16.323,15.879c5.585,-4.917 13.333,-9.026 21.329,-9.026c8.546,0 34.188,0 34.188,0l-7.651,6.471H38.039c7.19,2.757 11.021,11.113 11.021,19.687c0,7.201 -4.001,13.393 -9.655,17.797c-5.516,4.297 -6.562,6.096 -6.562,9.749c0,3.117 5.909,8.422 8.999,10.602c9.032,6.368 11.955,12.279 11.955,22.15c0,1.572 -0.195,3.142 -0.58,4.685h29.451C91.652,98.996 99,91.651 99,82.661V31.625H80.626v18.374h-6.125V31.625H56.127V25.5h18.374V7.127h6.125V25.5H99L98.999,25.501zM18.791,74.301c2.069,0 3.964,-0.057 5.927,-0.057c-2.598,-2.52 -4.654,-5.608 -4.654,-9.414c0,-2.259 0.724,-4.434 1.736,-6.366c-1.032,0.073 -2.085,0.095 -3.17,0.095c-7.116,0 -13.159,-2.304 -17.629,-6.111v6.435l0.001,19.305C6.116,75.76 12.188,74.301 18.791,74.301L18.791,74.301zM1.329,85.911c-0.107,-0.522 -0.188,-1.053 -0.243,-1.591C1.141,84.858 1.223,85.389 1.329,85.911zM44.589,92.187c-1.442,-5.628 -6.551,-8.418 -13.675,-13.357c-2.591,-0.836 -5.445,-1.328 -8.507,-1.36c-8.577,-0.092 -16.566,3.344 -21.074,8.457c1.524,7.436 8.138,13.068 16.004,13.068h27.413c0.173,-1.065 0.258,-2.166 0.258,-3.295C45.007,94.502 44.86,93.329 44.589,92.187z"/>
1+
<vector android:height="24dp" android:viewportHeight="46.0"
2+
android:viewportWidth="46.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
3+
<path android:fillColor="#FFFFFF"
4+
android:pathData="M0,0 L46,0 L46,46 L0,46 Z" android:strokeColor="#FFFFFF" android:strokeWidth="1"/>
5+
<group android:scaleX="2" android:scaleY="2" android:translateX="-22" android:translateY="-22">
6+
<path android:fillColor="#4285F4"
7+
android:pathData="M31.64,23.2C31.64,22.57 31.58,21.95 31.48,21.36L23,21.36L23,24.85L27.84,24.85C27.64,25.97 27,26.92 26.05,27.56L26.05,29.82L28.96,29.82C30.66,28.25 31.64,25.95 31.64,23.2L31.64,23.2Z"
8+
android:strokeColor="#00000000" android:strokeWidth="1"/>
9+
<path android:fillColor="#34A853"
10+
android:pathData="M23,32C25.43,32 27.47,31.19 28.96,29.82L26.05,27.56C25.24,28.1 24.21,28.42 23,28.42C20.66,28.42 18.67,26.84 17.96,24.71L14.96,24.71L14.96,27.04C16.44,29.98 19.48,32 23,32L23,32Z"
11+
android:strokeColor="#00000000" android:strokeWidth="1"/>
12+
<path android:fillColor="#FBBC05"
13+
android:pathData="M17.96,24.71C17.78,24.17 17.68,23.59 17.68,23C17.68,22.41 17.78,21.83 17.96,21.29L17.96,18.96L14.96,18.96C14.35,20.17 14,21.55 14,23C14,24.45 14.35,25.83 14.96,27.04L17.96,24.71L17.96,24.71Z"
14+
android:strokeColor="#00000000" android:strokeWidth="1"/>
15+
<path android:fillColor="#EA4335"
16+
android:pathData="M23,17.58C24.32,17.58 25.51,18.03 26.44,18.93L29.02,16.34C27.46,14.89 25.43,14 23,14C19.48,14 16.44,16.02 14.96,18.96L17.96,21.29C18.67,19.16 20.66,17.58 23,17.58L23,17.58Z"
17+
android:strokeColor="#00000000" android:strokeWidth="1"/>
18+
</group>
519
</vector>

0 commit comments

Comments
 (0)