@@ -21,22 +21,22 @@ Add the following to your `build.gradle`:
2121
2222### Attributes
2323
24- * numDigits - The number of digits in the PIN, default 4.
25- * digitWidth - The width of the digit view, default 50dp.
26- * digitHeight - The heigh of the digit view, default 50dp.
27- * digitSpacing - The distance between the digit views, default 20dp.
28- * digitBackground - A resource to use for the digit views, supports drawables or colours and can
24+ * ` numDigits ` - The number of digits in the PIN, default 4.
25+ * ` digitWidth ` - The width of the digit view, default 50dp.
26+ * ` digitHeight ` - The heigh of the digit view, default 50dp.
27+ * ` digitSpacing ` - The distance between the digit views, default 20dp.
28+ * ` digitBackground ` - A resource to use for the digit views, supports drawables or colours and can
2929 be used with a custom selector as an alternative to using the built in accent support (by setting
3030 the ` accentColor ` as transparent). Defaults to ` android:windowBackground ` from the current theme.
31- * digitTextSize - The size of the text in the digit view, default 15sp.
32- * digitTextColor - The colour of the text in the digit view, defaults to ` android:textColorPrimary `
31+ * ` digitTextSize ` - The size of the text in the digit view, default 15sp.
32+ * ` digitTextColor ` - The colour of the text in the digit view, defaults to ` android:textColorPrimary `
3333 from the current theme.
34- * mask - A character to use as a mask for the entered PIN value, can be set to an empty string to
34+ * ` mask ` - A character to use as a mask for the entered PIN value, can be set to an empty string to
3535 show typed numbers, default * .
36- * accentColor - The colour of the accent to use to highlight the view when it's in focus, defaults
36+ * ` accentColor ` - The colour of the accent to use to highlight the view when it's in focus, defaults
3737 to ` android:colorAccent ` from the current theme.
38- * accentWidth - The width of the accent highlight, default 3dp.
39- * accentType - Defines the behaviour of the accent, default none, options:
40- * none - disabled
41- * all - highlights each separate digit view
42- * character - highlights a single digit view to represent the position of the cursor
38+ * ` accentWidth ` - The width of the accent highlight, default 3dp.
39+ * ` accentType ` - Defines the behaviour of the accent, default none, options:
40+ * ` none ` - disabled
41+ * ` all ` - highlights each separate digit view
42+ * ` character ` - highlights a single digit view to represent the position of the cursor
0 commit comments