Adding DayNight theme
This commit is contained in:
parent
acc793c796
commit
a092ad9ac7
6 changed files with 11 additions and 10 deletions
|
@ -31,7 +31,7 @@ android {
|
|||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
applicationId "code.name.monkey.retromusic"
|
||||
versionCode 321
|
||||
versionCode 323
|
||||
versionName '3.1.700'
|
||||
|
||||
multiDexEnabled true
|
||||
|
|
|
@ -1 +1 @@
|
|||
<html>
<head>
<style type="text/css">
* {
word-wrap: break-word;
}
{style-placeholder}
a {
color: #{link-color};
}
a:active {
color: #{link-color-active};
}
ul {
list-style-position: outside;
padding-left: 0;
padding-right: 0;
margin-left: 1em;
}
li {
padding-top: 8px;
}
</style>
</head>
<body>
<h4>v3.1.700</h4>
<ul>
<li>Rearranged icons and main menu access</li>
<li>Fix some crashes when device is locked or background</li>
<li>Folder screen have main options access</li>
<li>Dialogs are now using Material Dialogs v3</li>
<li>Fix Shuffle icon for Artist, Album, Genre and Playlist details</li>
</ul>
<h4>v3.1.400</h4>
<ul>
<li>Removed sync lyrics for Android 5</li>
<li>Fix Seek-bar color in settings</li>
<li>Added keyboard to popup on search</li>
<li>Added keyboard to popup on search</li>
<li>Improved lock-screen behavior and UI</li>
<li>Improved text appearance</li>
<li>Fix bio text not showing in settings</li>
<li>Fix not showing slider(blur, filter song) amount in settings</li>
<li>Fix setting ringtone</li>
<li>Fix file sharing crash</li>
<li>Fix some crashes</li>
<li>Fix playlist icon on small devices</li>
<li>Fix empty lyrics text color</li>
<li>Fix album cover background purple color in color theme</li>
</ul>
<h4>v3.1.300</h4>
<ul>
<li>Fix rename playlist text color</li>
<li>Fix same album showing in details page</li>
<li>Fix lyrics text alignment on sync and lyrics reading improved</li>
<li>Improved home sections loading</li>
<li>Removed library options which are duplicated (it's available from profile menu)</li>
<li>Replaced collapsing Fab with Android Floating Extended Fab</li>
<li>Replaced home with for you</li>
<li>Fixed profile image not loading in about</li>
<li>Improved selecting user profile image</li>
<li>Added bio to enter custom message</li>
<li>Improved some UI screens</li>
</ul>
<h4>v3.1.240</h4>
<ul>
<li>Fix Search not showing from home screen</li>
<li>Fix Volume controls color issue</li>
<li>Fix Seek bar alignment</li>
<li>Added tiny theme</li>
<li>Improved full theme appearances</li>
<li>Now playing theme preview updated</li>
<li>Fix composer error</li>
<li>Bottom Options improved(internal)</li>
</ul>
<h4>v3.1.200</h4>
<ul>
<li>Added composer sort and editing</li>
<li>Fix Crash in Album tag editor while selecting options</li>
<li>Added Filter song length</li>
<li>Added Favourites playlist icon will be accent color</li>
<li>Added Colorful settings icons</li>
<li>Added Corners for dialog</li>
</ul>
<h4>v3.0.570</h4>
<ul>
<li>Fix Album/Artist square image</li>
<li>Fix Delete dialog text format</li>
<li>Fix Profile picture not showing after coming back from folders</li>
<li>Fix Play button color i Simple and Plain themes</li>
<li>Fix Sleep timer dialog crashing</li>
<li>Fix Share song dialog title and text</li>
</ul>
<p>If you see entire app white or dark or black select same theme in settings to fix </p>
<p style="line-height:150%"><a href="https://github.com/h4h13/RetroMusicPlayer/wiki/FAQ">FAQ's</a>
</p>
<p style="line-height:150%">*If you face any UI related issues you clear app data and cache, if its
not working try to
uninstall and install again. </p>
</body>
|
||||
<html>
<head>
<style type="text/css">
* {
word-wrap: break-word;
}
{style-placeholder}
a {
color: #{link-color};
}
a:active {
color: #{link-color-active};
}
ul {
list-style-position: outside;
padding-left: 0;
padding-right: 0;
margin-left: 1em;
}
li {
padding-top: 8px;
}
</style>
</head>
<body>
<h4>v3.1.700</h4>
<ul>
<li>Fix crashing on artist list for number format error</li>
<li>Fix blacklist dialog crashing</li>
<li>Rearranged icons and main menu access</li>
<li>Fix some crashes when device is locked or background</li>
<li>Folder screen have main options access</li>
<li>Dialogs are now using Material Dialogs v3</li>
<li>Fix Shuffle icon for Artist, Album, Genre and Playlist details</li>
</ul>
<h4>v3.1.400</h4>
<ul>
<li>Removed sync lyrics for Android 5</li>
<li>Fix Seek-bar color in settings</li>
<li>Added keyboard to popup on search</li>
<li>Added keyboard to popup on search</li>
<li>Improved lock-screen behavior and UI</li>
<li>Improved text appearance</li>
<li>Fix bio text not showing in settings</li>
<li>Fix not showing slider(blur, filter song) amount in settings</li>
<li>Fix setting ringtone</li>
<li>Fix file sharing crash</li>
<li>Fix some crashes</li>
<li>Fix playlist icon on small devices</li>
<li>Fix empty lyrics text color</li>
<li>Fix album cover background purple color in color theme</li>
</ul>
<h4>v3.1.300</h4>
<ul>
<li>Fix rename playlist text color</li>
<li>Fix same album showing in details page</li>
<li>Fix lyrics text alignment on sync and lyrics reading improved</li>
<li>Improved home sections loading</li>
<li>Removed library options which are duplicated (it's available from profile menu)</li>
<li>Replaced collapsing Fab with Android Floating Extended Fab</li>
<li>Replaced home with for you</li>
<li>Fixed profile image not loading in about</li>
<li>Improved selecting user profile image</li>
<li>Added bio to enter custom message</li>
<li>Improved some UI screens</li>
</ul>
<h4>v3.1.240</h4>
<ul>
<li>Fix Search not showing from home screen</li>
<li>Fix Volume controls color issue</li>
<li>Fix Seek bar alignment</li>
<li>Added tiny theme</li>
<li>Improved full theme appearances</li>
<li>Now playing theme preview updated</li>
<li>Fix composer error</li>
<li>Bottom Options improved(internal)</li>
</ul>
<h4>v3.1.200</h4>
<ul>
<li>Added composer sort and editing</li>
<li>Fix Crash in Album tag editor while selecting options</li>
<li>Added Filter song length</li>
<li>Added Favourites playlist icon will be accent color</li>
<li>Added Colorful settings icons</li>
<li>Added Corners for dialog</li>
</ul>
<h4>v3.0.570</h4>
<ul>
<li>Fix Album/Artist square image</li>
<li>Fix Delete dialog text format</li>
<li>Fix Profile picture not showing after coming back from folders</li>
<li>Fix Play button color i Simple and Plain themes</li>
<li>Fix Sleep timer dialog crashing</li>
<li>Fix Share song dialog title and text</li>
</ul>
<p>If you see entire app white or dark or black select same theme in settings to fix </p>
<p style="line-height:150%"><a href="https://github.com/h4h13/RetroMusicPlayer/wiki/FAQ">FAQ's</a>
</p>
<p style="line-height:150%">*If you face any UI related issues you clear app data and cache, if its
not working try to
uninstall and install again. </p>
</body>
|
|
@ -23,6 +23,7 @@ import androidx.preference.Preference
|
|||
import androidx.preference.TwoStatePreference
|
||||
import code.name.monkey.appthemehelper.*
|
||||
import code.name.monkey.appthemehelper.common.prefs.supportv7.ATEColorPreference
|
||||
import code.name.monkey.appthemehelper.util.ATHUtil
|
||||
import code.name.monkey.appthemehelper.util.ColorUtil
|
||||
import code.name.monkey.appthemehelper.util.VersionUtils
|
||||
import code.name.monkey.retromusic.App
|
||||
|
@ -85,6 +86,10 @@ class ThemeSettingsFragment : AbsSettingsFragment() {
|
|||
"light" -> ThemeStore.editTheme(context!!).primaryColor(Color.WHITE).commit()
|
||||
"black" -> ThemeStore.editTheme(context!!).primaryColor(Color.BLACK).commit()
|
||||
"dark" -> ThemeStore.editTheme(context!!).primaryColor(ContextCompat.getColor(context!!, R.color.md_grey_900)).commit()
|
||||
"daynight" -> {
|
||||
val color = ATHUtil.resolveColor(context!!, android.R.attr.colorPrimary)
|
||||
ThemeStore.editTheme(context!!).primaryColor(color).commit()
|
||||
}
|
||||
"color" -> ThemeStore.editTheme(context!!).primaryColor(ContextCompat.getColor(context!!, R.color.md_blue_grey_800)).commit()
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<resources>
|
||||
|
||||
<style name="Theme.RetroMusic.DayNight" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
||||
<item name="md_corner_radius">12dp</item>
|
||||
<item name="md_corner_radius">16dp</item>
|
||||
<item name="md_font_title">@font/circular</item>
|
||||
<item name="md_font_body">@font/circular</item>
|
||||
<item name="md_font_button">@font/circular</item>
|
||||
|
@ -28,9 +28,7 @@
|
|||
<!-- just in case-->
|
||||
<item name="android:windowBackground">@color/md_grey_900</item>
|
||||
<item name="colorAccent">@android:color/white</item>
|
||||
|
||||
<item name="colorPrimary">@android:color/black</item>
|
||||
<item name="android:colorPrimary">@android:color/black</item>
|
||||
<item name="colorPrimary">@color/md_grey_900</item>
|
||||
|
||||
<!-- necessary to find the overflow button later in the layout-->
|
||||
<item name="android:actionOverflowButtonStyle">@style/Widget.ActionButton.Overflow</item>
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
<item>@string/dark_theme_name</item>
|
||||
<item>@string/black_theme_name</item>
|
||||
<item>@string/color_theme_name</item>
|
||||
<item>@string/day_night_theme_name</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_grid_style_list_titles">
|
||||
|
@ -98,7 +97,6 @@
|
|||
<item>dark</item>
|
||||
<item>black</item>
|
||||
<item>color</item>
|
||||
<item>daynight</item>
|
||||
</string-array>
|
||||
|
||||
<array name="pref_auto_download_images_values">
|
||||
|
@ -203,6 +201,4 @@
|
|||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
<string name="image_gradient">Gradient image</string>
|
||||
<string name="stack">Stack</string>
|
||||
</resources>
|
|
@ -619,4 +619,6 @@
|
|||
<string name="action_new_playlist">New playlist</string>
|
||||
<string name="finish_last_song">Finish last song</string>
|
||||
|
||||
<string name="image_gradient">Gradient image</string>
|
||||
<string name="stack">Stack</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue