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

Changing the Width of TimeLayoutView #19

Closed
industrychanger opened this issue Jan 7, 2014 · 1 comment
Closed

Changing the Width of TimeLayoutView #19

industrychanger opened this issue Jan 7, 2014 · 1 comment

Comments

@industrychanger
Copy link

Looking to increase the size of the TimeLayoutView to give more space between the days. I tried adding the following lines of code, but they aren't working:

//This did nothing
topView.setMinWidth(200);

//This made the text disappear
topView.setLayoutParams(new LayoutParams(200,LayoutParams.WRAP_CONTENT,1.0f));
image

@industrychanger
Copy link
Author

Changing the childWidth attribute fixed this problem:

https://github.com/bendemboski/DateSlider/blob/develop/res/layout/datetimeslider.xml#L17

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