Skip to content

Commit e8a6ac1

Browse files
Update VSpotMessageView2.java
1 parent 5e8a1ed commit e8a6ac1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import android.content.Context;
44
import android.graphics.Color;
5+
import android.graphics.Paint;
6+
import android.graphics.Path;
57
import android.graphics.Typeface;
68
import android.text.Spannable;
79
import android.util.TypedValue;
@@ -13,6 +15,11 @@
1315

1416
class VSpotMessageView2 extends LinearLayout {
1517

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+
1623
private TextView mTitleTextView;
1724
private TextView mContentTextView;
1825
private float density;

0 commit comments

Comments
 (0)