-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PIN Styling Parity for XML and dynamic rendering (#277)
<!-- Update your title to prefix with your ticket number --> ## What Fix PIN field sizing discrepancies between BT and Rosetta for xml-initialized and dynamically-initialized `ForagePINEditText`. This PR also simplifies the **catalog** view of the Sample App since the previous view was overwhelming to develop against. <!-- Please include a summary of the change. List any dependencies that are required for this change. --> ## Why The previous fix only: 1. zero'd out padding when the ForagePINEditText was rendered via XML; it did not zero out padding for dynamically rendered ForagePINEditText 2. did not address the styling discrepancies between BT and rosetta due different default textSizes See [this code comment](https://app.graphite.dev/github/pr/teamforage/forage-android-sdk/277/Add-dynamically-created-ForagePINEditText-to-catalog#comment-PRRC_kwDOIQqcBs5iOMav) for more details. <!-- Describe the motivations behind this change if they are a subset of your ticket --> ## Test Plan - ❌ No unit tests for this since it's styling - ✅ Danilo and Devin have both extensively tested this code change on their local machines.<!-- If so, please describe how to test below. --> ## Demo <!-- If applicable, please include a screenshot to this PR description --> <!-- If applicable, please include a screen recording and post it in #feature-recordings --> ## How Can be released immediately <!-- Describe the rollout plan if it includes multiple PRs/Repos or requires extra steps beyond reverting this PR -->
- Loading branch information
1 parent
b658499
commit 9c253d8
Showing
4 changed files
with
60 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters