Fix sleep timer crash, removed discord etc

main
h4h13 2019-06-16 23:40:28 +05:30
parent 933bf70068
commit 55807200d5
48 changed files with 104 additions and 281 deletions

View File

@ -31,8 +31,8 @@ android {
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
versionCode 334
versionName '3.1.900'
versionCode 336
versionName '3.2.100'
multiDexEnabled true

File diff suppressed because one or more lines are too long

View File

@ -19,9 +19,6 @@ import android.provider.MediaStore
object Constants {
@JvmField
val DISCORD_LINK = "https://discord.gg/qTecXXn"
@JvmField
val RETRO_MUSIC_PACKAGE_NAME = "code.name.monkey.retromusic"
@JvmField
@ -66,10 +63,8 @@ object Constants {
@JvmField
val MEDIA_STORE_CHANGED = "$RETRO_MUSIC_PACKAGE_NAME.mediastorechanged"
const val RATE_ON_GOOGLE_PLAY = "https://play.google.com/store/apps/details?id=code.name.monkey.retromusic"
const val PAYPAL_ME_URL = "https://www.paypal.me/h4h14"
const val TRANSLATE = "http://monkeycodeapp.oneskyapp.com/collaboration/project?id=238534"
const val GITHUB_PROJECT = "https://github.com/h4h13/RetroMusicPlayer"
const val BASE_API_URL_KUGOU = "http://lyrics.kugou.com/"
const val TELEGRAM_CHANGE_LOG = "https://t.me/retromusiclog"
const val USER_PROFILE = "profile.jpg"
const val USER_BANNER = "banner.jpg"

View File

@ -14,7 +14,6 @@ import code.name.monkey.appthemehelper.util.ToolbarContentTintHelper
import code.name.monkey.retromusic.Constants.APP_INSTAGRAM_LINK
import code.name.monkey.retromusic.Constants.APP_TELEGRAM_LINK
import code.name.monkey.retromusic.Constants.APP_TWITTER_LINK
import code.name.monkey.retromusic.Constants.DISCORD_LINK
import code.name.monkey.retromusic.Constants.FAQ_LINK
import code.name.monkey.retromusic.Constants.GITHUB_PROJECT
import code.name.monkey.retromusic.Constants.PINTEREST
@ -118,7 +117,6 @@ class AboutActivity : AbsBaseActivity(), View.OnClickListener {
R.id.pinterestLink -> openUrl(PINTEREST)
R.id.faqLink -> openUrl(FAQ_LINK)
R.id.telegramLink -> openUrl(APP_TELEGRAM_LINK)
R.id.discordLink -> openUrl(DISCORD_LINK)
R.id.appGithub -> openUrl(GITHUB_PROJECT)
R.id.appTranslation -> openUrl(TRANSLATE)
R.id.appRate -> openUrl(RATE_ON_GOOGLE_PLAY)

View File

@ -2,7 +2,6 @@ package code.name.monkey.retromusic.activities
import android.app.Activity
import android.content.Intent
import android.content.res.ColorStateList
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.os.Build
@ -37,12 +36,7 @@ import code.name.monkey.retromusic.rest.LastFMRestClient
import code.name.monkey.retromusic.rest.model.LastFmArtist
import code.name.monkey.retromusic.util.*
import com.google.android.material.appbar.AppBarLayout
import kotlinx.android.synthetic.main.activity_album_content.*
import kotlinx.android.synthetic.main.activity_artist_content.*
import kotlinx.android.synthetic.main.activity_artist_content.playAction
import kotlinx.android.synthetic.main.activity_artist_content.recyclerView
import kotlinx.android.synthetic.main.activity_artist_content.shuffleAction
import kotlinx.android.synthetic.main.activity_artist_content.songTitle
import kotlinx.android.synthetic.main.activity_artist_details.*
import retrofit2.Call
import retrofit2.Callback
@ -242,12 +236,12 @@ class ArtistDetailActivity : AbsSlidingMusicPanelActivity(), ArtistDetailContrac
//TransitionManager.beginDelayedTransition(titleContainer);
biographyText.visibility = View.VISIBLE
biographyTitle.visibility = View.VISIBLE
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
biography = Html.fromHtml(bioContent, Html.FROM_HTML_MODE_LEGACY)
biography = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
Html.fromHtml(bioContent, Html.FROM_HTML_MODE_LEGACY)
} else {
biography = Html.fromHtml(bioContent)
Html.fromHtml(bioContent)
}
biographyText!!.text = biography
biographyText.text = biography
}
}

View File

@ -64,14 +64,10 @@ open class MediaEntryViewHolder(view: View) : RecyclerView.ViewHolder(view), Vie
playSongs = view.findViewById(R.id.playSongs)
view.setOnClickListener(this@MediaEntryViewHolder)
view.setOnLongClickListener(this)
view.setOnLongClickListener(this@MediaEntryViewHolder)
imageContainerCard?.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
if (imageTextContainer != null) {
imageTextContainer!!.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
}
if (imageContainerCard != null) {
imageContainerCard!!.setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
}
}
fun setImageTransitionName(transitionName: String) {

View File

@ -203,7 +203,10 @@ class PlaylistAdapter(protected val activity: AppCompatActivity, dataSet: ArrayL
popupMenu.show()
}
imageTextContainer?.cardElevation = 0f
imageTextContainer?.apply {
cardElevation = 0f
setCardBackgroundColor(ThemeStore.primaryColor(itemView.context))
}
}
override fun onClick(v: View?) {

View File

@ -42,9 +42,6 @@ class OptionsSheetDialogFragment : DialogFragment(), View.OnClickListener {
R.id.actionFolders -> mainActivity.selectedFragment(R.id.action_folder)
R.id.actionLibrary -> mainActivity.selectedFragment(PreferenceUtil.getInstance().lastPage)
R.id.actionSettings -> NavigationUtil.goToSettings(mainActivity)
R.id.actionSleepTimer -> if (fragmentManager != null) {
SleepTimerDialog().show(fragmentManager!!, TAG)
}
R.id.actionRate -> NavigationUtil.goToPlayStore(mainActivity)
R.id.actionShare -> shareApp()
R.id.actionBugReport -> prepareBugReport()
@ -67,7 +64,6 @@ class OptionsSheetDialogFragment : DialogFragment(), View.OnClickListener {
}
private lateinit var actionSettings: View
private lateinit var actionSleepTimer: View
private lateinit var actionLibrary: View
private lateinit var actionEqualizer: View
private lateinit var actionFolders: View
@ -79,7 +75,6 @@ class OptionsSheetDialogFragment : DialogFragment(), View.OnClickListener {
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val layout = LayoutInflater.from(context).inflate(R.layout.fragment_main_options, null)
actionSettings = layout.findViewById(R.id.actionSettings)
actionSleepTimer = layout.findViewById(R.id.actionSleepTimer)
actionLibrary = layout.findViewById(R.id.actionLibrary)
actionEqualizer = layout.findViewById(R.id.actionEqualizer)
actionFolders = layout.findViewById(R.id.actionFolders)
@ -88,7 +83,6 @@ class OptionsSheetDialogFragment : DialogFragment(), View.OnClickListener {
actionBugReport = layout.findViewById(R.id.actionBugReport)
actionSettings.setOnClickListener(this)
actionSleepTimer.setOnClickListener(this)
actionLibrary.setOnClickListener(this)
actionEqualizer.setOnClickListener(this)
actionFolders.setOnClickListener(this)

View File

@ -146,7 +146,7 @@ class SleepTimerDialog : DialogFragment() {
}
private fun makeTimerPendingIntent(flag: Int): PendingIntent {
private fun makeTimerPendingIntent(flag: Int): PendingIntent? {
return PendingIntent.getService(activity, 0, makeTimerIntent(), flag)
}

View File

@ -731,6 +731,7 @@ public class FoldersFragment extends AbsMainActivityFragment implements
ProgressDialog dialog = new ProgressDialog(context);
dialog.setIndeterminate(true);
dialog.setTitle(R.string.listing_files);
dialog.setCancelable(false);
dialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
dialog.setOnCancelListener(dialog1 -> cancel(false));
dialog.setOnDismissListener(dialog1 -> cancel(false));

View File

@ -35,7 +35,7 @@ import io.reactivex.disposables.CompositeDisposable
import io.reactivex.schedulers.Schedulers
import kotlinx.android.synthetic.main.abs_playlists.*
import kotlinx.android.synthetic.main.fragment_banner_home.*
import kotlinx.android.synthetic.main.fragment_home.recyclerView
import kotlinx.android.synthetic.main.home_content.*
import java.io.File
import java.util.*
import kotlin.collections.ArrayList

View File

@ -18,6 +18,7 @@ import android.annotation.SuppressLint;
import android.app.Activity;
import android.media.MediaScannerConnection;
import android.net.Uri;
import android.os.Build;
import android.widget.Toast;
import java.lang.ref.WeakReference;
@ -57,7 +58,17 @@ public class UpdateToastMediaScannerCompletionListener implements MediaScannerCo
}
String text = " " + String.format(scannedFiles, scanned, toBeScanned.length) + (failed > 0 ? " " + String.format(couldNotScanFiles, failed) : "");
toast.setText(text);
toast.show();
try {
if (toast.getView().isShown()) {
toast.cancel();
}
if (Build.VERSION.SDK_INT < 28 && toast.getView().isShown()) {
toast.cancel();
}
toast.show();
} catch (Exception e) {
e.printStackTrace();
}
});
}
}

