XML String sort

This commit is contained in:
h4h13 2019-11-04 22:39:07 +05:30
parent f926cdeaf6
commit f112d3a375
88 changed files with 75 additions and 1955 deletions

View file

@ -102,9 +102,6 @@
<item>never</item>
</array>
<array name="pref_album_detail_style_values">
<item>@layout/activity_album</item>
</array>
<string-array name="pref_playlists_last_added_interval_titles">
<item>@string/today</item>
@ -174,29 +171,9 @@
<item>https://cdn.techjuice.pk/wp-content/uploads/2016/07/1.png</item>
</string-array>
<string-array name="pref_equalizer_types_titles">
<item>@string/system_equalizer</item>
<item>@string/retro_equalizer</item>
</string-array>
<string-array name="pref_equalizer_types_values">
<item>system</item>
<item>retro</item>
</string-array>
<array name="pref_album_details_style_titles">
<item>@string/normal</item>
<item>@string/small</item>
</array>
<array name="pref_album_details_style_layout">
<item>@layout/activity_album</item>
</array>
<string-array name="pref_album_details_style_values">
<item>0</item>
<item>1</item>
</string-array>
</resources>

View file

@ -9,8 +9,6 @@
<color name="dark_grey">#121212</color>
<color name="card_dark_color">#2C2D30</color>
<color name="black_color">#121212</color>
<color name="card_black_color">#1E1E1E</color>
<color name="pitch_black">#000000</color>
<color name="lightColorPrimary">#FFFFFF</color>
<color name="lightColorOnPrimary">#202020</color>

View file

@ -2,7 +2,6 @@
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="status_bar_padding">0dp</dimen>
<dimen name="toolbar_elevation">4dp</dimen>
<dimen name="default_item_margin">16dp</dimen>
<dimen name="card_elevation">2dp</dimen>
@ -11,30 +10,12 @@
<dimen name="tab_height">48dp</dimen>
<dimen name="pause_bar_width">5dp</dimen>
<dimen name="pause_bar_distance">4dp</dimen>
<dimen name="pause_bar_height">16dp</dimen>
<dimen name="empty_text_size">20sp</dimen>
<dimen name="notification_big_image_size">112dp</dimen>
<!-- MUST BE THE RESULT OF WIDTH PLUS INSET-->
<!-- ONLY 0dp WHILE THERE IS THE BUG IN DESIGN SUPPORT LIBRARY 22.2.0-->
<!-- For use with 24dp drawables in the item_list layouts-->
<dimen name="list_item_image_icon_padding">8dp</dimen>
<dimen name="mini_player_height">48dp</dimen>
<!--
Refer to App Widget Documentation for margin information
http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout
-->
<!--App Widgets-->
<dimen name="app_widget_classic_height">96dp</dimen>
<dimen name="app_widget_classic_image_size">96dp</dimen>
<dimen name="app_widget_classic_min_width">250dp</dimen>
@ -50,24 +31,18 @@ http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout
<dimen name="app_widget_card_image_size">56dp</dimen>
<dimen name="app_widget_card_min_width">250dp</dimen>
<dimen name="app_widget_card_min_height">64dp</dimen>
<dimen name="app_widget_card_buttons_width">128dp</dimen>
<dimen name="app_widget_card_radius">2dp</dimen>
<dimen name="now_playing_top_margin">12dp</dimen>
<dimen name="icon_notification_dimen">32dp</dimen>
<dimen name="horizontal_margin">0dp</dimen>
<dimen name="bottom_sheet_width">0dp</dimen>
<dimen name="mini_player_height_expanded">104dp</dimen>
<dimen name="progress_slider_height">30dp</dimen>
<dimen name="triple_and_half_margin">56dp</dimen>
<dimen name="four_dp">4dp</dimen>
<dimen name="toolbar_margin_horizontal">8dp</dimen>
<dimen name="toolbar_height">48dp</dimen>
<dimen name="toolbar_margin_vertical">0dp</dimen>
<dimen name="item_song_height">52dp</dimen>
<dimen name="button_padding_vertical">10dp</dimen>
<dimen name="button_margin_horizontal">4dp</dimen>
<dimen name="horizontal_padding_home">8dp</dimen>
<dimen name="home_icon_padding">14dp</dimen>
</resources>

