braintree / android-card-form

A ready-made card form layout that can be included in your Android app, making it easy to accept credit and debit cards.
MIT License
366 stars 128 forks source link

Is it possible to change Postal Code to Zip Code #32

Closed MmtBkn closed 7 years ago

MmtBkn commented 7 years ago

Hello,

I need to replace 'Postal Code' with 'Zip Code'.

I'm able to get editText using the following, but I think hint is set at EditTextLayout.

cardForm.getPostalCodeEditText()

Thank you.

lkorth commented 7 years ago

You just need to call setFieldHint on the PostalCodeEditText.