checkout / frames-android

Frames Android: making native card payments simple
https://www.checkout.com/docs/integrate/sdks/android-sdk
MIT License
47 stars 32 forks source link

Uppercase text style #183

Open benju69 opened 1 year ago

benju69 commented 1 year ago

Is your feature request related to a problem? Please describe. It looks like I can't have my text in all uppercase in my components easily

Describe the solution you'd like val textStyle = TextStyle( font = PaymentFormConstants.customFont, fontStyle = FontStyle.Uppercase, // new style fontWeight = FontWeight.Bold, ) val title = TextLabelStyle( textId = R.string.add_card, textStyle = textStyle, )

or something like text = this.getString(R.string.add_card).uppercase()

Describe alternatives you've considered otherwise I will need to do this in my strings.xml