mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 13:42:09 +08:00
修复歌词显示
This commit is contained in:
parent
5b553703c3
commit
4f28fa124b
@ -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;
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user