What is the right height for login with Google button? - angular-material

According to examples in Google Sign-In Branding Guidelines the height of the login button has to be 46px, but the height of the button component in the Angular Material is 36px (So I suppose it is correct button height in Material design overall).
So, what is the correct size for login with google button in my site on material design?

The sign-in guidelines are not Material Design, but they allow for changing the button according to the application design (emphasis mine):
Matching your own app's style
Using the standard Google Sign-In button is strongly recommended as it enables Google users to more
quickly identify the Google option. If you need to to adapt the button
to match your app design or translate the text "Sign in with" or "Sign
in", follow these guidelines.
Size
You can scale the button as needed for different devices and
screen sizes, but you must preserve the aspect ratio so that the
Google logo is not stretched.

Related

Rate app popup on iOS looks different on two different applications

We implemented in-app rate dialog in two our applications, however one application has cool looking view with text description but another has only icon without text. We use SKStoreReviewController to show this popup and its API has only one method (two if count deprecated) to show popup and doesn't have any customization options. Both application were launched on the same device model with same iOS version differences only in theme settings, as you could see by popup color
How it's possible to turn weird-looking popup to cool-looking with text description on it?

How to implement the "instagram explore page" top buttons?

If you open the instagram app on your mobile and go to the explorer page you can see couple of buttons on the top of the page like "IGTV", "Travel", ... The interesting part for me is that you can scroll these buttons to the left or right. My question is how do we implement this feature in swift? do we use standard buttons in a specific container or use totally different things. thanks

Quick access to features by searching

In iOS application, tab bar id added containing more than 10tabs and screens.
Note: Tab bar is just example.
I want to implement search menu(feature), so that user can search and quickly navigate to particular screen. There are number of screens and to go to particular screen user has to taps number of time. So here I have to provide search option so that user can search and quickly navigate to particular screen. I want to minimize number of taps and provide quick access to all features in the application.
For e.g) When user enter text 'edit profile', app should show options relevant to entered text like "Edit Profile". When user tap on it, it should navigate to Edit profile screen.
What should be approach to implement such kind of functionality?
Do I need to define all features somewhere?
How to manage navigation?
How to provide suggestions as per entered search text?

Full screen switch in ProcessFlow control SAPUI5

The UX guidelines for sap.suite.ui.commons.ProcessFlow mentions of a header toolbar, with the possibility of a 'Full screen' toggle for the entire ProcessFlow control, apart from 'Zoom In', 'Zoom Out' etc. (see top right in the image).
However, the API doesn't have any aggregations to add neither the toggle nor any toolbar.
Is it possible to add a Full screen toggle to ProcessFlow control?
Note that these controls(or toolbar) are not part of Process Flow UI5 Control.
These buttons are places in the header content of sap.m.Page.
Nevertheless, sap.suite.ui.commons.ProcessFlow provides zoomIn() and zoomOut() methods.
And coming to FullScreen thing, you can use sap.m.SplitApp with mode as HideMode.
You can try Combinations here
P.S: Don't always go with screenshots. They could be jazzy and for demo purpose only.
Disclaimer: All opinions are personal. I don't talk on behalf of any employer.

Scale google signin button on iOS w/ constraints

I am trying to add google login to my iOS application. The app will go to my nodejs server (using passport to hit google to login). Long story short I do not need to use the Google iOS sdk for login as I am not going from my to directly to google.
But I do need a correctly styled google signin button. I found the branding guidelines here:
https://developers.google.com/+/branding-guidelines?hl=en
And they have a download for the iOS icons and a sketch file. The problem I am running into how do I use that button image and have it scale correctly based on constraints? IE if I set the image as the background and size the button to be whatever size I want in my view the G+ will also stretch.
But if I don't set as a background I cannot make the button the correct width.
Is there a way to make the button whatever width I want without stretching the G+ logo?
Next up would be how to get Roboto Text in there as well...
Try Image Slicing. Below is the steps:
Select the image you add in the asset catalog.
Choose Horizontel in Slicing section of the Attributes Inspecter.
Input 35 for Left field, input 5 for Right field. Below is what the slicing looks like:
Set the image as a button background in Storyboard or nib.
Now resize the button, the logo will not be streched.

Resources