View file

@ -11,9 +11,7 @@
</string-array>
<string name="app_name" translatable="false">Retro Music</string>
<string name="google_plus" translatable="false">Google Plus</string>
<string name="git_hub" translatable="false">GitHub</string>
<string name="social_buttons" translatable="false">Social Buttons</string>
<string name="app_shortcut_last_added_long" translatable="false">@string/last_added</string>

View file

@ -12,5 +12,4 @@
<integer name="max_columns_land">6</integer>
<integer name="anim_duration_medium">200</integer>
<integer name="options_height">240</integer>
</resources>

View file

@ -1,17 +0,0 @@
<?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.
-->
<resources>
<bool name="is_dark_mode">false</bool>
</resources>

View file

@ -35,7 +35,6 @@
<string name="action_rename">Rename</string>
<string name="action_save_playing_queue">Save playing queue</string>
<string name="action_scan">Scan</string>
<string name="action_scan_directory">Scan directory</string>
<string name="action_search">Search</string>
<string name="action_set">Start</string>
<string name="action_set_as_ringtone">Set as ringtone</string>
@ -66,7 +65,6 @@
<string name="album_or_artist_empty">The title or artist is empty.</string>
<string name="albums">Albums</string>
<string name="albums_label">Albums</string>
<string name="always">Always</string>
@ -84,7 +82,6 @@
<string name="artist">Artist</string>
<string name="artists">Artists</string>
<string name="artists_label">Artists</string>
<string name="audio_focus_denied">Audio focus denied.</string>
<string name="audio_settings_summary">Change the sound settings and adjust the equalizer controls</string>
@ -177,8 +174,6 @@
<string name="dark_theme_name">Kinda Dark</string>
<string name="day_night_theme_name">Day Night(alpha)</string>
<string name="default_hint">No Lyrics</string>
<string name="delete_playlist_title">Delete playlist</string>
@ -248,7 +243,6 @@
<string name="genre">Genre</string>
<string name="genres">Genres</string>
<string name="genres_label">Genres</string>
<string name="git_hub_summary">Fork the project on GitHub</string>
@ -267,7 +261,6 @@
<string name="hinge">Hinge</string>
<string name="history">History</string>
<string name="history_label">History</string>
<string name="home">Home</string>
@ -363,8 +356,6 @@
<string name="now_playing_summary">Customize the now playing screen</string>
<string name="now_playing_themes">9+ now playing themes</string>
<string name="on">On</string>
<string name="only_on_wifi">Only on Wi-Fi</string>
<string name="other_settings_summary">Advanced testing features</string>
@ -402,7 +393,6 @@
<string name="playlist_name_empty">Playlist name</string>
<string name="playlists">Playlists</string>
<string name="playlists_label">Playlists</string>
<string name="pref_album_detail_style">Album detail style</string>
<string name="pref_blur_amount_summary">Amount of blur applied for blur themes, lower is faster</string>
@ -423,7 +413,7 @@
<string name="pref_keep_screen_on_title">Keep the screen on</string>
<string name="pref_now_playing_screen_summary">Click to open with or slide to without transparent navigation of now playing screen</string>
<string name="pref_now_playing_screen_title">Click or Slide</string>
<string name="pref_only_lollipop">"Only available on Lollipop."</string>
<string name="pref_snow_fall_title">Snow fall effect</string>
<string name="pref_summary_album_art_on_lockscreen">Use the currently playing song album cover as the lockscreen wallpaper</string>
<string name="pref_summary_audio_ducking">Lower the volume when a system sound is played or a notification is received</string>
@ -489,8 +479,6 @@
<string name="pref_title_toggle_volume">Volume controls</string>
<string name="pref_title_user_info">User info</string>
<string name="premium">Get Premium</string>
<string name="primary_color">Primary color</string>
<string name="primary_color_desc">The primary theme color, defaults to blue grey, for now works with dark colors</string>
@ -502,7 +490,6 @@
<string name="purchase_summary">*Think before buying, don\'t ask for refund.</string>
<string name="queue">Queue</string>
<string name="queue_label">Queue</string>
<string name="rate_app">Rate the app</string>
<string name="rate_on_google_play_summary">Love this app? Let us know in the Google Play Store how we can make it even better</string>
@ -551,8 +538,6 @@
<string name="saf_guide_slide2_title">Select your SD card in navigation drawer</string>
<string name="saf_guide_slide3_description">Do not open any sub-folders</string>
<string name="saf_guide_slide3_title">Tap \'select\' button at the bottom of the screen</string>
<string name="saf_pick_file">File access required. Pick %s</string>
<string name="saf_pick_sdcard">SD card access required. Please pick root directory of SD card</string>
<string name="saf_write_failed">File write failed: %s</string>
<string name="save">Save</string>
@ -573,7 +558,6 @@
<string name="select_all">Select all</string>
<string name="select_banner_photo">Select banner photo</string>
<string name="select_preset">Select preset</string>
<string name="selected">Selected</string>
@ -658,7 +642,6 @@
<string name="top_albums">Top albums</string>
<string name="top_artists">Top artists</string>
<string name="top_tracks_label">Top Tracks</string>
<string name="track_hint">"Track (2 for track 2 or 3004 for CD3 track 4)"</string>
<string name="track_list">Track number</string>
@ -679,8 +662,6 @@
<string name="updating">Updating…</string>
<string name="upgrade_to_premium">Upgrade to premium</string>
<string name="username">Username</string>
<string name="version">Version</string>
@ -709,4 +690,6 @@
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
<string name="your_account_data_is_only_used_for_authentication">Your account data is only used for authentication.</string>
<string name="label_more_from">More from %s</string>
</resources>