View File

@ -71,8 +71,8 @@
android:id="@+id/toolbar"
style="@style/Toolbar"
app:title="@string/search_hint"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Body1"
app:titleMarginStart="0dp"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Body1"
tools:ignore="UnusedAttribute" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
@ -94,24 +94,7 @@
android:layout_height="match_parent"
app:cardCornerRadius="12dp">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -53,24 +53,7 @@
android:layout_marginEnd="@dimen/horizontal_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>

View File

@ -91,23 +91,7 @@
android:layout_marginEnd="128dp"
app:cardCornerRadius="12dp">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -53,24 +53,7 @@
android:layout_marginEnd="128dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -91,23 +91,7 @@
android:layout_marginEnd="64dp"
app:cardCornerRadius="12dp">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -56,23 +56,7 @@
android:background="@color/md_white_1000"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>

View File

@ -149,49 +149,6 @@
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/discordLink"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/rectSelector"
android:clickable="true"
android:focusable="true"
android:minHeight="@dimen/md_listitem_height"
android:orientation="horizontal"
tools:ignore="PrivateResource">
<code.name.monkey.retromusic.views.IconImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_discord_white_24dp"
app:tint="@color/md_white_1000" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="12dp"
android:paddingTop="8dp"
android:paddingEnd="12dp"
android:paddingBottom="8dp">
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
style="@style/TextAppearance.MaterialComponents.Subtitle1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/discord_page"
app:fontFamily="@font/circular_std_medium" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
style="@style/TextAppearance.MaterialComponents.Body2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="0.85"
android:text="@string/discord_summary" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/telegramLink"
android:layout_width="match_parent"

View File

@ -65,8 +65,8 @@
android:id="@+id/toolbar"
style="@style/Toolbar"
app:title="@string/search_hint"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Body1"
app:titleMarginStart="0dp"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Body1"
tools:ignore="UnusedAttribute" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
@ -84,25 +84,7 @@
android:layout_height="wrap_content"
app:cardCornerRadius="12dp">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
android:paddingTop="8dp">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -100,6 +100,7 @@
sothree:cardCornerRadius="12dp">
<RelativeLayout
android:background="?cardBackgroundColor"
android:layout_width="match_parent"
android:layout_height="wrap_content">

View File

@ -36,8 +36,8 @@
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
style="@style/Toolbar"
app:titleMarginStart="0dp"
app:title="@string/search_hint"
app:titleMarginStart="0dp"
app:titleTextAppearance="@style/TextAppearance.MaterialComponents.Body1"
tools:ignore="UnusedAttribute" />
</com.google.android.material.card.MaterialCardView>
@ -49,24 +49,7 @@
android:layout_weight="1"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<LinearLayout
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/md_white_1000"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
</LinearLayout>
<include layout="@layout/home_content" />
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>

View File

@ -47,16 +47,6 @@
app:optionIcon="@drawable/ic_equalizer_white_24dp"
app:optionTitle="@string/equalizer" />
<code.name.monkey.retromusic.views.OptionMenuItemView
android:id="@+id/actionSleepTimer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?rectSelector"
android:clickable="true"
android:focusable="true"
app:optionIcon="@drawable/ic_timer_white_24dp"
app:optionTitle="@string/action_sleep_timer" />
<code.name.monkey.retromusic.views.OptionMenuItemView
android:id="@+id/actionShare"
android:layout_width="match_parent"

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/contentContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical">
<include layout="@layout/abs_playlists" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false" />
<LinearLayout
android:id="@+id/emptyContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical">
<code.name.monkey.retromusic.views.IconImageView
android:layout_width="96dp"
android:layout_height="96dp"
app:srcCompat="@drawable/ic_disc_full_black_24dp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/emptyText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/empty"
android:textColor="?android:textColorSecondary"
tools:visibility="visible" />
</LinearLayout>
</LinearLayout>

View File

@ -117,8 +117,6 @@ https://play.google.com/store/apps/details?id=%s</string>
<string name="delete_x_playlists"><![CDATA[حذف قوائم التشغيل <b>%1$d</b>؟]]></string>
<string name="delete_x_songs"><![CDATA[حذف الاغاني <b>%1$d</b>؟]]></string>
<string name="deleted_x_songs">تم حذف %1$d الأغاني.</string>
<string name="discord_page">ديسكود</string>
<string name="discord_summary">لمواكبة آخر الأخبار انضمام إلى Discord</string>
<string name="do_you_want_to_clear_the_blacklist">هل تريد إزالة القائمة السوداء؟</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[هل تريد إزالة <b>%1$s</b> من القائمة السوداء]]></string>
<string name="donate">تبرع</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Изтрий <b>%1$d</b> плейлисти?]]></string>
<string name="delete_x_songs"><![CDATA[Изтрий <b>%1$d</b> песни?]]></string>
<string name="deleted_x_songs">Изтрити %1$d песни.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Присъедини се към Discord сървъра за актуални новини</string>
<string name="do_you_want_to_clear_the_blacklist">Да се изчисти ли черният списък?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Да се премахне ли <b>%1$s</b> от черния списък?]]></string>
<string name="donate">Дарения</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Sollen die Wiedergabelisten <b>%1$d</b> gelöscht werden?]]></string>
<string name="delete_x_songs"><![CDATA[Sollen die Songs <b>%1$d</b> gelöscht werden?]]></string>
<string name="deleted_x_songs">%1$d Song(s) wurden gelöscht.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Trete dem Discord-Server bei und erhalte Neuigkeiten schneller</string>
<string name="do_you_want_to_clear_the_blacklist">Möchtest du die schwarze Liste leeren?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Möchtest du <b>%1$s</b> von der schwarzen Liste entfernen?]]></string>
<string name="donate">Spenden</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[¿Eliminar <b>%1$d</b> listas de reproducción?]]></string>
<string name="delete_x_songs"><![CDATA[¿Eliminar <b>%1$d</b> canciones?]]></string>
<string name="deleted_x_songs">Se han eliminado %1$d canciones.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Únete al servidor de Discord para mantenerte al día con las últimas noticias</string>
<string name="do_you_want_to_clear_the_blacklist">¿Quieres limpiar la lista negra?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[¿Quieres eliminar <b>%1$s</b> de la lista negra?]]></string>
<string name="donate">Donar</string>

View File

@ -117,8 +117,6 @@
<string name="delete_x_playlists"><![CDATA[¿Eliminar <b>%1$d</b> listas?]]></string>
<string name="delete_x_songs"><![CDATA[¿Eliminar <b>%1$d</b> canciones?]]></string>
<string name="deleted_x_songs">Se eliminaron %1$d canciones</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Únete al servidor de Discord para mantenerte al día con las últimas noticias</string>
<string name="do_you_want_to_clear_the_blacklist">¿Deseas limpiar la lista negra?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[¿Deseas eliminar <b>%1$s</b> de la lista negra?]]></string>
<string name="donate">Donar</string>

View File

@ -117,8 +117,6 @@
<string name="delete_x_playlists"><![CDATA[¿Eliminar <b>%1$d</b> listas de reproducción?]]></string>
<string name="delete_x_songs"><![CDATA[¿Eliminar <b>%1$d</b> canciones?]]></string>
<string name="deleted_x_songs">%1$d canciones eliminadas.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Únete al servidor de Discord para mantenerte al día con las últimas noticias</string>
<string name="do_you_want_to_clear_the_blacklist">¿Quieres limpiar la lista negra?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[¿Quiere eliminar <b>%1$s</b> de la lista negra?]]></string>
<string name="donate">Donar</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[<b>%1$d</b> erreprodukzio zerrenda ezabatu?]]></string>
<string name="delete_x_songs"><![CDATA[<b>%1$d</b> abesti ezabatu?]]></string>
<string name="deleted_x_songs">%1$d abesti ezabatu dira</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Batu Discord-eko zerbitzaria azken berriak jasotzeko</string>
<string name="do_you_want_to_clear_the_blacklist">Zerrenda beltza garbitu nahi duzu?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[<b>%1$s</b> zerrenda beltzetik ezabatu nahi duzu?]]></string>
<string name="donate">Lagundu diruz</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Supprimer les listes <b>%1$d</b> ?]]></string>
<string name="delete_x_songs"><![CDATA[Supprimer les morceaux <b>%1$d</b> ?]]></string>
<string name="deleted_x_songs">%1$d à été supprimé.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Rejoignez le serveur Discord pour rester au courant des dernières nouveautés</string>
<string name="do_you_want_to_clear_the_blacklist">Voulez vous vraiment vider la liste noire ?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Voulez vous vraiment retirer <b>%1$s</b> de la liste noire ?]]></string>
<string name="donate">Faire un don</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Izbriši <b>%1$d</b> popisa naslova?]]></string>
<string name="delete_x_songs"><![CDATA[Izbriši <b>%1$d</b> pjesama?]]></string>
<string name="deleted_x_songs">Izbrisano je %1$d pjesama.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Pridružite se Discord serveru kako bi bili u toku sa novostima</string>
<string name="do_you_want_to_clear_the_blacklist">Želite li očistiti crni popis?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Želite li ukloniti <b>%1$s</b> sa crnog popisa?]]></string>
<string name="donate">Doniraj</string>

View File

@ -113,8 +113,6 @@
<string name="delete_x_playlists"><![CDATA[Törli a <b>%1$d</b> lejátszási listát?]]></string>
<string name="delete_x_songs"><![CDATA[Törli a <b>%1$d</b> zenét?]]></string>
<string name="deleted_x_songs">Törölte a %1$d zenét.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Csatlakozz a DIscord szerverre és ne maradj le az új hírekről</string>
<string name="do_you_want_to_clear_the_blacklist">Szeretné törölni a feketelistát?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Szeretné eltávolítani a <b>%1$s</b> a feketelistáról?]]></string>
<string name="donate">Támogatás</string>

