android - Login button in PreferenceActivity -


is possible load facebook log in button onto preference activity?

how can set preference layout?

referring developers.facebook.com

add button layout xml file full class name, com.facebook.widget.loginbutton:

<com.facebook.login.widget.loginbutton android:id="@+id/login_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_margintop="30dp" android:layout_marginbottom="30dp" />    

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -