Skip to content

Conversation

@arberg
Copy link
Contributor

@arberg arberg commented Oct 30, 2021

This includes #49, so I suggest merging that first, though the order probably won't matter.

EditTexts have bottom-offset, doesn't work well in some situations (maybe when changing font, I don't remeber the issue I had, except I had to change to TextView to use the lib with my fonts).

Added setTextPadding for setting offset of text for adjustments for fonts.

Added autoAdjustWidth parameter: Auto adjust width to available width (shrink only)
Added autoAdjustToSquareFormat parameter: Keep view square

arberg and others added 20 commits October 29, 2021 19:01
…which cannot always be fixed by padding. Also editTexts capture clicks, which prevents focus by clicking inactive pin-views.

Added setTextPadding for setting offset of text for adjustments for fonts.
…. Added autoAdjustToSquareFormat parameter: Keep view square
…hen set to 0dp (which is similar to how ConstraintLayout works)
…lastTagHavingValue usage was incorrectly migrated. Cleaned up that lastTagHavingValue.

Also simplified and fixed behaviour on delete. Before some pinviews (numbers, passwords) required 2-3 del to start deleting. Now all pinviews behave identically, no more special for numbers and passwords. The rule is the last unfilled view always has focus, delete always deletes, but does not move focus if last pinview had data (similar to when entering data).
…th, so we can reduce textSize via that listener
@arberg arberg changed the title EditText -> TextView to fix spacing problem (addendum to #49) EditText -> TextView to fix spacing problem (addendum to #49) - updated for kotlin release Nov 4, 2021
arberg added 3 commits March 17, 2022 11:36
Bugfix earlier (to-kotlin?) code: Open-keyboard delayed on init, should only open if not disabled in XML settings.
# Conflicts:
#	pinview/src/main/java/com/goodiebag/pinview/Pinview.kt
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.

1 participant