Skip to content

Commit

Permalink
Use sans-serif font in note block and comment user note block
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevins committed Feb 19, 2024
1 parent 6f9cf5e commit 5468fd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public void onResourceReady(@NonNull Drawable resource, @Nullable Object model)
});
} else {
noteBlockHolder.getTextView().setTextSize(28);
TypefaceSpan typefaceSpan = new TypefaceSpan("serif");
TypefaceSpan typefaceSpan = new TypefaceSpan("sans-serif");
noteText.setSpan(typefaceSpan, 0, noteText.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
}
}
Expand Down
2 changes: 1 addition & 1 deletion WordPress/src/main/res/layout/note_block_comment_user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_medium"
android:background="?android:selectableItemBackground"
android:fontFamily="serif"
android:fontFamily="sans-serif"
android:paddingBottom="@dimen/margin_medium"
android:textAppearance="?attr/textAppearanceBody1"
tools:text="Thanks for stopping by my blog! I hope to see you again. " />
Expand Down

0 comments on commit 5468fd1

Please sign in to comment.