Merge branch 'tsumugi/master' into tsumugi/release
commit
95e31272ff
|
|
@ -12,7 +12,7 @@ class CustomizeFragment : PreferenceFragmentCompat() {
|
||||||
|
|
||||||
|
|
||||||
val snackbarPersistent = preferenceScreen.findPreference<SwitchPreferenceCompat>("snackbarPersistent")
|
val snackbarPersistent = preferenceScreen.findPreference<SwitchPreferenceCompat>("snackbarPersistent")
|
||||||
snackbarPersistent!!.summary = if (preferenceStore.getBoolean("snackbarPersistent", true))
|
snackbarPersistent!!.summary = if (preferenceStore.getBoolean("snackbarPersistent", false))
|
||||||
getString(R.string.snackbarPersistent)
|
getString(R.string.snackbarPersistent)
|
||||||
else
|
else
|
||||||
getString(R.string.snackbarNonPersistent)
|
getString(R.string.snackbarNonPersistent)
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ class NowPlayingFragment : Fragment() {
|
||||||
val clipboard = context!!.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
val clipboard = context!!.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||||
val clip = android.content.ClipData.newPlainText("Copied Text", text)
|
val clip = android.content.ClipData.newPlainText("Copied Text", text)
|
||||||
clipboard.setPrimaryClip(clip)
|
clipboard.setPrimaryClip(clip)
|
||||||
val snackBarLength = if (preferenceStore.getBoolean("snackbarPersistent", true))
|
val snackBarLength = if (preferenceStore.getBoolean("snackbarPersistent", false))
|
||||||
Snackbar.LENGTH_INDEFINITE
|
Snackbar.LENGTH_INDEFINITE
|
||||||
else Snackbar.LENGTH_LONG
|
else Snackbar.LENGTH_LONG
|
||||||
val snackBar = Snackbar.make(it, "", snackBarLength)
|
val snackBar = Snackbar.make(it, "", snackBarLength)
|
||||||
|
|
|
||||||
|
|
@ -189,7 +189,7 @@
|
||||||
android:id="@+id/text_song_artist_next"
|
android:id="@+id/text_song_artist_next"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom|center_horizontal"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="@color/whited3"
|
android:textColor="@color/whited3"
|
||||||
|
|
@ -202,7 +202,7 @@
|
||||||
android:id="@+id/text_song_title_next"
|
android:id="@+id/text_song_title_next"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom|center_horizontal"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="@color/whited"
|
android:textColor="@color/whited"
|
||||||
|
|
@ -294,7 +294,7 @@
|
||||||
android:id="@+id/text_song_title"
|
android:id="@+id/text_song_title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom|center_horizontal"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="@color/whited"
|
android:textColor="@color/whited"
|
||||||
|
|
@ -306,7 +306,7 @@
|
||||||
android:id="@+id/text_song_artist"
|
android:id="@+id/text_song_artist"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom|center_horizontal"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="@color/whited3"
|
android:textColor="@color/whited3"
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<color name="whited3">#999999</color>
|
<color name="whited3">#999999</color>
|
||||||
<color name="whited4">#999999</color>
|
<color name="whited4">#999999</color>
|
||||||
<color name="whited5">#7F7F7F</color>
|
<color name="whited5">#7F7F7F</color>
|
||||||
<color name="rblue">#64B5F6</color>
|
<color name="rblue">#3A7AAF</color>
|
||||||
<color name="bluereq">#527a8e</color>
|
<color name="bluereq">#527a8e</color>
|
||||||
<color name="blueTitle">#527a8e</color>
|
<color name="blueTitle">#527a8e</color>
|
||||||
<color name="reqButtonPressed">#5cb85c</color>
|
<color name="reqButtonPressed">#5cb85c</color>
|
||||||
|
|
@ -20,10 +20,10 @@
|
||||||
|
|
||||||
<color name="seek_bar_background">#585858</color>
|
<color name="seek_bar_background">#585858</color>
|
||||||
<color name="seek_bar_progress">#f58b01</color>
|
<color name="seek_bar_progress">#f58b01</color>
|
||||||
<color name="seek_bar_secondary_progress">#64B5F6</color>
|
<color name="seek_bar_secondary_progress">#3A7AAF</color>
|
||||||
|
|
||||||
<color name="progress_bar_background">#585858</color>
|
<color name="progress_bar_background">#585858</color>
|
||||||
<color name="progress_bar_progress">#64B5F6</color>
|
<color name="progress_bar_progress">#3A7AAF</color>
|
||||||
<color name="progress_bar_secondary_progress">#f58b01</color>
|
<color name="progress_bar_secondary_progress">#f58b01</color>
|
||||||
|
|
||||||
<color name="white">#FFFFFF</color>
|
<color name="white">#FFFFFF</color>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue