diff --git a/.gitignore b/.gitignore index 4d995e37..dd4e433d 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ app/normal/release/ app/font/ app/src/debug/ app/src/font/ +app/src/nofont/ diff --git a/app/src/main/java/code/name/monkey/retromusic/views/ColorIconsImageView.kt b/app/src/main/java/code/name/monkey/retromusic/views/ColorIconsImageView.kt index 5fe36008..44eb966d 100644 --- a/app/src/main/java/code/name/monkey/retromusic/views/ColorIconsImageView.kt +++ b/app/src/main/java/code/name/monkey/retromusic/views/ColorIconsImageView.kt @@ -57,5 +57,4 @@ class ColorIconsImageView @JvmOverloads constructor( requestLayout() invalidate() } - } diff --git a/app/src/main/java/code/name/monkey/retromusic/views/OptionMenuItemView.java b/app/src/main/java/code/name/monkey/retromusic/views/OptionMenuItemView.java deleted file mode 100644 index 1668d12a..00000000 --- a/app/src/main/java/code/name/monkey/retromusic/views/OptionMenuItemView.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * 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. - */ - -package code.name.monkey.retromusic.views; - -import android.content.Context; -import android.content.res.ColorStateList; -import android.content.res.TypedArray; -import android.graphics.drawable.Drawable; -import android.util.AttributeSet; -import android.widget.FrameLayout; -import android.widget.TextView; - -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; -import androidx.appcompat.widget.AppCompatImageView; -import androidx.core.content.ContextCompat; - -import code.name.monkey.appthemehelper.ThemeStore; -import code.name.monkey.appthemehelper.util.ColorUtil; -import code.name.monkey.retromusic.R; - -/** - * Created by hemanths on 3/23/19 - */ -public class OptionMenuItemView extends FrameLayout { - - TextView textView; - AppCompatImageView iconImageView; - - public OptionMenuItemView(@NonNull Context context) { - this(context, null); - } - - public OptionMenuItemView(@NonNull Context context, @Nullable AttributeSet attrs) { - this(context, attrs, -1); - } - - public OptionMenuItemView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr) { - this(context, attrs, defStyleAttr, -1); - } - - public OptionMenuItemView(@NonNull Context context, @Nullable AttributeSet attrs, int defStyleAttr, int defStyleRes) { - super(context, attrs, defStyleAttr, defStyleRes); - - setBackground(ContextCompat.getDrawable(context, R.drawable.option_menu_background)); - - setClickable(true); - setFocusable(true); - - inflate(context, R.layout.item_option_menu, this); - - textView = findViewById(R.id.title); - iconImageView = findViewById(R.id.icon); - - TypedArray attributes = context.obtainStyledAttributes(attrs, R.styleable.OptionMenuItemView, 0, 0); - - String title = attributes.getString(R.styleable.OptionMenuItemView_optionTitle); - textView.setText(title); - - Drawable icon = attributes.getDrawable(R.styleable.OptionMenuItemView_optionIcon); - iconImageView.setImageDrawable(icon); - - attributes.recycle(); - } - - @Override - public void setSelected(boolean selected) { - super.setSelected(selected); - if (selected) { - int accentColor = ThemeStore.Companion.accentColor(getContext()); - int colorWithAlpha = ColorUtil.INSTANCE.adjustAlpha(accentColor, 0.22f); - textView.setTextColor(accentColor); - iconImageView.setImageTintList(ColorStateList.valueOf(accentColor)); - setBackgroundTintList(ColorStateList.valueOf(colorWithAlpha)); - } - } -} - diff --git a/app/src/main/res/drawable/option_menu_background.xml b/app/src/main/res/drawable/option_menu_background.xml deleted file mode 100644 index ebb61404..00000000 --- a/app/src/main/res/drawable/option_menu_background.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_main_options.xml b/app/src/main/res/layout/fragment_main_options.xml deleted file mode 100644 index 172fa76d..00000000 --- a/app/src/main/res/layout/fragment_main_options.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 568ace1a..d2db61cf 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -11,8 +11,5 @@ - - - - + \ No newline at end of file diff --git a/change-log.html b/change-log.html deleted file mode 100644 index 5f7df3da..00000000 --- a/change-log.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - Change log - - - -

3.4.950

-Stable -

What's new?

- -

Improvements and fixes

- - - \ No newline at end of file diff --git a/device-2020-03-01-203243.png b/device-2020-03-01-203243.png deleted file mode 100644 index 28ea17ab..00000000 Binary files a/device-2020-03-01-203243.png and /dev/null differ