Scale Google Login Button on iOS with Restrictions

I am trying to add google login to my iOS application. The application will go to my nodejs site (using a passport to get to Google to log in). In short, I don’t need to use the Google iOS sdk to sign in, as I am not switching from direct to direct on Google.

But I need a properly designed Google login button. I found branding principles here: https://developers.google.com/+/branding-guidelines?hl=en

And they have a download for iOS icons and a thumbnail file. The problem I am facing is how to use this button image and is it correct to scale it based on constraints? IE, if I set the image as the background and the size of the button to be the size that I want, in my opinion, G + will also stretch.

enter image description here

But if I do not set the background, I can not make the button the correct width.

Is there a way to make a button of any width I want without stretching the G + logo?

Next, we will show how to get Roboto Text ...

enter image description here

+4
source share
1 answer

Try Image Processing . Following are the steps:

  • , .
  • Horizontel Slicing .
  • 35 , 5 . , :

Slicing

  1. .

, .

+2

Source: https://habr.com/ru/post/1612839/


All Articles