From 8b4a698859c433c810c6237602d0c75e58c04178 Mon Sep 17 00:00:00 2001 From: Mulham Raee Date: Fri, 20 Oct 2017 18:52:04 +0200 Subject: [PATCH] - Update README - Update library version --- README.md | 12 ++++++------ horizontalcalendar/build.gradle | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7894d1b..deb6573 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ You can customize it directly inside your layout: app:textColorNormal="#bababa" app:textColorSelected="#FFFF" app:selectorColor="#c62828" // default to colorAccent. - app:selectedDateBackground="#00ffffff"/> + app:selectedDateBackground="@drawable/myDrwable"/> ``` Or you can do it programmatically in your Activity using the **Builder**: @@ -125,13 +125,13 @@ HorizontalCalendar horizontalCalendar = new HorizontalCalendar.Builder(this, R.i .datesNumberOnScreen(5) // Number of Dates cells shown on screen (Recommended 5) .dayNameFormat("EEE") // WeekDay text format .dayNumberFormat("dd") // Date format - .monthFormat("MMM") // Month format - .showDayName(true) // Show or Hide dayName text - .showMonthName(true) // Show or Hide month text + .monthFormat("MMM") // Month format + .showDayName(true) // Show or Hide dayName text + .showMonthName(true) // Show or Hide month text .textColor(Color.LTGRAY, Color.WHITE) // Text color for none selected Dates, Text color for selected Date. - .selectedDateBackground(Color.TRANSPARENT) // Background color of the selected date cell. + .selectedDateBackground(Drawable) // Background Drawable of the selected date cell. .selectorColor(Color.RED) // Color of the selection indicator bar (default to colorAccent). - .defaultSelectedDate(date) // Date to be seleceted at start (default to Today) + .defaultSelectedDate(date) // Date to be seleceted at start (default to Today) .build(); ``` diff --git a/horizontalcalendar/build.gradle b/horizontalcalendar/build.gradle index 6e1f054..50abd64 100644 --- a/horizontalcalendar/build.gradle +++ b/horizontalcalendar/build.gradle @@ -14,7 +14,7 @@ ext { siteUrl = 'https://github.com/Mulham-Raee/Horizontal-Calendar' gitUrl = 'https://github.com/Mulham-Raee/Horizontal-Calendar.git' - libraryVersion = '1.1.7' + libraryVersion = '1.1.8' developerId = 'mulham-raee' developerName = 'Mulham Raee' @@ -101,7 +101,7 @@ bintray { version { desc = libraryDescription name = libraryVersion - vcsTag = 'v1.1.7' + vcsTag = 'v1.1.8' gpg { sign = true //Determines whether to GPG sign the files. The default is false passphrase = properties.getProperty("bintray.gpg.password")