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

set height without margin to prevent agendaview to squeeze #29

Merged
merged 2 commits into from
Mar 1, 2016
Merged

set height without margin to prevent agendaview to squeeze #29

merged 2 commits into from
Mar 1, 2016

Conversation

amannepid
Copy link
Contributor

No description provided.

@amannepid amannepid mentioned this pull request Feb 11, 2016
@Tibolte
Copy link
Owner

Tibolte commented Feb 11, 2016

It looks good to me, I'm currently on holidays, has anyone being able to test it?

@@ -67,7 +66,7 @@ public void onGlobalLayout() {
ViewGroup.MarginLayoutParams layoutParams = (ViewGroup.MarginLayoutParams) getLayoutParams();
int height = getHeight();
int margin = (int) (getContext().getResources().getDimension(R.dimen.calendar_header_height) + 2 * getContext().getResources().getDimension(R.dimen.day_cell_height));
layoutParams.height = height - margin;
layoutParams.height = height;// - margin;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amannepid please remove that comment. let's not pollute the code with code that is not used anymore :)

@amannepid
Copy link
Contributor Author

@Tibolte is it ok now ?

@Tibolte
Copy link
Owner

Tibolte commented Mar 1, 2016

@amannepid yes :)

Tibolte added a commit that referenced this pull request Mar 1, 2016
set height without margin to prevent agendaview to squeeze
@Tibolte Tibolte merged commit 190276e into Tibolte:master Mar 1, 2016
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.

None yet

2 participants