Skip to content

Conversation

@grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Nov 20, 2025

Closes #6968

Why is this the best possible solution? Were any other approaches considered?

I considered using Jetpack Compose for the new UI, but it would be quite cumbersome since this activity doesn’t use Compose at all yet.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

We need to test the dialog displayed when adding a new repeat group for regression, not just the visual changes.

Do we need any specific form for testing your changes? If so, please attach one.

No.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 marked this pull request as ready for review November 20, 2025 15:29
@grzesiek2010 grzesiek2010 marked this pull request as draft November 20, 2025 15:29
@grzesiek2010 grzesiek2010 marked this pull request as ready for review November 20, 2025 20:48
@grzesiek2010 grzesiek2010 requested a review from seadowg November 20, 2025 20:48
<item name="android:paddingTop">@dimen/margin_small</item>
<item name="android:paddingBottom">@dimen/margin_small</item>
<item name="android:textAppearance">?textAppearanceBodyMedium</item>
<item name="iconSize">24dp</item>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Different icon buttons were using different icon sizes. It wasn’t noticeable before because, even when they appeared on the same screen, they were displayed vertically. In the “add repeat” dialog, however, the buttons are placed in one row, and there the size differences became visible.

@seadowg seadowg requested a review from alyblenkin November 24, 2025 11:50
Copy link
Collaborator

@alyblenkin alyblenkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good – the dialog is a lot more intuitive with the icons and updated copy!

I didn't think we would get to this change for a while, so this was a nice surprise.

@seadowg seadowg merged commit 8e1ec64 into getodk:master Nov 26, 2025
7 checks passed
@WKobus
Copy link

WKobus commented Nov 26, 2025

Tested with success

Verified on Android 16, 11

Verified cases:

@dbemke
Copy link

dbemke commented Nov 26, 2025

Tested with success

Verified on Android 10, 8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update language and add icons to the repeat dialog

5 participants