Skip to content

Commit

Permalink
- Update README
Browse files Browse the repository at this point in the history
- Update library version
  • Loading branch information
muraee committed Oct 20, 2017
1 parent 2efe0e6 commit 8b4a698
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:
Expand All @@ -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();
```

Expand Down
4 changes: 2 additions & 2 deletions horizontalcalendar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 8b4a698

Please sign in to comment.