-
Notifications
You must be signed in to change notification settings - Fork 945
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
Replace NumberPickerDialog by NumberPopup #1370
Conversation
import java.text.DecimalFormat | ||
|
||
class NumberPopup( | ||
private val context: Context, |
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.
Remove private val
?
Logs
simplescreenrecorder-2022-05-21_11.08.22.mp4 |
@hiqua Hi, I have some thoughts with these confusions:
After thinking about it, in the current situation where the input is displayed in the form of a pop-up box, clicking outside the note area will directly save it, and it is more appropriate to change the save button of the note field to a cancel button, that is, to invert the current save and discard operations.
I think for consistency with the previous experience, it's possible to prevent the user from entering so many decimal places, so that the user can find out for themselves, "Oh! Same as the original, only two decimal places" |
@hiqua @Henwij Thank you for the feedback! Some comments:
|
Sounds good, thanks a lot! |
Fixes issues with copy & paste, text selection and spell checking.
Description
This PR replaces our current number picker dialog by a much smaller popup, mostly to keep it consistent with the new CheckmarkPopup introduced in #1346.
@kalina559 @hiqua If you have any thoughts or feedback, I would appreciate it. Thanks!
Screenshot