-
Notifications
You must be signed in to change notification settings - Fork 535
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
Fix part of #28,#29,#33: Hi-fi input interaction views #330
Conversation
@mschanteltc
2.The color of hint/text is not matching required contrast ratio. @mschanteltc |
Hi Nikita,
|
Ok thank you. please reply on the below and also review this PR. 3.Text contrast
|
Please update your code with latest develop. |
app/src/main/java/org/oppia/app/customview/interaction/FractionInputInteractionView.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/customview/interaction/NumericInputInteractionView.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/customview/interaction/TextInputInteractionView.kt
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.
Please do the changes and assign me back.
Found this is not the reason of the suggestion in Accessibility Scanner test. |
Done |
…://github.com/oppia/oppia-android into hi-fi-input-interaction-views # Conflicts: # app/src/main/res/layout/text_input_interaction_item.xml
Thank you. This PR is only for input views. |
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.
LGTM and nice work with Date input type.
android:imeOptions="actionDone" | ||
android:inputType="date" |
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.
One problem with this date input type. It allows user to add -
and if this is submitted it will crash.
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.
Fraction can be negative. If its is getting crashed need to find the issue in parsing which is updated by ben.
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.
Okay just make a note of it, that we need to resolve this. Beside this looks good to me.
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.
Please resolve one comment and assign it back to me.
OK |
Explanation
Mock: https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/40d6cf5f-f673-42c8-af15-035f711ef6b9/PM-IN-Introduction-
Checklist
TextInput (similar to the mock)
Final touch up with padding, margin and Accessibility Scanner test
Numeric Text Input (similar to the mock)
Final touch up with padding, margin and Accessibility Scanner test
FractionInput (similar to the mock)
Final touch up with padding, margin and Accessibility Scanner test
Reference Mocks
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/4d4e4bd8-3755-41fc-bf83-3dcff5d5eee1/Lesson-1-a-ii-Exploration-Player-Text-Input-No-Ans
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/eeed0f6c-54ca-4371-ab23-5199abd87f28/Lesson-1-a-ii-Exploration-Player-Text-Input-Keyboa
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/d66097bf-8421-41d8-bfda-2450d6e98dea/Lesson-1-a-i-Exploration-Player-Fraction-Input-No-
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/249c3349-605b-4569-bbe9-1a017ab90101/Lesson-1-a-i-Exploration-Player-Fraction-Input-No-
https://xd.adobe.com/spec/e2239cf4-9cde-4c08-5296-25316c1f0a14-9412/screen/c4b0dfb3-53b4-491e-a759-818e096183fd/Lesson-1-a-v-Exploration-Player-Numeric-Input-No-A
Checklist