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 130 forks source link

Expiration date text #100

Closed fahad-mukhtar closed 3 years ago

fahad-mukhtar commented 3 years ago

how can i change the Expiration date place holder text?

sshropshire commented 3 years ago

Hi @fahad-mukhtar it's not recommended to change placeholder text. The card form library supports several different locales which will benefit a diverse set of users.

However if you must, ((CardForm) findViewById(R.id.card_form)).getExpirationDateEditText().setHint("hint") should do it.