shobhitpuri / custom-google-signin-button

A custom SignInButton for Android that supports 'android:text' attribute, currently not supported by Google's original 'SignInButton'. This library also allows to set button theme to dark or light and is based on Google guidelines.
http://go.shobhitpuri.com/googlesignin
MIT License
78 stars 25 forks source link

Display not shown #13

Closed paolotormon closed 3 years ago

paolotormon commented 4 years ago

custom-google-button-1

custom-google-button-0

It looks like this, I already added dependencies

shobhitpuri commented 4 years ago

Can you please share the details? i.e what OS level are your running the app on? Also please share both of your build.gradle? I want to see the target sdk etc to help replicate the issue. Thanks!

paolotormon commented 4 years ago

Hi Shobhit, I'm using Windows 10 and I'm running the app on API 29

App Gradle: target-sdk

Project Gradle project-gradle

shobhitpuri commented 4 years ago

Interesting! I tried to reproduce using the same settings but couldn't. Which Android device / Simulator and OS level you are running the code on?

Can you try with your settings by checking out the sample project in the master branch of this repo?

paolotormon commented 4 years ago

I'm using Nexus 5 API 29, although that button screenshot is from the .xml file's design view so the device is not the cause.

Okay I will try your suggestion

shobhitpuri commented 4 years ago

Sometimes the layout preview doesn't give the whole picture, that's why asked. You see the above behaviour on the Nexus device as well as the layout preview, right?

rahulyadav97185966 commented 3 years ago

custom-google-button-1

custom-google-button-0

It looks like this, I already added dependencies

i think the android 4.1 has this issue, i am also getting same issue tried everything.

rahulyadav97185966 commented 3 years ago

try to run your application in the mobile device the icon is visible when you run the application, it's just a bug in android studio.

shobhitpuri commented 3 years ago

@rahulyadav97185966 Thanks for sharing your experience! I'll close issue for now then 👍