Merge branch 'master' into dynamic_size_status_bars
This commit is contained in:
commit
a0c57357e3
32 changed files with 647 additions and 34 deletions
18
app/src/main/res/drawable/ic_app_shortcut_background.xml
Normal file
18
app/src/main/res/drawable/ic_app_shortcut_background.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="176dp"
|
||||
android:height="176dp"
|
||||
android:viewportHeight="176"
|
||||
android:viewportWidth="176">
|
||||
|
||||
<group
|
||||
android:pivotX="88"
|
||||
android:pivotY="88"
|
||||
android:scaleX="0.916"
|
||||
android:scaleY="0.916">
|
||||
<path
|
||||
android:name="ic_app_shortcut_background"
|
||||
android:fillColor="#000"
|
||||
android:pathData="M 88 0 C 136.601057985 0 176 39.3989420149 176 88 C 176 136.601057985 136.601057985 176 88 176 C 39.3989420149 176 0 136.601057985 0 88 C 0 39.3989420149 39.3989420149 0 88 0 Z" />
|
||||
</group>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_app_shortcut_last_added.xml
Normal file
20
app/src/main/res/drawable/ic_app_shortcut_last_added.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="176dp"
|
||||
android:height="176dp"
|
||||
android:viewportHeight="176"
|
||||
android:viewportWidth="176">
|
||||
|
||||
<group
|
||||
android:pivotX="88"
|
||||
android:pivotY="88"
|
||||
android:scaleX="0.916"
|
||||
android:scaleY="0.916"
|
||||
android:translateX="-8"
|
||||
android:translateY="-8">
|
||||
<path
|
||||
android:name="ic_app_shortcut_last_added_ic"
|
||||
android:fillColor="#000"
|
||||
android:pathData="M124.35,92h-16.2v16.2h-8.1V92H83.85v-8.1h16.2V67.65h8.1v16.2h16.2M128.4,55.5H79.8a8.1,8.1,0,0,0-8.1,8.1v48.6a8.1,8.1,0,0,0,8.1,8.1h48.6a8.1,8.1,0,0,0,8.1-8.1V63.6a8.1,8.1,0,0,0-8.1-8.1M63.6,71.7H55.5v56.7a8.1,8.1,0,0,0,8.1,8.1h56.7v-8.1H63.6Z" />
|
||||
</group>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_app_shortcut_shuffle_all.xml
Normal file
20
app/src/main/res/drawable/ic_app_shortcut_shuffle_all.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="176dp"
|
||||
android:height="176dp"
|
||||
android:viewportHeight="176"
|
||||
android:viewportWidth="176">
|
||||
|
||||
<group
|
||||
android:pivotX="88"
|
||||
android:pivotY="88"
|
||||
android:scaleX="0.916"
|
||||
android:scaleY="0.916"
|
||||
android:translateX="-8"
|
||||
android:translateY="-8">
|
||||
<path
|
||||
android:name="ic_app_shortcut_shuffle_ic"
|
||||
android:fillColor="#000"
|
||||
android:pathData="M110.15,103l-7,7,15.65,15.65L108.5,136H136V108.5l-10.2,10.2L110.15,103M108.5,56l10.2,10.2L56,128.95l7,7L125.8,73.3,136,83.5V56M89,81.85,63.05,56l-7,7L81.85,88.9Z" />
|
||||
</group>
|
||||
</vector>
|
||||
20
app/src/main/res/drawable/ic_app_shortcut_top_tracks.xml
Normal file
20
app/src/main/res/drawable/ic_app_shortcut_top_tracks.xml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="176dp"
|
||||
android:height="176dp"
|
||||
android:viewportHeight="176"
|
||||
android:viewportWidth="176">
|
||||
|
||||
<group
|
||||
android:pivotX="88"
|
||||
android:pivotY="88"
|
||||
android:scaleX="0.916"
|
||||
android:scaleY="0.916"
|
||||
android:translateX="-8"
|
||||
android:translateY="-8">
|
||||
<path
|
||||
android:name="ic_app_shortcut_top_tracks_ic"
|
||||
android:fillColor="#000"
|
||||
android:pathData="M113.7,69.45l10.13,10.13-21.59,21.59-17.7-17.7L51.75,116.31,58,122.55,84.54,96l17.7,17.7,27.88-27.83L140.25,96V69.45Z" />
|
||||
</group>
|
||||
</vector>
|
||||
|
|
@ -20,6 +20,9 @@
|
|||
<string name="action_search">搜索</string>
|
||||
<string name="action_play_next">作为下一首播放</string>
|
||||
<string name="action_play">播放</string>
|
||||
<string name="action_play_pause">播放/暂停</string>
|
||||
<string name="action_previous">上一首</string>
|
||||
<string name="action_next">下一首</string>
|
||||
<string name="action_add_to_playing_queue">加入播放队列</string>
|
||||
<string name="action_remove_from_playing_queue">从播放队列中移除</string>
|
||||
<string name="action_add_to_playlist">加入播放列表</string>
|
||||
|
|
@ -45,6 +48,7 @@
|
|||
<string name="year">年份</string>
|
||||
<string name="track">音轨</string>
|
||||
<string name="track_hint">"音轨(如用 2 表示第 2 首歌或用 3004 表示 CD3 里的第 4 首歌)"</string>
|
||||
<string name="lyrics">歌词</string>
|
||||
<string name="album_or_artist_empty">标题或艺术家名称为空</string>
|
||||
<string name="saving_changes">正在保存更改…</string>
|
||||
<string name="saving_to_file">保存至文件...</string>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="twenty_percent_black_overlay">#34000000</color>
|
||||
|
||||
<color name="app_shortcut_default_foreground">#607d8b</color>
|
||||
<color name="app_shortcut_default_background">#f5f5f5</color>
|
||||
</resources>
|
||||
|
|
@ -39,4 +39,6 @@
|
|||
white-space: pre-wrap;
|
||||
}
|
||||
</string>
|
||||
|
||||
<string name="id_shortcuttype">com.kabouzeid.gramophone.appshortcuts.ShortcutType</string>
|
||||
</resources>
|
||||
|
|
@ -119,6 +119,7 @@
|
|||
<string name="pref_header_images">Images</string>
|
||||
<string name="pref_header_lockscreen">Lockscreen</string>
|
||||
<string name="pref_title_navigation_bar">Colored navigation bar</string>
|
||||
<string name="pref_title_app_shortcuts">Colored app shortcuts</string>
|
||||
<string name="pref_title_set_default_start_page">Start page</string>
|
||||
<string name="pref_title_album_art_on_lockscreen">Show album cover</string>
|
||||
<string name="pref_title_auto_download_artist_images">Auto download artist images</string>
|
||||
|
|
@ -158,6 +159,7 @@
|
|||
<string name="playlist_name_empty">Playlist name</string>
|
||||
<string name="song">Song</string>
|
||||
<string name="pref_only_lollipop">"Only available on Lollipop."</string>
|
||||
<string name="pref_only_nougat_mr1">"Only available on Nougat 7.1."</string>
|
||||
<string name="pref_summary_album_art_on_lockscreen">Uses the current songs album cover as lockscreen wallpaper.</string>
|
||||
<string name="pref_summary_blurred_album_art">Blurs the album cover on the lockscreen. Can cause problems with third party apps and widgets.</string>
|
||||
<string name="pref_summary_colored_notification">"Colors the notification in the album cover\u2019s vibrant color."</string>
|
||||
|
|
@ -171,6 +173,7 @@
|
|||
<string name="pref_summary_ignore_media_store_artwork">Can increase the album cover quality but causes slower image loading times. Only enable this if you have problems with low resolution artworks.</string>
|
||||
<string name="pref_summary_colored_playback_controls_now_playing">Colors play/pause, shuffle and repeat as well as the progress slider in the album cover\u2019s vibrant color.</string>
|
||||
<string name="pref_summary_colored_navigation_bar">Colors the navigation bar in the primary color.</string>
|
||||
<string name="pref_summary_colored_app_shortcuts">Colors the app shortcuts in the primary color.</string>
|
||||
<string name="pref_summary_audio_ducking">Notifications, navigation etc.</string>
|
||||
<string name="could_not_download_album_cover">"Couldn\u2019t download a matching album cover."</string>
|
||||
<string name="search_hint">Search your library…</string>
|
||||
|
|
@ -275,4 +278,14 @@
|
|||
<string name="copied_device_info_to_clipboard">Copied device info to clipboard.</string>
|
||||
<string name="your_account_data_is_only_used_for_authentication">Your account data is only used for authentication.</string>
|
||||
<string name="you_will_be_forwarded_to_the_issue_tracker_website">You will be forwarded to the issue tracker website.</string>
|
||||
|
||||
<!-- App Shortcuts -->
|
||||
<string name="app_shortcut_shuffle_all_long">@string/action_shuffle_all</string>
|
||||
<string name="app_shortcut_shuffle_all_short">Shuffle</string>
|
||||
|
||||
<string name="app_shortcut_top_tracks_long">@string/my_top_tracks</string>
|
||||
<string name="app_shortcut_top_tracks_short">Top Tracks</string>
|
||||
|
||||
<string name="app_shortcut_last_added_long">@string/last_added</string>
|
||||
<string name="app_shortcut_last_added_short">@string/last_added</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -48,4 +48,13 @@
|
|||
<item name="android:transitionName" tools:ignore="NewApi">toolbar</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Transparent" parent="android:Theme">
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,12 @@
|
|||
android:summary="@string/pref_summary_colored_navigation_bar"
|
||||
android:title="@string/pref_title_navigation_bar" />
|
||||
|
||||
<com.kabouzeid.appthemehelper.common.prefs.supportv7.ATESwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="should_color_app_shortcuts"
|
||||
android:summary="@string/pref_summary_colored_app_shortcuts"
|
||||
android:title="@string/pref_title_app_shortcuts" />
|
||||
|
||||
</com.kabouzeid.appthemehelper.common.prefs.supportv7.ATEPreferenceCategory>
|
||||
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue