Skip to content

Conversation

Fideas
Copy link
Contributor

@Fideas Fideas commented Jan 15, 2016

Provide a simple method to show a placeholder text on each DigitView before the user types in his PIN code.

Usage

PinEntryView.setPlaceHolderText("your-string");  
  1. The length of the argument must match the .digits property
  2. If the user doesn't call this method the the views work just like they do now

New variables

String placeholder

  • Holds the placeholder
  • It is used to check the behavior of the pin entry (old behavior/placeholder behavior)

int digitPlaceholderTextColor

  • Non-selectable color to draw the placeholder text so it can be distinguish from user input
  • Defaults to Material secondary text (Black 54% transparency)

A simple method to set text of the DigitViews before the user has
introduced the pin.
This is a non-editable color for the time being, defaults to material
light secondary text.
@Philio
Copy link
Owner

Philio commented Jan 15, 2016

Thanks @Fideas I'll review over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants