0

How I want the button label(font style) to be: Log in, Login with Facebook, Login with Twitter.

How I get is: Log In, Login With Facebook, Login With Twitter

I have tried the following:

  1. Tried the code given in the below link: Why is my Button text forced to ALL CAPS on Lollipop?

  2. Tried the css (like we use in the HTML5): text-transform: none -> No result

Thanks in advance.

Community
  • 1
  • 1
Suren
  • 11
  • 1
  • 4
  • 1
    Welcome to SO, please be a bit more specific when asking question: what have you tried, what do you expect, etc. See [how to ask](http://stackoverflow.com/help/how-to-ask) – Nehal Dec 28 '15 at 12:21

1 Answers1

1

Android Lollipop defaults to capitalized text on buttons. This is the platform default. You can override it using some native methods, see here: https://developer.android.com/reference/android/support/v7/widget/AppCompatButton.html

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Brad Martin
  • 5,637
  • 4
  • 28
  • 44