View File

@ -114,8 +114,6 @@ https://play.google.com/store/apps/details?id=%s</string>
<string name="delete_x_playlists"><![CDATA[Hapus <b>%1$d</b> daftar putar?]]></string>
<string name="delete_x_songs"><![CDATA[Hapus <b>%1$d</b> lagu?]]></string>
<string name="deleted_x_songs">Lagu %1$d dihapus</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Bergabung dengan server DIscord untuk mengetahui berita terbaru</string>
<string name="do_you_want_to_clear_the_blacklist">Bersihkan daftar hitam?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Hapus <b>%1$s</b> dari
Daftar hitam?]]></string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Elimina <b>%1$d</b> playlist?]]></string>
<string name="delete_x_songs"><![CDATA[Eliminare <b>%1$d</b> brani?]]></string>
<string name="deleted_x_songs">Eliminati %1$d brani</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Unisciti al server Discord per tenerti aggiornato con le ultime notizie</string>
<string name="do_you_want_to_clear_the_blacklist">Vuoi cancellare la blacklist?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Vuoi rimuovere <b>%1$s</b> dalla blacklist?]]></string>
<string name="donate">Dona</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Usunąć listy odtwarzania <b>%1$d</b> ?]]></string>
<string name="delete_x_songs"><![CDATA[Usunąć utwory <b>%1$d</b> ?]]></string>
<string name="deleted_x_songs">Usunięto %1$d utworów.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Dołącz do serwera Discord, aby być na bieżąco z najnowszymi newsami</string>
<string name="do_you_want_to_clear_the_blacklist">Czy chcesz wyczyścić czarną listę?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Czy chcesz usunąć <b>%1$s</b> z czarnej listy?]]></string>
<string name="donate">Wesprzyj nas</string>

View File

@ -117,8 +117,6 @@ https://play.google.com/store/apps/details?id=%s</string>
<string name="delete_x_playlists"><![CDATA[Excluir <b>%1$d</b> playlists?]]></string>
<string name="delete_x_songs"><![CDATA[Excluir <b>%1$d</b> músicas?]]></string>
<string name="deleted_x_songs">%1$d músicas foram excluídas</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Entre no servidor no Discord para acompanhar as últimas notícias</string>
<string name="do_you_want_to_clear_the_blacklist">Deseja limpar a lista negra?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Deseja remover <b>%1$s</b> da lista negra?]]></string>
<string name="donate">Doar</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[Удалить <b>%1$d</b> плейлистов?]]></string>
<string name="delete_x_songs"><![CDATA[Удалить <b>%1$d</b> треков?]]></string>
<string name="deleted_x_songs">Удалено %1$d треков.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Присоединяйтесь к серверу Discord, чтобы следить за последними новостями</string>
<string name="do_you_want_to_clear_the_blacklist">Хотите очистить черный список?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Хотите удалить <b>%1$s</b> из черного списка?]]></string>
<string name="donate">Пожертвовать</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[<b>%1$d</b> çalma listeleri silinsin mi?]]></string>
<string name="delete_x_songs"><![CDATA[<b>%1$d</b> parçaları silinsin mi?]]></string>
<string name="deleted_x_songs">%1$d parça silindi.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">En son gelişmelerden haberdar olmak için Discord\'a katılın</string>
<string name="do_you_want_to_clear_the_blacklist">Kara listeyi temizlemek istiyor musunuz?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Kara listeden <b>%1$s</b> parçasını kaldırmak istiyor musunuz?]]></string>
<string name="donate">Bağış</string>

View File

