Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Different API levels have a different name for the DatePicker "OK" button, how to click it? #3

@theangrydev

Description

@theangrydev

Which led to this in tests:

private Matcher<View> datePickerDone() {
    return withText(anyOf(is("OK"), is("Set"), is("Done")));
}

Is there a better way?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions