-
Notifications
You must be signed in to change notification settings - Fork 299
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
Create the widget for date time question type #206
Conversation
b87fb22
to
4135af4
Compare
} | ||
|
||
@Test | ||
fun shouldSetTextViewText() { |
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.
Should we rename this test to shouldSetTextInputLayoutHint in all the tests?
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.
done.
dateInputEditText = itemView.findViewById(R.id.dateInputEditText) | ||
// Disable direct text input to only allow input from the date picker dialog | ||
dateInputEditText.keyListener = null | ||
dateInputEditText.setOnFocusChangeListener { _: View, hasFocus: Boolean -> |
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.
User experience :
- Open the date widget
- Select date
- Press ok
- Try to open the date widget again. It Does not open
If some one makes a mistake entering the date/time, the have to enter the time/date and then only then are they able to reopen the date widget. Not sure why this is happening.
Also Looks like TextInputLayout remains highlighted if you click on a radio button / check box.
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.
created #208
4135af4
to
ebc10b2
Compare
Closes #173