@ -113,8 +113,6 @@
<string name="delete_x_playlists"><![CDATA[Xoá <b>%1$d</b> danh sách phát?]]></string>
<string name="delete_x_songs"><![CDATA[Xoá <b>%1$d</b> bài hát?]]></string>
<string name="deleted_x_songs">Đã xoá %1$d bài hát.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Tham gia vào máy chủ Discord để cập nhật tin tức mới nhất</string>
<string name="do_you_want_to_clear_the_blacklist">Bạn có muốn xóa danh sách đen?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Bạn có muốn gỡ <b>%1$s</b> khỏi danh sách đen?]]></string>
<string name="donate">Ủng hộ</string>

View File

@ -113,8 +113,6 @@
<string name="delete_x_playlists"><![CDATA[删除播放列表 <b>%1$s</b> 吗?]]></string>
<string name="delete_x_songs"><![CDATA[删除歌曲 <b>%1$s</b> 吗?]]></string>
<string name="deleted_x_songs">已删除 %1$d 首歌曲</string>
<string name="discord_page">不谐和</string>
<string name="discord_summary">加入Discord服务器以了解最新消息</string>
<string name="do_you_want_to_clear_the_blacklist">你想清除黑名单吗?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[要从黑名单中删除 <b>%1$s</b> 吗?]]></string>
<string name="donate">捐赠</string>

View File

@ -116,8 +116,6 @@
<string name="delete_x_playlists"><![CDATA[要移除<b>%1$d</b>個播放清單嗎?]]></string>
<string name="delete_x_songs"><![CDATA[要移除<b>%1$d</b>個歌曲嗎?]]></string>
<string name="deleted_x_songs">已刪除%1$d首歌曲。</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">加入Discord伺服器來了解最新消息</string>
<string name="do_you_want_to_clear_the_blacklist">要清除黑名單嗎?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[您想要將<b>%1$s</b>由黑名單移除嗎?]]></string>
<string name="donate">捐款</string>

View File

@ -155,9 +155,6 @@
<string name="delete_songs_title">Delete songs</string>
<string name="deleted_x_songs">Deleted %1$d songs.</string>
<string name="discord_page">Discord</string>
<string name="discord_summary">Join the Discord server to keep up with the latest news</string>
<string name="do_you_want_to_clear_the_blacklist">Do you want to clear the blacklist?</string>
<string name="do_you_want_to_remove_from_the_blacklist"><![CDATA[Do you want to remove <b>%1$s</b> from the blacklist?]]></string>

View File

@ -106,12 +106,11 @@
<item name="windowActionBar">false</item>
</style>
<style name="Theme.RetroMusic.Base.Black" parent="@style/Theme.RetroMusic.Base">
<item name="dividerColor">@color/dark_color</item>
<item name="defaultFooterColor">@color/md_grey_800</item>
<item name="cardBackgroundColor">@color/md_grey_900</item>
<item name="cardBackgroundColor">@color/black_color</item>
<item name="md_background_color">@color/card_black_color</item>
<item name="android:windowBackground">@color/black_color</item>

View File

@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto">
<code.name.monkey.appthemehelper.common.prefs.supportv7.ATESwitchPreference
android:defaultValue="true"
android:defaultValue="false"
app:icon="@drawable/ic_image_white_24dp"
android:key="ignore_media_store_artwork"
android:summary="@string/pref_summary_ignore_media_store_artwork"

View File

@ -20,7 +20,7 @@ import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView
import code.name.monkey.appthemehelper.ThemeStore
class ATEAccentTextView : AppCompatTextView {
open class ATEAccentTextView : AppCompatTextView {
constructor(context: Context) : super(context) {
init(context)
}

View File

@ -9,7 +9,7 @@ import code.name.monkey.appthemehelper.ThemeStore
/**
* @author Aidan Follestad (afollestad)
*/
class ATESecondaryTextView : AppCompatTextView {
open class ATESecondaryTextView : AppCompatTextView {
constructor(context: Context) : super(context) {
init(context)