AndroidX lib refactor

This commit is contained in:
h4h13 2018-08-30 14:59:30 +05:30
parent b3eb12aebd
commit 08f0b5e76e
581 changed files with 5470 additions and 6070 deletions

View file

@ -1,7 +1,5 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">68dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="status_bar_padding">0dp</dimen>
<dimen name="toolbar_elevation">4dp</dimen>
<dimen name="default_item_margin">16dp</dimen>
@ -57,7 +55,7 @@
<dimen name="list_item_image_icon_padding">8dp</dimen>
<dimen name="mini_player_height">48dp</dimen>
<dimen name="mini_player_height_expanded">104dp</dimen>
<dimen name="mini_player_height_expanded">68dp</dimen>
<!--
@ -92,5 +90,6 @@ http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout
<dimen name="column_width">80dp</dimen>
<dimen name="icon_notification_dimen">32dp</dimen>
<dimen name="overlap_toolbar_height">-12dp</dimen>
<dimen name="horizontal_margin">0dp</dimen>
</resources>

View file

@ -419,6 +419,7 @@
<string name="pref_summary_toggle_shuffle">Shuffle mode will turn off when playing a new list of songs</string>
<string name="pref_summary_toggle_status_bar">Hide only status bar</string>
<string name="pref_summary_toggle_volume">If enough space is available, show volume controls in the now playing screen</string>
<string name="pref_summary_extra_controls">Add extra controls for mini player</string>
<string name="pref_title_album_art_on_lockscreen">Show album cover</string>
<string name="pref_title_album_grid_style">Album grid</string>
<string name="pref_title_app_shortcuts">Colored app shortcuts</string>
@ -461,6 +462,7 @@
<string name="pref_title_toggle_toggle_shuffle">Shuffle mode</string>
<string name="pref_title_toggle_volume">Volume controls</string>
<string name="pref_title_user_info">User info</string>
<string name="pref_title_extra_controls">Extra controls</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>
@ -688,4 +690,8 @@
<string name="now_playing_themes">9+ now playing themes</string>
<string name="carousal_effect_on_now_playing_screen">Carousel effect on the now playing screen</string>
<string name="window_corner_edges">Rounded corners</string>
<string name="pref_title_album_cover_style">Album cover theme</string>
<string name="circular">Circular</string>
<string name="carousal">Carousal</string>
<string name="now_playing_summary">Customzie now playing screen</string>
</resources>

View file

@ -147,9 +147,5 @@
<item name="titleEnabled">false</item>
</style>
<style name="HideTabTitleTextAppearance">
<item name="android:visibility">gone</item>
<item name="android:textSize">0sp</item>
</style>
</resources>

View file

@ -19,7 +19,7 @@
<item name="bottomSheetDialogTheme">@style/Theme.Design.BottomSheetDialog</item>
</style>
<style name="Theme.RetroMusic.Base.Light" parent="Theme.AppCompat.Light.NoActionBar">
<style name="Theme.RetroMusic.Base.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="android:windowActionBarOverlay">true</item>
<item name="windowActionBarOverlay">true</item>
@ -47,10 +47,13 @@
<item name="android:actionOverflowButtonStyle">@style/Widget.ActionButton.Overflow</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="bottomSheetDialogTheme">@style/Theme.Design.Light.BottomSheetDialog</item>
<item name="mediaRouteTheme">@style/BlackMediaRouterTheme</item>
</style>
<style name="Theme.RetroMusic.Base" parent="Theme.AppCompat.NoActionBar">
<style name="Theme.RetroMusic.Base" parent="Theme.MaterialComponents.NoActionBar">
<item name="android:windowActionBarOverlay">true</item>
<item name="windowActionBarOverlay">true</item>
@ -81,6 +84,8 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
<item name="mediaRouteTheme">@style/WhiteMediaRouterTheme</item>
</style>
<style name="Theme.RetroMusic.Base.Color" parent="@style/Theme.RetroMusic.Base">
@ -158,4 +163,21 @@
<item name="android:navigationBarColor">?cardBackgroundColor</item>
</style>
<!--Cast Button-->
<style name="BlackMediaRouterTheme" parent="Theme.MediaRouter">
<item name="mediaRouteButtonStyle">@style/BlackMediaRouteButtonStyle</item>
</style>
<style name="BlackMediaRouteButtonStyle" parent="Widget.MediaRouter.Light.MediaRouteButton">
<item name="mediaRouteButtonTint">@color/md_grey_700</item>
</style>
<style name="WhiteMediaRouterTheme" parent="Theme.MediaRouter">
<item name="mediaRouteButtonStyle">@style/WhiteMediaRouteButtonStyle</item>
</style>
<style name="WhiteMediaRouteButtonStyle" parent="Widget.MediaRouter.Light.MediaRouteButton">
<item name="mediaRouteButtonTint">@color/md_white_1000</item>
</style>
</resources>