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

Added setTextAlign to SingleDateAndTimePickerDialog.Builder #1

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

jc-yoonet
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

@johnchrisdc johnchrisdc merged commit cea825f into johnchrisdc:master Mar 4, 2021
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.

2 participants