How to build custom facebook login button by extending fragment class or without it.
Asked
Active
Viewed 675 times
1 Answers
2
Check this simple facebook login Library:
https://github.com/sromku/android-simple-facebook
Here is the link to my uploaded demo for simple facebook login with custom button: http://www.demoadda.com/demo/android/login-with-facebook_108
Its the simplest way to implement the facebook login in android application.
You can add the button like this :
<TextView
android:id="@+id/btnFb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:background="@null"
android:gravity="center"
android:text="Login with Facebook"
android:textColor="@color/white" />
And in gradle File you can add:
compile 'com.sromku:simple-fb:4.1.1'
Please check.
Kishan Dhamat
- 3,588
- 1
- 23
- 35