View file

@ -48,14 +48,6 @@
<item name="android:letterSpacing">0.0125</item>
</style>
<style name="ToolbarSubTitleTextAppearance">
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="BigTitleTextAppearance">
<item name="android:textStyle">bold</item>
</style>
<style name="BigTitleTextAppearanceToolbar">
<item name="android:textAppearance">@style/TextAppearance.MaterialComponents.Headline6
</item>
@ -86,24 +78,6 @@
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="MaterialShuffleButtonStyle" parent="Widget.MaterialComponents.Button.Icon">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_margin">16dp</item>
<item name="android:text">@string/action_shuffle_all</item>
<item name="android:textAllCaps">false</item>
<item name="cornerRadius">25dp</item>
<item name="android:padding">16dp</item>
<item name="icon">@drawable/ic_shuffle_white_24dp</item>
<item name="backgroundTint">@color/md_red_400</item>
<item name="iconGravity">start</item>
</style>
<style name="NavigationViewTitleTextAppearance">
<item name="android:textStyle">bold</item>
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Subhead</item>
</style>
<style name="Fab" parent="FabParent" />
<style name="TabTextAppearance" parent="TextAppearance.Design.Tab">
@ -124,44 +98,10 @@
<item name="android:layout_height">wrap_content</item>
</style>
<style name="OptionButtonsStyle" parent="@style/Widget.MaterialComponents.Button.TextButton.Icon">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAllCaps">false</item>
<item name="iconPadding">16dp</item>
<item name="iconTint">?iconColor</item>
<item name="rippleColor">?iconColor</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:paddingTop">8dp</item>
<item name="iconSize">12dp</item>
</style>
<style name="OptionButtonsTextStyle" parent="@style/Widget.MaterialComponents.Button.TextButton">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAllCaps">false</item>
<item name="android:textSize">12sp</item>
</style>
<style name="ErrorHandlingTheme" parent="Theme.MaterialComponents.Light.NoActionBar">
</style>
<style name="AppTextAppearance.Button" parent="TextAppearance.MaterialComponents.Button">
<item name="android:textAllCaps">false</item>
</style>
<style name="AppTextField" parent="Widget.MaterialComponents.TextInputLayout.FilledBox">
<item name="boxBackgroundColor">@color/text_field_background</item>
</style>
<style name="CarTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimaryDark">@color/md_deep_purple_700</item>
<item name="colorAccent">@color/md_deep_purple_A400</item>
<item name="colorPrimary">@color/md_deep_purple_500</item>
</style>
<style name="TextViewNormal">
<item name="android:fontFamily">@font/circular</item>
<item name="android:textSize">14sp</item>
@ -183,10 +123,6 @@
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="TextViewHeadline2" parent="TextAppearance.MaterialComponents.Headline2">
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="TextViewHeadline3" parent="TextAppearance.MaterialComponents.Headline3">
<item name="android:fontFamily">@font/circular</item>
</style>
@ -213,11 +149,6 @@
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="ChipFont" parent="TextAppearance.MaterialComponents.Chip">
<item name="android:fontFamily">@font/circular</item>
</style>
<style name="TopCornerCardView">
<item name="cornerFamilyTopLeft">rounded</item>
<item name="cornerFamilyTopRight">rounded</item>

