Open rabbitmum opened 10 years ago
everything run ok!
varible blLrc、paint、lrcIndex just exist like below:
public class LyricView extends View { private final static String TAG = "LyricView"; private TreeMap<Integer, LyricObject> lrc_map = new TreeMap<Integer, LyricObject>(); private float mX; // 屏幕X轴的中点,此值固定,保持歌词在X中间显示 private float offsetY; // 歌词在Y轴上的偏移量,此值会根据歌词的滚动变小 private boolean blLrc = false; private float touchY; // 当触摸歌词View时,保存为当前触点的Y轴坐标 private int lrcIndex = 0; // 保存歌词TreeMap的下标 private int SIZEWORD = 32;// 显示歌词文字的大小值 private int SIZEWORDHL = 37;// 显示歌词文字的大小值 public static final int INTERVAL = 32;// 歌词每行的间隔 Paint paint = new Paint();// 画笔,用于画不是高亮的歌词 Paint paintHL = new Paint(); // 画笔,用于画高亮的歌词,即当前唱到这句歌词 private String title = ""; private String artist = "";
------------------ 原始邮件 ------------------ 发件人: "rabbitmum";notifications@github.com; 发送时间: 2013年12月12日(星期四) 下午5:59 收件人: "geniusgithub/MediaPlayer"MediaPlayer@noreply.github.com;
主题: [MediaPlayer] LyricView.java can not be compiled (#1)
LyricView.java can not be compiled.LyricView.java miss varible blLrc、paint、lrcIndex and so on!
— Reply to this email directly or view it on GitHub.
i am sorry,if i change the project code to UTF-8,everything is ok, thank you!
LyricView.java can not be compiled.LyricView.java miss varible blLrc、paint、lrcIndex and so on!