Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Added setTextAlign to SingleDateAndTimePickerDialog.Builder #316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johnchrisdc
Copy link

This will add the ability to set the text alignment from the SingleDateAndTimePickerDialog.Builder.

Sample builder

singleBuilder = new SingleDateAndTimePickerDialog.Builder(this)
                .titleTextSize(17)
                .bottomSheet()
                .curved()
                .displayMinutes(true)
                .displayHours(true)
                .displayAmPm(true)
                .displayDays(false)
                .displayDaysOfMonth(true)
                .displayMonth(true)
                .displayYears(true)
                .setTextAlign(SingleDateAndTimePicker.ALIGN_LEFT); // Sets the text alignment, SingleDateAndTimePicker.ALIGN_CENTER by default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants