CalendarView
Hello Guys. Here are a simple and custom calendar view.
Include jitpack.io
inside of root project build.gradle
:
In build.gradle
XML
`<io.mahendra.calendarview.widget.CalendarView
android:id="@+id/cal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
app:calendarBackgroundColor="@android:color/transparent"
app:calendarTitleTextColor="@color/white_color"
app:currentDayOfMonthColor="@color/white_color"
app:dayOfWeekTextColor="@android:color/white"
app:disabledDayBackgroundColor="@android:color/transparent"
app:disabledDayTextColor="@color/disabletextcolor"
app:selectedDayBackgroundColor="@color/colorAccent"
app:titleLayoutBackgroundColor="@android:color/transparent"
app:weekLayoutBackgroundColor="@android:color/transparent"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="8dp"/>`
JAVA
Create a Object
Init The Object
Set Listeners