View file

@ -172,39 +172,6 @@
<item name="android:contentDescription">@string/abc_action_menu_overflow_description</item>
</style>
<!-- set the rounded drawable as background to your bottom sheet -->
<style name="BottomSheet" parent="@style/Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/bg_bottom_sheet_dialog_fragment</item>
</style>
<style name="BaseBottomSheetDialog" parent="@style/Theme.Design.Light.BottomSheetDialog">
<item name="android:windowIsFloating">false</item>
<item name="bottomSheetStyle">@style/BottomSheet</item>
</style>
<style name="BaseBottomSheetDialogDark" parent="@style/Theme.Design.BottomSheetDialog">
<item name="android:windowIsFloating">false</item>
<item name="bottomSheetStyle">@style/BottomSheet</item>
</style>
<style name="BottomSheetDialogTheme" parent="BaseBottomSheetDialog">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">?cardBackgroundColor</item>
</style>
<style name="BottomSheetDialogThemeDark" parent="BaseBottomSheetDialogDark">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">?cardBackgroundColor</item>
</style>
<style name="BottomSheetDialog" parent="Theme.Design.BottomSheetDialog">
<item name="bottomSheetStyle">@style/BottomSheetStyle</item>
</style>
<style name="BottomSheetStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@android:color/transparent</item>
</style>
<style name="FabParent">
<item name="borderWidth">0dp</item>
<item name="android:layout_width">wrap_content</item>

View file

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<string name="transition_album_art" translatable="false">album_art_transition</string>
<string name="transition_user_image" translatable="false">user_image_transition</string>
<string name="transition_album_name" translatable="false">album_art_transition</string>
<string name="transition_album_text" translatable="false">album_art_transition</string>
<string name="transition_album_name" translatable="false" tools:keep="@string/transition_album_name">album_art_transition</string>
<string name="transition_album_text" translatable="false" tools:keep="@string/transition_album_text">album_art_transition</string>
<string name="transition_artist_image" translatable="false">artist_image_transition</string>
<string name="transition_artist_name" translatable="false">artist_image_transition</string>
<string name="transition_artist_text" translatable="false">artist_image_transition</string>
<string name="transition_artist_name" translatable="false" tools:keep="@string/transition_artist_name">artist_image_transition</string>
<string name="transition_artist_text" translatable="false" tools:keep="@string/transition_artist_text">artist_image_transition</string>
<string name="transition_mini_player" translatable="false">mini_player_transition</string>
<string name="transition_toolbar" translatable="false">toolbar_transition</string>
<string name="transition_lyrics" translatable="false">toolbar_transition</string>