Weekdays-Selector
Weekdays-Selector copied to clipboard
show first two letters of days
i want to show the first two letters for days that start with the same letter ( T for tuesday and TH for Thursday , Su for sunday and S for saturday) how can I do this in the xml?
You can extend WeekdaysPicker and then overwrite getDayLetter:
https://github.com/DavidProdinger/Weekdays-Selector/blob/a01735ef1c8b6cb957545bdf59753c7a1fddccd9/weekdaysselector/src/main/java/com/dpro/widgets/WeekdaysPicker.java#L276-L279
Hi, I did what you suggested but the OVERRIDE annotation doesnt work with this function. I can override basically anything else but this.
You can extend
WeekdaysPickerand then overwritegetDayLetter:https://github.com/DavidProdinger/Weekdays-Selector/blob/a01735ef1c8b6cb957545bdf59753c7a1fddccd9/weekdaysselector/src/main/java/com/dpro/widgets/WeekdaysPicker.java#L276-L279
This is a private method, you won't be able to override this.
@taouichaimaa There is currently no functionality to get a day as two letters.
Ups sorry looked to fast ...