Open rb0071 opened 4 years ago
Create a drawable to show a dot on the top right.
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:gravity="top|end">
<shape android:shape="oval">
<solid android:color="@color/primaryColor" />
<size
android:width="5dp"
android:height="5dp" />
</shape>
</item>
</layer-list>
In decorate
method of the EventDecorator, set it as background: view.setBackgroundDrawable(drawable)
That should show a dot on top right (end) of the date.
Current version event dot position shows under date number but I want to show Top-right of date.