forked from timusus/Shuttle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Don’t directly open QuickLyric when lyrics button is chosen. Instead, show the lyrics fragment, with an option to launch QuickLyric if no embedded lyrics are present. Removed ‘QuickLyric’ menu item (just show ‘Lyrics’ instead) - Created new lyrics icon, removed unused drawabled. - Hide QuickLyric ‘info’ button if QL is already installed.
- Loading branch information
Showing
24 changed files
with
76 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
app/src/main/java/com/simplecity/amp_library/lyrics/LyricsView.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
package com.simplecity.amp_library.lyrics; | ||
|
||
import android.support.annotation.NonNull; | ||
import android.support.annotation.Nullable; | ||
|
||
import com.simplecity.amp_library.model.Song; | ||
|
||
interface LyricsView { | ||
|
||
void updateLyrics(@Nullable String lyrics); | ||
|
||
void showNoLyricsView(boolean show); | ||
|
||
void showQuickLyricInfo(); | ||
void showQuickLyricInfoButton(boolean show); | ||
|
||
void showQuickLyricInfoDialog(); | ||
|
||
void downloadQuickLyric(); | ||
|
||
void launchQuickLyric(); | ||
void launchQuickLyric(@NonNull Song song); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24.0" | ||
android:viewportHeight="24.0"> | ||
<path | ||
android:fillColor="#FFFFFFFF" | ||
android:pathData="M3,3h18v2H3V3M3,7h10.895v2H3V7M3,11h9v2H3V11M3,15h9v2H3V15M3,19h18v2H3V19z"/> | ||
<path | ||
android:fillColor="#FFFFFFFF" | ||
android:pathData="M17.175,7.08v5.062c-0.274,-0.093 -0.547,-0.143 -0.822,-0.143c-1.366,0 -2.458,1.094 -2.458,2.46s1.092,2.461 2.458,2.461s2.461,-1.095 2.461,-2.461V8.72H21V7.08H17.175z"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24.0" | ||
android:viewportHeight="24.0"> | ||
<path | ||
android:fillColor="#FF3C3C3C" | ||
android:pathData="M3,3h18v2H3V3M3,7h10.895v2H3V7M3,11h9v2H3V11M3,15h9v2H3V15M3,19h18v2H3V19z"/> | ||
<path | ||
android:fillColor="#FF3C3C3C" | ||
android:pathData="M17.175,7.08v5.062c-0.274,-0.093 -0.547,-0.143 -0.822,-0.143c-1.366,0 -2.458,1.094 -2.458,2.46s1.092,2.461 2.458,2.461s2.461,-1.095 2.461,-2.461V8.72H21V7.08H17.175z"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters