rewrite the app in native kotlin with compose

This commit is contained in:
2024-01-19 20:47:36 +02:00
committed by Illusion
parent a40cf85925
commit 0069f62115
92 changed files with 3391 additions and 2008 deletions
+51
View File
@@ -0,0 +1,51 @@
<resources>
<string name="app_name" translatable="false">Lyrics Grabbr</string>
<!-- General -->
<string name="go_back">Go Back</string>
<string name="cancel">Cancel</string>
<string name="confirm">Confirm</string>
<string name="timeout">Request has timed out, try again later</string>
<string name="generic_error">An error has occurred, try again later</string>
<string name="retry">Retry</string>
<string name="spotify_no_lyrics_error">Sorry, Spotify doesn\'t have lyrics for this song</string>
<!-- Home -->
<string name="no_supported_player">No supported player is running</string>
<string name="open_settings">Open Settings</string>
<string name="notification_listen_permission">Notification Listening Permission</string>
<string name="notification_listen_desc">This app requires permission to listen to notifications to function properly. Please grant permission in the next screen.\nBEWARE that the only way to stop the service is to revoke the notification listening permission.</string>
<string name="no_results">No results found</string>
<string name="found_results">Found %1$d result(s)</string>
<string name="powered_by">Powered By <annotation href="https://github.com/sv443/geniURL">geniURL</annotation></string>
<string name="open_song_page">Open Song Page</string>
<string name="open_artist_page">Open Artist Page</string>
<string name="notification_post_permission">Notification Permission Required</string>
<string name="notification_post_permission_desc">LyricsGrabbr requires notification permissions to start a foreground service for the purpose of listening to music notifications, and cannot function without it.</string>
<string name="notification_post_permission_not_granted">Notification permission is not granted, the app will not function properly</string>
<string name="grant_permission">Grant Permission</string>
<string name="no_spotify_song_playing">No song is playing on Spotify</string>
<!-- Settings -->
<string name="settings">Settings</string>
<string name="appearance">Appearance</string>
<string name="theme">Theme</string>
<string name="theme_light">Light</string>
<string name="theme_dark">Dark</string>
<string name="theme_system">Use System Theme</string>
<string name="use_spotify_api">Use Spotify for lyrics</string>
<string name="spotify_client_id" translatable="false">Spotify Client ID</string>
<string name="not_set">Not Set</string>
<string name="spotify_client_id_desc">This app can use Spotify\'s Web API to get lyrics. You need to provide a Spotify Client ID to use this feature. You can get one from <annotation href="https://developer.spotify.com/dashboard/applications">here</annotation>.\nThis only works if you\'re playing music from the Spotify player.</string>
<!-- Lyrics -->
<string name="lyrics">Lyrics</string>
<string name="instrumental">This song is an instrumental</string>
<!-- Notification -->
<string name="service_running">Service Running</string>
<string name="stop_service">Stop Service</string>
<string name="service_notif_desc_init">Play some songs on a supported player to get lyrics</string>
<string name="service_notif_desc_playing">Tap to get lyrics</string>
<string name="now_playing">Now Playing %1$s By %2$s</string>
</resources>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.LyricsGrabbr" parent="Theme.Material3.DayNight.NoActionBar" />
<style name="Theme.LyricsGrabbr.Splash" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">#FF662D91</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<item name="windowSplashScreenAnimationDuration">800</item>
<item name="postSplashScreenTheme">@style/Theme.LyricsGrabbr</item>
</style>
</resources>