prolificinteractive / material-calendarview

A Material design back port of Android's CalendarView
https://prolificinteractive.github.io/material-calendarview/
MIT License
5.92k stars 1.32k forks source link

the selection drawable is stretched horizontally when tileWidth and tileHeight are set to match_parent #969

Open smithshelke opened 5 years ago

smithshelke commented 5 years ago

the selection drawable is stretched horizontally when tileWidth and tileHeight are set to match_parent

Originally posted by @smithshelke in https://github.com/prolificinteractive/material-calendarview/pull/194#issuecomment-504949165

smithshelke commented 5 years ago

The background drawable is round but the selection drawable is horizontally strectched.

sampengilly commented 5 years ago

This also happens when the height is overridden and the width is left to the default. The selection circle is momentarily stretched immediately after selection is made before reverting to a circular shape