Issue 261 fixing fragment preview
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Branch Name
issue_261_fixing_fragment_preview
Related Issues
Closes #261 (closed)
Description
This will fix the fragment preview not displaying properly in Design or Split view modes for the guest intake forms.
Steps to Test
(List the steps needed to test this merge request here using bullets, for ex:)
- Open in Android Studio
- Select fragment_guest_database_registration_first_form.xml
- Select Split or Design view and check if the preview of the UI is loading.
Developer Notes
- Checked out https://stackoverflow.com/questions/68137497/android-studio-xml-render-problem-string-index-out-of-range-1 and found a potential solution to the issue that dealt with the autofillHints attribute being blank.
- Tested by removing the attribute entirely, the UI worked.
- Next, I added them back and filled them in with Android default values I found here: https://developer.android.com/reference/android/view/View.html#AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE
- Important note: this issue exists on a small number of other xml files not related to my group's part of the project. I can update those as part of another issue if needed.
-
- I checked to make sure they weren't being used programatically with the setAutofillHints() method by doing a full search (Ctrl + Shift + F) of the project and found no references to the method. Therefore, I believe changing them won't effect another part of the project, unless I'm missing something.
Edited by Matt Brevetti