I'm creating a Android application and right now i'm implementing the social networks login.
Facebook button is fine, but the google+ button is in a different language of the facebook one. Also, it only says "sign in", and i would like to have it to say "sign in with google"
I'm new to the android programation, and saw that i need to make a custom button, but dont know how to do it(where to start it, how to call it) and make it look like google plus one.
Could anyone give me a little bit of help?
Thanks
Set
app:buttonSize="wide"
like thisBut, don't forget to add this xml namespace prefix in the top
I found two ways:
1) Fight it with a custom button:
2) Don't fight it (too much):
The main trick seems to be the "mGooglePlusSignInButton.setSize(SignInButton.SIZE_WIDE);" method.
Try this function to change google plus button text.
Per the Customizing your Google+ sign in button guide, you can use
to get the text 'Sign in with Google' on your sign in button as discussed in the Google+ sign in branding guidelines