i am working on an application on CalendarView. i have to show calendarView in a small linear-layout.
problem occurs while displaying a whole page which contains calenda
As you mention your problem,
Issues
Your resource xml file (layout) not in optimal way. As android guideline don't use static height and weight for ViewGroup. Please read http://developer.android.com/training/improving-layouts/optimizing-layout.html
Solution :
In My opinion, you should create your own class for creating Calendar view.In which you apply all the properties and attribute.
I am show a demo application for the Calender view.http://www.androidviews.net/2013/01/ics-calendarview/ In these application having a better way to use the calendar view. also I am mention some Git URL for the other an custom Calendar view
In above Application, showing the right way to use CalendarView
Here I am showing screenshot for the Calenderview application
If any problem, Please Let me know, I will create sample demo for the same.