-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(capture-sdk) Add inform "qr code not available" message #547
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a few small requests regarding text localisation and tablet layouts.
capture-sdk/sdk/src/main/res/layout/gc_detection_error_layout.xml
Outdated
Show resolved
Hide resolved
capture-sdk/sdk/src/main/res/layout/gc_detection_error_layout.xml
Outdated
Show resolved
Hide resolved
capture-sdk/sdk/src/main/res/layout-sw600dp-land/gc_fragment_camera.xml
Outdated
Show resolved
Hide resolved
capture-sdk/sdk/src/main/res/layout-sw600dp/gc_fragment_camera.xml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for requesting more changes, but I noticed some more UI differences:
- "Body2" font style is not used
- positioning on tablets is not aligned with the bottom of the frame (white corners)
- inner padding should be 8dp on phones and 16dp on tablets (you can view the distances in Figma with the option (⌥) button)
- drop shadow is missing (if not possible or too complicated to show it back to API Level 21, then only show from a more recent API level)
I made these screenshots to compare design (left) and implementation (right):
android:background="@drawable/gc_detection_error_background" | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto"> | ||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Request] Please use style="@style/GiniCaptureTheme.Typography.Body2"
for the text.
android:text="@string/gc_detection_error_layout_description"/> | ||
|
||
|
||
<TextView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Request] Also here please use style="@style/GiniCaptureTheme.Typography.Body2"
.
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now! Thank you! Can go to QA 🎉
PP-143