Added Google logo

pull/198/head
M66B 4 years ago
parent 60f5cc00b3
commit 9bc9f7cd3a

@ -181,8 +181,15 @@ public class FragmentSetup extends FragmentBase {
PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(context, getViewLifecycleOwner(), btnQuick);
Menu menu = popupMenu.getMenu();
// Product icons https://about.google/brand-resource-center/brand-elements/
// You may use small depictions of our Google product icons for educational or informational purposes
// to indicate that your product or service integrates with, is designed for, or is related to a Google product or service
// but you cant imply affiliation with or endorsement from Google.
// https://commons.wikimedia.org/wiki/File:Google_%22G%22_Logo.svg
int order = 1;
menu.add(Menu.NONE, R.string.title_setup_gmail, order++, R.string.title_setup_gmail);
menu.add(Menu.NONE, R.string.title_setup_gmail, order++, R.string.title_setup_gmail)
.setIcon(R.drawable.provider_google);
for (EmailProvider provider : EmailProvider.loadProfiles(context))
if (provider.oauth != null &&

@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:viewportWidth="48"
android:viewportHeight="48">
<group>
<clip-path
android:pathData="M44.5,20H24v8.5h11.8C34.7,33.9 30.1,37 24,37c-7.2,0 -13,-5.8 -13,-13s5.8,-13 13,-13c3.1,0 5.9,1.1 8.1,2.9l6.4,-6.4C34.6,4.1 29.6,2 24,2 11.8,2 2,11.8 2,24s9.8,22 22,22c11,0 21,-8 21,-22 0,-1.3 -0.2,-2.7 -0.5,-4z"/>
<path
android:pathData="M0,37V11l17,13z"
android:fillColor="#FBBC05"/>
</group>
<group>
<clip-path
android:pathData="M44.5,20H24v8.5h11.8C34.7,33.9 30.1,37 24,37c-7.2,0 -13,-5.8 -13,-13s5.8,-13 13,-13c3.1,0 5.9,1.1 8.1,2.9l6.4,-6.4C34.6,4.1 29.6,2 24,2 11.8,2 2,11.8 2,24s9.8,22 22,22c11,0 21,-8 21,-22 0,-1.3 -0.2,-2.7 -0.5,-4z"/>
<path
android:pathData="M0,11l17,13 7,-6.1L48,14V0H0z"
android:fillColor="#EA4335"/>
</group>
<group>
<clip-path
android:pathData="M44.5,20H24v8.5h11.8C34.7,33.9 30.1,37 24,37c-7.2,0 -13,-5.8 -13,-13s5.8,-13 13,-13c3.1,0 5.9,1.1 8.1,2.9l6.4,-6.4C34.6,4.1 29.6,2 24,2 11.8,2 2,11.8 2,24s9.8,22 22,22c11,0 21,-8 21,-22 0,-1.3 -0.2,-2.7 -0.5,-4z"/>
<path
android:pathData="M0,37l30,-23 7.9,1L48,0v48H0z"
android:fillColor="#34A853"/>
</group>
<group>
<clip-path
android:pathData="M44.5,20H24v8.5h11.8C34.7,33.9 30.1,37 24,37c-7.2,0 -13,-5.8 -13,-13s5.8,-13 13,-13c3.1,0 5.9,1.1 8.1,2.9l6.4,-6.4C34.6,4.1 29.6,2 24,2 11.8,2 2,11.8 2,24s9.8,22 22,22c11,0 21,-8 21,-22 0,-1.3 -0.2,-2.7 -0.5,-4z"/>
<path
android:pathData="M48,48L17,24l-4,-3 35,-10z"
android:fillColor="#4285F4"/>
</group>
</vector>
Loading…
Cancel
Save