allow word breaks by chars

This commit is contained in:
tibbi 2017-10-07 22:55:38 +02:00
parent 965e48a31d
commit 6788062bde

View file

@ -235,7 +235,7 @@ class MonthFragment : Fragment(), MonthlyCalendar {
(View.inflate(context, R.layout.day_monthly_item_view, null) as TextView).apply {
setTextColor(textColor)
text = it.title
text = it.title.replace(" ", "\u00A0") // allow word break by char
gravity = Gravity.START
background = backgroundDrawable
layoutParams = eventLayoutParams