card.io-Android-source icon indicating copy to clipboard operation
card.io-Android-source copied to clipboard

Manual Entry Activity ignoring app theme's value for textColorHint

Open eliasbagley opened this issue 9 years ago • 2 comments

I am setting the Card.io Intent extra to use my App's theme, but my theme's value of #FF0000 is ignored by the manual entry activity EditTexts. No matter what I set in my theme, the manual entry EditText hint color stays white.

eliasbagley avatar Mar 03 '16 08:03 eliasbagley

I'm looking through the source and I don't immediately see any problems.. each EditText is handled with something like:

if(! useApplicationTheme ) {
    cvvEdit.setHintTextColor(Appearance.TEXT_COLOR_EDIT_TEXT_HINT);
}

Any ideas where this issue could be? I've checked and double checked that my Application has a theme, and that I'm setting intent.putExtra(CardIOActivity.EXTRA_KEEP_APPLICATION_THEME, true);

eliasbagley avatar Mar 03 '16 08:03 eliasbagley

Could this be related to https://github.com/card-io/card.io-Android-SDK/issues/99? I don't recall the results of my testing during the original development, but I do remember the hint color being difficult to change.

braebot avatar Mar 04 '16 00:03 braebot