Fix gears color
This commit is contained in:
parent
e236903602
commit
152e497cfa
|
@ -32,7 +32,6 @@ import android.widget.RelativeLayout;
|
|||
import android.widget.TextView;
|
||||
|
||||
import com.bumptech.glide.Glide;
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy;
|
||||
import com.joanzapata.iconify.IconDrawable;
|
||||
import com.joanzapata.iconify.Iconify;
|
||||
import com.joanzapata.iconify.fonts.FontAwesomeIcons;
|
||||
|
@ -60,6 +59,7 @@ import de.danoeh.antennapod.core.feed.FeedMedia;
|
|||
import de.danoeh.antennapod.core.feed.QueueEvent;
|
||||
import de.danoeh.antennapod.core.glide.ApGlideSettings;
|
||||
import de.danoeh.antennapod.core.glide.FastBlurTransformation;
|
||||
import de.danoeh.antennapod.core.preferences.UserPreferences;
|
||||
import de.danoeh.antennapod.core.service.download.DownloadService;
|
||||
import de.danoeh.antennapod.core.service.download.Downloader;
|
||||
import de.danoeh.antennapod.core.storage.DBReader;
|
||||
|
@ -229,8 +229,8 @@ public class ItemlistFragment extends ListFragment {
|
|||
menu.findItem(R.id.share_link_item).setVisible(false);
|
||||
menu.findItem(R.id.visit_website_item).setVisible(false);
|
||||
}
|
||||
int[] attrs = { android.R.attr.textColor };
|
||||
TypedArray ta = getActivity().obtainStyledAttributes(attrs);
|
||||
int[] attrs = { R.attr.action_bar_icon_color };
|
||||
TypedArray ta = getActivity().obtainStyledAttributes(UserPreferences.getTheme(), attrs);
|
||||
int textColor = ta.getColor(0, Color.GRAY);
|
||||
ta.recycle();
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<attr name="action_bar_icon_color" format="reference"/>
|
||||
<attr name="action_about" format="reference"/>
|
||||
<attr name="action_search" format="reference"/>
|
||||
<attr name="action_stream" format="reference"/>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
<color name="white">#FFFFFF</color>
|
||||
<color name="gray">#808080</color>
|
||||
<color name="grey600">#757575</color>
|
||||
<color name="light_gray">#bfbfbf</color>
|
||||
<color name="black">#000000</color>
|
||||
<color name="bright_blue">#33B5E5</color>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<style name="Theme.AntennaPod.Light" parent="@style/Theme.AppCompat.Light">
|
||||
<item name="colorPrimary">@color/primary_light</item>
|
||||
<item name="colorAccent">@color/color_accent</item>
|
||||
<item name="attr/action_bar_icon_color">@color/grey600</item>
|
||||
<item name="attr/action_about">@drawable/ic_info_grey600_24dp</item>
|
||||
<item name="attr/action_search">@drawable/ic_search_grey600_24dp</item>
|
||||
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_grey600_24dp</item>
|
||||
|
@ -49,6 +50,7 @@
|
|||
|
||||
<style name="Theme.AntennaPod.Dark" parent="@style/Theme.AppCompat">
|
||||
<item name="colorAccent">@color/color_accent</item>
|
||||
<item name="attr/action_bar_icon_color">@color/white</item>
|
||||
<item name="attr/action_about">@drawable/ic_info_white_24dp</item>
|
||||
<item name="attr/action_search">@drawable/ic_search_white_24dp</item>
|
||||
<item name="attr/action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
|
||||
|
|
Loading…
Reference in New Issue