mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 16:03:06 +00:00
Increased distance from recyclerview and dot indicator
This commit is contained in:
@@ -62,7 +62,7 @@ public class DotsIndicatorDecoration extends RecyclerView.ItemDecoration {
|
|||||||
float indicatorStartX = (parent.getWidth() - indicatorTotalWidth) / 2f;
|
float indicatorStartX = (parent.getWidth() - indicatorTotalWidth) / 2f;
|
||||||
|
|
||||||
// center vertically in the allotted space
|
// center vertically in the allotted space
|
||||||
float indicatorPosY = parent.getHeight() - indicatorHeight - (float) indicatorItemPadding / 3;
|
float indicatorPosY = parent.getHeight() - indicatorHeight - (float) indicatorItemPadding / 4;
|
||||||
|
|
||||||
drawInactiveDots(c, indicatorStartX, indicatorPosY, itemCount);
|
drawInactiveDots(c, indicatorStartX, indicatorPosY, itemCount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user