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

bug #27

Open
wl386123298 opened this issue Jan 5, 2017 · 0 comments
Open

bug #27

wl386123298 opened this issue Jan 5, 2017 · 0 comments

Comments

@wl386123298
Copy link

如果我这样设置,代码如下:

long tenYears = 60L * 365 * 1000 * 60 * 60 * 24L;
new TimePickerDialog.Builder()
.setTitleStringId("选择生日")
.setThemeColor(ContextCompat.getColor(this, R.color.login_btn_bg_color))
.setMinMillseconds(System.currentTimeMillis() - tenYears)
.setMaxMillseconds(System.currentTimeMillis() )
.setCurrentMillseconds(System.currentTimeMillis())
.setType(Type.YEAR_MONTH_DAY)
.setCallBack(listener)
.build()
.show(getSupportFragmentManager(), "year_month_day");

然后出来的是这样的:

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

No branches or pull requests

1 participant