<com.facebook.widget.LoginButton
android:id="@+id/authButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="30dp"
/>
我想用其他图片更改登录按钮样式,如何操作?
非常感谢!
最佳答案
Fb sdk已设置按钮背景为
this.setBackgroundResource(R.drawable.com_facebook_loginbutton_blue);
你应该更改fb sdk中的图像,
将drawable(com_facebook_loginbutton_blue)替换为您在fb sdk中的drawable
关于android - 如何更改 facebook android sdk 登录按钮的样式?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17101830/