[Android] Set isAntiAlias to true for HalfCircleView
Habib Kazemi
git at videolan.org
Mon Jan 4 12:21:50 UTC 2021
vlc-android | branch: master | Habib Kazemi <kazemihabib1996 at gmail.com> | Wed Dec 30 13:25:47 2020 +0330| [f47d9a5cc1749c188c56ad6c161ab6a344d40685] | committer: Nicolas Pomepuy
Set isAntiAlias to true for HalfCircleView
Fixes #1594
> https://code.videolan.org/videolan/vlc-android/commit/f47d9a5cc1749c188c56ad6c161ab6a344d40685
---
application/vlc-android/src/org/videolan/vlc/gui/view/HalfCircleView.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/view/HalfCircleView.kt b/application/vlc-android/src/org/videolan/vlc/gui/view/HalfCircleView.kt
index 54e6ece31..51180044e 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/view/HalfCircleView.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/view/HalfCircleView.kt
@@ -41,6 +41,7 @@ class HalfCircleView : View {
private fun initialize() {
paint.color = ContextCompat.getColor(context, R.color.blacktransparent)
+ paint.isAntiAlias = true
if (Settings.showTvUi) {
background = ContextCompat.getDrawable(context, if (isLeft) R.drawable.half_circle_tv_left else R.drawable.half_circle_tv_right)
} else {
More information about the Android
mailing list