CalendarView takes much time for displaying

后端 未结 4 1877
感情败类
感情败类 2021-02-06 14:55

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

4条回答
  •  失恋的感觉
    2021-02-06 15:38

    It seems very simple but accidentally i have tested this, and it works well. I hope this will also help you...

    First create separate xml file which contains only CalendarView. Named “cal_view.xml”

    
    
    
        
    
     
    

    Then include this xml file in to your main xml file, just like following. Instead of your CalanderView, include the xml file.

     
    

提交回复
热议问题