Android Calendarview Not Displaying The Days
I have been using Android CalendarView to get a Calendar displayed on my screen in a Appointment Manager Application. In my case so far, the app user will be able to create an appo
Solution 1:
change the layout parameters to match_parent
<CalendarView
android:id="@+id/calendar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:layout_below="@+id/create_activity_title"
/>
Solution 2:
I fix it on an old Samsung on Kitkat with minHeight
<CalendarView
android:id="@+id/fromCalendarView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:layout_weight="50"
android:minHeight="300dp"/>
Solution 3:
Set minHeight dont work. Bellow works
<CalendarView
android:id="@+id/calendarView"
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_below="@+id/toolbar" />
Solution 4:
Above Answer worked for me.
<CalendarView
android:id="@+id/calendarView"android:layout_width="match_parent"android:layout_height="300dp"android:layout_below="@+id/toolbar" />
Post a Comment for "Android Calendarview Not Displaying The Days"