I am a newbie to android development and started playing with caldroid few days ago. However I have a problem on setting the height of my caldroid. I would like to display all the days in each month, and below the caldroid will have something else to display. However sometimes there are 4 rows, and sometimes there are 5 rows in a month. So I release it's impossible for me to set the height with a fixed amount.
How can I set the height of it so it will change the height dynamically???
Currently I have done:
params = new LayoutParams(LayoutParams.WRAP_CONTENT,430);
// params.addRule(RelativeLayout.ALIGN_PARENT_LEFT);
params.addRule(RelativeLayout.BELOW, base.getId());
And the result isn't what I want =[