Reduced repetition in styles.xml

This commit is contained in:
ByteHamster 2019-04-11 21:02:45 +02:00
parent 97d08f3b00
commit 6595f49f22
1 changed files with 4 additions and 148 deletions

View File

@ -192,164 +192,20 @@
<!-- Room for API dependent attributes --> <!-- Room for API dependent attributes -->
</style> </style>
<style name="Theme.Base.AntennaPod.Light.NoTitle" parent="Theme.AppCompat.Light.NoActionBar"> <style name="Theme.Base.AntennaPod.Light.NoTitle" parent="Theme.Base.AntennaPod.Light">
<item name="windowActionBar">false</item> <item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="windowActionModeOverlay">true</item> <item name="windowActionModeOverlay">true</item>
<item name="progressBarTheme">@style/ProgressBarLight</item>
<item name="colorPrimary">@color/primary_light</item>
<item name="colorAccent">@color/holo_blue_light</item>
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Light</item>
<item type="attr" name="storage">@drawable/ic_sd_grey600_24dp</item>
<item type="attr" name="ic_swap">@drawable/ic_swap_vertical_grey600_24dp</item>
<item type="attr" name="statistics">@drawable/ic_poll_box_grey600_24dp</item>
<item type="attr" name="action_about">@drawable/ic_info_grey600_24dp</item>
<item type="attr" name="checkbox_multiple">@drawable/ic_checkbox_multiple_marked_outline_grey600_24dp</item>
<item type="attr" name="action_search">@drawable/ic_search_grey600_24dp</item>
<item type="attr" name="action_stream">@drawable/ic_settings_input_antenna_grey600_24dp</item>
<item type="attr" name="av_download">@drawable/ic_file_download_grey600_24dp</item>
<item type="attr" name="av_fast_forward">@drawable/ic_fast_forward_grey600_24dp</item>
<item type="attr" name="av_pause">@drawable/ic_pause_grey600_24dp</item>
<item type="attr" name="av_play">@drawable/ic_play_arrow_grey600_24dp</item>
<item type="attr" name="av_rewind">@drawable/ic_fast_rewind_grey600_24dp</item>
<item type="attr" name="content_discard">@drawable/ic_delete_grey600_24dp</item>
<item type="attr" name="content_new">@drawable/ic_add_grey600_24dp</item>
<item type="attr" name="content_remove_from_queue">@drawable/ic_remove_grey600</item>
<item type="attr" name="feed">@drawable/ic_feed_grey600_24dp</item>
<item type="attr" name="location_web_site">@drawable/ic_web_grey600_24dp</item>
<item type="attr" name="navigation_accept">@drawable/ic_done_grey600_24dp</item>
<item type="attr" name="navigation_cancel">@drawable/ic_cancel_grey600_24dp</item>
<item type="attr" name="navigation_expand">@drawable/ic_expand_more_grey600_36dp</item>
<item type="attr" name="navigation_refresh">@drawable/ic_refresh_grey600_24dp</item>
<item type="attr" name="navigation_up">@drawable/navigation_up</item>
<item type="attr" name="social_share">@drawable/ic_share_grey600_24dp</item>
<item type="attr" name="stat_playlist">@drawable/ic_list_grey600_24dp</item>
<item type="attr" name="type_audio">@drawable/ic_hearing_grey600_18dp</item>
<item type="attr" name="type_video">@drawable/ic_remove_red_eye_grey600_18dp</item>
<item type="attr" name="non_transparent_background">@color/white</item>
<item type="attr" name="overlay_background">@color/overlay_light</item>
<item type="attr" name="overlay_drawable">@drawable/overlay_drawable</item>
<item type="attr" name="dragview_background">@drawable/ic_drag_vertical_grey600_48dp</item>
<item type="attr" name="dragview_float_background">@color/white</item>
<item type="attr" name="nav_drawer_background">@color/white</item>
<item type="attr" name="drawer_activated_color">@color/highlight_light</item>
<item type="attr" name="ic_new">@drawable/ic_new_releases_grey600_24dp</item>
<item type="attr" name="ic_history">@drawable/ic_history_grey600_24dp</item>
<item type="attr" name="ic_folder">@drawable/ic_folder_grey600_24dp</item>
<item type="attr" name="av_play_big">@drawable/ic_play_arrow_grey600_36dp</item>
<item type="attr" name="av_pause_big">@drawable/ic_pause_grey600_36dp</item>
<item type="attr" name="av_ff_big">@drawable/ic_fast_forward_grey600_36dp</item>
<item type="attr" name="av_rew_big">@drawable/ic_fast_rewind_grey600_36dp</item>
<item type="attr" name="av_skip_big">@drawable/ic_skip_grey600_36dp</item>
<item type="attr" name="ic_fav">@drawable/ic_star_border_grey600_24dp</item>
<item type="attr" name="ic_unfav">@drawable/ic_star_grey600_24dp</item>
<item type="attr" name="ic_settings">@drawable/ic_settings_grey600_24dp</item>
<item type="attr" name="ic_lock_open">@drawable/ic_lock_open_grey600_24dp</item>
<item type="attr" name="ic_lock_closed">@drawable/ic_lock_closed_grey600_24dp</item>
<item type="attr" name="ic_filter">@drawable/ic_filter_grey600_24dp</item>
<item type="attr" name="ic_sleep">@drawable/ic_sleep_grey600_24dp</item>
<item type="attr" name="ic_sleep_off">@drawable/ic_sleep_off_grey600_24dp</item>
<item type="attr" name="ic_select_all">@drawable/ic_select_all_grey600</item>
<item type="attr" name="ic_select_none">@drawable/ic_select_none_grey600</item>
<item type="attr" name="ic_sort">@drawable/ic_sort_grey600_24dp</item>
<item type="attr" name="ic_sd_storage">@drawable/ic_sd_storage_grey600_36dp</item>
<item type="attr" name="ic_create_new_folder">@drawable/ic_create_new_folder_grey600_24dp</item>
<item type="attr" name="ic_cast_disconnect">@drawable/ic_cast_disconnect_grey600_36dp</item>
<item type="attr" name="ic_cellphone_text">@drawable/ic_cellphone_text_grey600_24dp</item>
<item type="attr" name="ic_question_answer">@drawable/ic_forum_grey600_24dp</item>
<item type="attr" name="ic_bug">@drawable/ic_bug_grey600_24dp</item>
<item type="attr" name="ic_known_issues">@drawable/ic_format_list_bulleted_grey600_24dp</item>
<item type="attr" name="master_switch_background">@color/master_switch_background_light</item>
<item type="attr" name="currently_playing_background">@color/highlight_light</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item type="attr" name="about_screen_background">#e5e5e5</item>
<item type="attr" name="about_screen_card_background">#ffffff</item>
<item type="attr" name="about_screen_card_border">#d2d2d2</item>
<item type="attr" name="about_screen_font_color">#000000</item>
</style> </style>
<style name="Theme.AntennaPod.Dark.NoTitle" parent="Theme.Base.AntennaPod.Dark.NoTitle"> <style name="Theme.AntennaPod.Dark.NoTitle" parent="Theme.Base.AntennaPod.Dark.NoTitle">
<!-- Room for API dependent attributes --> <!-- Room for API dependent attributes -->
</style> </style>
<style name="Theme.Base.AntennaPod.Dark.NoTitle" parent="Theme.AppCompat.NoActionBar"> <style name="Theme.Base.AntennaPod.Dark.NoTitle" parent="Theme.Base.AntennaPod.Dark">
<item name="windowActionBar">false</item> <item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="windowActionModeOverlay">true</item> <item name="windowActionModeOverlay">true</item>
<item name="progressBarTheme">@style/ProgressBarDark</item>
<item name="colorAccent">@color/holo_blue_dark</item>
<item name="colorPrimary">@color/primary_darktheme</item>
<item name="colorPrimaryDark">@color/primary_darktheme</item>
<item name="colorControlNormal">@color/white</item>
<item name="buttonStyle">@style/Widget.AntennaPod.Button</item>
<item name="alertDialogTheme">@style/AntennaPod.Dialog.Dark</item>
<item type="attr" name="storage">@drawable/ic_sd_white_24dp</item>
<item type="attr" name="ic_swap">@drawable/ic_swap_vertical_white_24dp</item>
<item type="attr" name="statistics">@drawable/ic_poll_box_white_24dp</item>
<item type="attr" name="action_about">@drawable/ic_info_white_24dp</item>
<item type="attr" name="checkbox_multiple">@drawable/ic_checkbox_multiple_marked_outline_white_24dp</item>
<item type="attr" name="action_search">@drawable/ic_search_white_24dp</item>
<item type="attr" name="action_stream">@drawable/ic_settings_input_antenna_white_24dp</item>
<item type="attr" name="av_download">@drawable/ic_file_download_white_24dp</item>
<item type="attr" name="av_fast_forward">@drawable/ic_fast_forward_white_24dp</item>
<item type="attr" name="av_pause">@drawable/ic_pause_white_24dp</item>
<item type="attr" name="av_play">@drawable/ic_play_arrow_white_24dp</item>
<item type="attr" name="av_rewind">@drawable/ic_fast_rewind_white_24dp</item>
<item type="attr" name="content_discard">@drawable/ic_delete_white_24dp</item>
<item type="attr" name="content_new">@drawable/ic_add_white_24dp</item>
<item type="attr" name="feed">@drawable/ic_feed_white_24dp</item>
<item type="attr" name="content_remove_from_queue">@drawable/ic_remove_white</item>
<item type="attr" name="location_web_site">@drawable/ic_web_white_24dp</item>
<item type="attr" name="navigation_accept">@drawable/ic_done_white_24dp</item>
<item type="attr" name="navigation_cancel">@drawable/ic_cancel_white_24dp</item>
<item type="attr" name="navigation_expand">@drawable/ic_expand_more_white_36dp</item>
<item type="attr" name="navigation_refresh">@drawable/ic_refresh_white_24dp</item>
<item type="attr" name="navigation_up">@drawable/navigation_up_dark</item>
<item type="attr" name="social_share">@drawable/ic_share_white_24dp</item>
<item type="attr" name="stat_playlist">@drawable/ic_list_white_24dp</item>
<item type="attr" name="type_audio">@drawable/ic_hearing_white_18dp</item>
<item type="attr" name="type_video">@drawable/ic_remove_red_eye_white_18dp</item>
<item type="attr" name="non_transparent_background">@color/black</item>
<item type="attr" name="overlay_background">@color/overlay_dark</item>
<item type="attr" name="overlay_drawable">@drawable/overlay_drawable_dark</item>
<item type="attr" name="dragview_background">@drawable/ic_drag_vertical_white_48dp</item>
<item type="attr" name="dragview_float_background">@color/black</item>
<item type="attr" name="nav_drawer_background">@color/nav_drawer_background_dark</item>
<item type="attr" name="drawer_activated_color">@color/nav_drawer_highlighted_dark</item>
<item type="attr" name="ic_new">@drawable/ic_new_releases_white_24dp</item>
<item type="attr" name="ic_history">@drawable/ic_history_white_24dp</item>
<item type="attr" name="ic_folder">@drawable/ic_folder_white_24dp</item>
<item type="attr" name="av_play_big">@drawable/ic_play_arrow_white_36dp</item>
<item type="attr" name="av_pause_big">@drawable/ic_pause_white_36dp</item>
<item type="attr" name="av_ff_big">@drawable/ic_fast_forward_white_36dp</item>
<item type="attr" name="av_rew_big">@drawable/ic_fast_rewind_white_36dp</item>
<item type="attr" name="av_skip_big">@drawable/ic_skip_white_36dp</item>
<item type="attr" name="ic_fav">@drawable/ic_star_border_white_24dp</item>
<item type="attr" name="ic_unfav">@drawable/ic_star_white_24dp</item>
<item type="attr" name="ic_settings">@drawable/ic_settings_white_24dp</item>
<item type="attr" name="ic_lock_open">@drawable/ic_lock_open_white_24dp</item>
<item type="attr" name="ic_lock_closed">@drawable/ic_lock_closed_white_24dp</item>
<item type="attr" name="ic_filter">@drawable/ic_filter_white_24dp</item>
<item type="attr" name="ic_sleep">@drawable/ic_sleep_white_24dp</item>
<item type="attr" name="ic_sleep_off">@drawable/ic_sleep_off_white_24dp</item>
<item type="attr" name="ic_select_all">@drawable/ic_select_all_white</item>
<item type="attr" name="ic_select_none">@drawable/ic_select_none_white</item>
<item type="attr" name="ic_sort">@drawable/ic_sort_white_24dp</item>
<item type="attr" name="ic_sd_storage">@drawable/ic_sd_storage_white_36dp</item>
<item type="attr" name="ic_create_new_folder">@drawable/ic_create_new_folder_white_24dp</item>
<item type="attr" name="ic_cast_disconnect">@drawable/ic_cast_disconnect_white_36dp</item>
<item type="attr" name="ic_cellphone_text">@drawable/ic_cellphone_text_white_24dp</item>
<item type="attr" name="ic_question_answer">@drawable/ic_baseline_question_answer_white_24dp</item>
<item type="attr" name="ic_bug">@drawable/ic_bug_white_24dp</item>
<item type="attr" name="ic_known_issues">@drawable/ic_format_list_bulleted_white_24dp</item>
<item type="attr" name="master_switch_background">@color/master_switch_background_dark</item>
<item type="attr" name="currently_playing_background">@color/highlight_dark</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item type="attr" name="about_screen_background">#303030</item>
<item type="attr" name="about_screen_card_background">#424242</item>
<item type="attr" name="about_screen_card_border">#262626</item>
<item type="attr" name="about_screen_font_color">#ffffff</item>
</style> </style>
<style name="Theme.AntennaPod.TrueBlack.NoTitle" parent="Theme.Base.AntennaPod.TrueBlack.NoTitle"> <style name="Theme.AntennaPod.TrueBlack.NoTitle" parent="Theme.Base.AntennaPod.TrueBlack.NoTitle">