title: Android - How to change the text on Facebook login button
body: <p>I'm trying to change the text on Facebook login button on Android.</p>
  <p>I have gone through number of Stack Overflow answers but none them worked. Is there a way to change it?</p>
  <p>I have tried the answers in these links: [1][1], [2][2], [3][3].</p>
  <p>If I use <code>com.facebook.login.widget.LoginButton</code> button, I'm unable change the text on the button. (I'm able to login though)</p>
  <pre><code>&lt;com.facebook.login.widget.LoginButton
      android:id=&quot;@+id/fragment_login_fb_login_button&quot;
      android:layout_width=&quot;@dimen/fragment_login_fb_button_width&quot;
      android:layout_height=&quot;@dimen/fragment_login_fb_button_height&quot;
      android:layout_gravity=&quot;center&quot;
      android:layout_marginTop=&quot;@dimen/fragment_login_fb_button_top_margin&quot;
      android:background=&quot;@drawable/fragment_login_fb_login_button_background&quot;
      android:drawableLeft=&quot;@drawable/facebook_icon&quot;
      android:gravity=&quot;center&quot;
      android:text=&quot;@string/label_fragment_login_sign_in_with_facebook&quot;
      android:textColor=&quot;@android:color/white&quot;
      android:textStyle=&quot;bold&quot;/&gt;
  </code></pre>
  <p>If I use <code>Button</code> I was able to change the text, but I'm unable to login.</p>
  <pre><code>&lt;Button
      android:id=&quot;@+id/fragment_login_fb_login_button&quot;
      android:layout_width=&quot;@dimen/fragment_login_fb_button_width&quot;
      android:layout_height=&quot;@dimen/fragment_login_fb_button_height&quot;
      android:layout_gravity=&quot;center&quot;
      android:layout_marginTop=&quot;@dimen/fragment_login_fb_button_top_margin&quot;
      android:background=&quot;@drawable/fragment_login_fb_login_button_background&quot;
      android:drawableLeft=&quot;@drawable/facebook_icon&quot;
      android:gravity=&quot;center&quot;
      android:text=&quot;@string/label_fragment_login_sign_in_with_facebook&quot;
      android:textColor=&quot;@android:color/white&quot;
      android:textStyle=&quot;bold&quot;/&gt;
  </code></pre>
  <p>I'm using android facebook sdk version 4.5.0
  [1]: <a href="https://stackoverflow.com/questions/16314651/customize-android-facebook-login-button">customize Android Facebook Login button</a>
  [2]: <a href="https://stackoverflow.com/questions/16496738/is-it-possible-to-change-facebook-login-button-image-in-facebook-android-sdk3">Is it possible to change Facebook login button image in Facebook Android SDK3?</a>
  [3]: <a href="https://stackoverflow.com/questions/29740325/set-login-logout-text-for-button-in-facebook-android-sdk-4-0">Set Login/Logout Text for Button in Facebook Android SDK 4.0?</a></p>