Skip to content

Commit 52b6301

Browse files
Adding Triangle Pointer
1 parent e8a6ac1 commit 52b6301

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/src/main/java/com/developer/spoti/vspoti/VSpotMessageView2.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@
1515

1616
class VSpotMessageView2 extends LinearLayout {
1717

18-
private final Paint arrowPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
19-
private final Path arrowPath = new Path();
20-
private static final float ARROW_WIDTH = 20;
21-
private static final float ARROW_HEIGHT = 12;
22-
2318
private TextView mTitleTextView;
2419
private TextView mContentTextView;
2520
private float density;

library/src/main/java/com/developer/spoti/vspoti/VSpotView2.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public class VSpotView2 extends FrameLayout {
2727
private final Paint emptyPaint = new Paint();
2828
private final Xfermode XFERMODE_CLEAR = new PorterDuffXfermode(PorterDuff.Mode.CLEAR);
2929

30+
private final Paint arrowPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
31+
private final Path arrowPath = new Path();
32+
private static final float ARROW_WIDTH = 20;
33+
private static final float ARROW_HEIGHT = 12;
34+
3035
public interface VSpotListener {
3136
void onDismiss(View view);
3237
}

0 commit comments

Comments
 (0)