Bug 1220309 - Correct all caps button text in Button from AppCompat. r=sebastian

AppCompat capitalizes all text in `Button`s so we have to override
that behavior to maintain the same UI. Ideally, we do this through
`android:buttonStyle` but the place I found the issue doesn't inherit
from that style so we can't and we change the style directly.

There may be issues with other `Button`s, but this is the only one I found.

--HG--
extra : commitid : JWDZBWuhsYy
extra : rebase_source : 534d09ceca6d15bfd1ad49772ee0f3bfad4751c1
This commit is contained in:
Michael Comella 2015-12-15 11:26:33 -08:00
parent 1a13f5a1a3
commit 9763f76ec5

View File

@ -841,6 +841,9 @@
<item name="android:paddingBottom">16dp</item>
<item name="android:paddingLeft">8dp</item>
<item name="android:paddingRight">8dp</item>
<!-- AppCompat sets Button text to all caps so we override that here. -->
<item name="textAllCaps">false</item>
</style>
<style name="TabQueueActivity" parent="android:style/Theme.NoDisplay" />