问题描述
我正在使用ConstraintLayout,并且在一个片段(登录片段)中,我尝试使用以下代码添加Google的登录按钮
<com.google.android.gms.common.SignInButton
android:id="@+id/sign_in_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="96dp"
android:layout_marginBottom="255dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
我包含的插件是(应用程序级别)
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}
但是按钮仍然没有出现。出现了点但图形按钮没有出现!
以下是一些相关的屏幕截图- https://imgur.com/a/LYjXrs4
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)