Open AnithJo opened 7 years ago
Try this:
private void collapseCalendarView() { ViewGroup.MarginLayoutParams layoutParams = (ViewGroup.MarginLayoutParams) getLayoutParams(); layoutParams.height = (int) (getResources().getDimension(R.dimen.calendar_header_height) + 1 * getResources().getDimension(R.dimen.day_cell_height)); setLayoutParams(layoutParams); }
It shows two rows on the top. I'd like to change it into single row