修复歌词显示

This commit is contained in:
lyswhut 2022-05-25 16:47:05 +08:00
parent 5b553703c3
commit 4f28fa124b
2 changed files with 2 additions and 8 deletions

View File

@ -121,7 +121,7 @@ public class LyricTextView extends TextView {
if (!isStop) { if (!isStop) {
if (viewWidth - xx + mSpeed >= textLength) { if (viewWidth - xx + mSpeed >= textLength) {
xx = viewWidth > textLength ? 0.0F : viewWidth - textLength; xx = viewWidth - textLength - 2;
stopScroll(); stopScroll();
} else { } else {
xx -= mSpeed; xx -= mSpeed;

View File

@ -2,11 +2,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#29000000" /> <solid android:color="#29000000" />
<padding <corners android:radius="2dp" />
android:left="1dp"
android:right="1dp"
android:bottom="0dp"
android:top="0dp" />
<corners android:radius="4dp" />
</shape> </shape>