I'm trying to make an Karaoke app and I want to show at least three lines of lyrics and highlight the line which is playing. Now I'm adding an .srt file as subtitle. I want to know how I can show the subtitle in a textview and detect the playing line and highlight it? Subtitle example:
00:00:01,242 —> 00:00:02,550 line one of lyrics
2 00:00:02,551 —> 00:00:04,104 line two of lyrics
25 00:02:05,458 —> 00:02:07,158 line three of lyrics
or if I need to add any other type of text for my subtitle? I was searching and found a solution that I can use .kar file but I couldn't find any example or explanation of it's instruction. Thanks in advance :)