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

Added setTextAlign to SingleDateAndTimePickerDialog.Builder#316

Open
johnchrisdc wants to merge 2 commits intoflorent37:masterfrom
johnchrisdc:master
Open

Added setTextAlign to SingleDateAndTimePickerDialog.Builder#316
johnchrisdc wants to merge 2 commits intoflorent37:masterfrom
johnchrisdc:master

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

jc-yoonet and others added 2 commits March 4, 2021 19:04
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.

2 participants