Skip to content

Commit 178d62c

Browse files
fixed font size of the circular contact text
1 parent ffb83e1 commit 178d62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/lb/listviewvariants/utils/CircularContactView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ else if(mText!=null)
7878
{
7979
mTextView.setText(mText);
8080
mTextView.setBackgroundDrawable(roundedBackgroundDrawable);
81-
mTextView.setTextSize(viewHeight/4);
81+
mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, viewHeight / 2);
8282
}
8383
else if(mBitmap!=null)
8484
{

0 commit comments

Comments
 (0)