SAF is fixed
This commit is contained in:
parent
8789eeb854
commit
570a235836
25 changed files with 907 additions and 142 deletions
BIN
app/src/main/res/drawable-v21/saf_guide_1.png
Normal file
BIN
app/src/main/res/drawable-v21/saf_guide_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
app/src/main/res/drawable-v21/saf_guide_2.png
Normal file
BIN
app/src/main/res/drawable-v21/saf_guide_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
BIN
app/src/main/res/drawable-v21/saf_guide_3.png
Normal file
BIN
app/src/main/res/drawable-v21/saf_guide_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/drawable-v26/saf_guide_1.png
Normal file
BIN
app/src/main/res/drawable-v26/saf_guide_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
BIN
app/src/main/res/drawable-v26/saf_guide_2.png
Normal file
BIN
app/src/main/res/drawable-v26/saf_guide_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
BIN
app/src/main/res/drawable-v26/saf_guide_3.png
Normal file
BIN
app/src/main/res/drawable-v26/saf_guide_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.6 KiB |
|
@ -0,0 +1,56 @@
|
|||
<?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.
|
||||
-->
|
||||
|
||||
<com.heinrichreimersoftware.materialintro.view.parallax.ParallaxLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:fitsSystemWindows="false"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/mi_baseline">
|
||||
|
||||
<ImageView
|
||||
android:id="@id/mi_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginBottom="@dimen/mi_baseline"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
app:layout_parallaxFactor="0.75"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@id/mi_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/mi_baseline"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Headline"
|
||||
tools:ignore="UnusedAttribute"
|
||||
tools:text="Lorem ipsum" />
|
||||
|
||||
<TextView
|
||||
android:id="@id/mi_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/mi_baseline"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||||
tools:text="Lorem ipsum dolor sit amet, consectetur, adipisci velit, …" />
|
||||
|
||||
</com.heinrichreimersoftware.materialintro.view.parallax.ParallaxLinearLayout>
|
28
app/src/main/res/layout/loading.xml
Normal file
28
app/src/main/res/layout/loading.xml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?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.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:padding="14dp">
|
||||
|
||||
<ProgressBar
|
||||
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:indeterminate="true" />
|
||||
|
||||
</LinearLayout>
|
|
@ -420,7 +420,8 @@
|
|||
<string name="hinge">合页</string>
|
||||
<string name="select_preset">选择一个预设</string>
|
||||
<string name="on">开启</string>
|
||||
<string name="shuffle">随机播放</string> `
|
||||
<string name="shuffle">随机播放</string>
|
||||
`
|
||||
<string name="add_time_framed_lryics">加入带有时间轴的歌词</string>
|
||||
<string name="dialog_title_set_ringtone">设置铃声</string>
|
||||
<string name="dialog_message_set_ringtone">请允许 Retro Music 更改音频设置</string>
|
||||
|
|
|
@ -632,4 +632,21 @@
|
|||
<string name="pref_summary_library_categories">Configure visibility and order of library categories.</string>
|
||||
<string name="pref_header_controls">Controls</string>
|
||||
<string name="pref_header_album">Album style</string>
|
||||
|
||||
|
||||
<!-- SAF -->
|
||||
<string name="saf_error_uri">Can\'t get SAF URI</string>
|
||||
<string name="saf_write_failed">File write failed: %s</string>
|
||||
<string name="saf_delete_failed">File delete failed: %s</string>
|
||||
<string name="saf_pick_sdcard">SD card access required. Please pick root directory of SD card</string>
|
||||
<string name="saf_pick_file">File access required. Pick %s</string>
|
||||
<!-- SAF guide -->
|
||||
<string name="saf_guide_slide1_title">%s needs SD card access</string>
|
||||
<string name="saf_guide_slide1_description_before_o">Enable \'Show SD card\' in overflow menu</string>
|
||||
<string name="saf_guide_slide1_description">Open navigation drawer</string>
|
||||
<string name="saf_guide_slide2_title">Select your SD card in navigation drawer</string>
|
||||
<string name="saf_guide_slide2_description">You need to select your SD card root directory</string>
|
||||
<string name="saf_guide_slide3_title">Tap \'select\' button at the bottom of the screen</string>
|
||||
<string name="saf_guide_slide3_description">Do not open any sub-folders</string>
|
||||
<string name="deleting_songs">Deleting songs</string>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue