Skip to content
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: Show text counter on caption dialog, request focus #1045

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

nikclayton
Copy link
Contributor

Previous layout didn't enable the character counter for entered text, so it was difficult for the user to see how much they had used.

Fix that. To get the layout to play nicely switch to a ConstraintLayout with a chain to split the dialog roughly 50/50 between the image and the caption views.

While I'm here:

  • Remove the margins around the image, so it's clearer, and is more consistent with the "set focus" dialog.
  • Set focus on the description immediately, so the keyboard pops up.
  • Remove focusability from the image, since the user shouldn't be able to interact with it.

Previous layout didn't enable the character counter for entered text,
so it was difficult for the user to see how much they had used.

Fix that. To get the layout to play nicely switch to a ConstraintLayout
with a chain to split the dialog roughly 50/50 between the image and
the caption views.

While I'm here:

- Remove the margins around the image, so it's clearer, and is more
consistent with the "set focus" dialog.
- Set focus on the description immediately, so the keyboard pops up.
- Remove focusability from the image, since the user shouldn't be
able to interact with it.
@nikclayton nikclayton merged commit e7068da into main Oct 24, 2024
23 checks passed
@nikclayton nikclayton deleted the caption-dialog branch October 24, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant