<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