Kaynağa Gözat

Merge branch 'tsumugi/master' into tsumugi/release

yattoz 5 yıl önce
ebeveyn
işleme
95e31272ff

+ 1 - 1
app/src/main/java/fr/forum_thalie/tsumugi/preferences/CustomizeFragment.kt Dosyayı Görüntüle

@@ -12,7 +12,7 @@ class CustomizeFragment : PreferenceFragmentCompat() {
12 12
 
13 13
 
14 14
         val snackbarPersistent = preferenceScreen.findPreference<SwitchPreferenceCompat>("snackbarPersistent")
15
-        snackbarPersistent!!.summary = if (preferenceStore.getBoolean("snackbarPersistent", true))
15
+        snackbarPersistent!!.summary = if (preferenceStore.getBoolean("snackbarPersistent", false))
16 16
             getString(R.string.snackbarPersistent)
17 17
         else
18 18
             getString(R.string.snackbarNonPersistent)

+ 1 - 1
app/src/main/java/fr/forum_thalie/tsumugi/ui/nowplaying/NowPlayingFragment.kt Dosyayı Görüntüle

@@ -192,7 +192,7 @@ class NowPlayingFragment : Fragment() {
192 192
             val clipboard = context!!.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
193 193
             val clip = android.content.ClipData.newPlainText("Copied Text", text)
194 194
             clipboard.setPrimaryClip(clip)
195
-            val snackBarLength = if (preferenceStore.getBoolean("snackbarPersistent", true))
195
+            val snackBarLength = if (preferenceStore.getBoolean("snackbarPersistent", false))
196 196
                 Snackbar.LENGTH_INDEFINITE
197 197
             else Snackbar.LENGTH_LONG
198 198
             val snackBar = Snackbar.make(it, "", snackBarLength)

+ 4 - 4
app/src/main/res/layout/fragment_nowplaying.xml Dosyayı Görüntüle

@@ -189,7 +189,7 @@
189 189
                     android:id="@+id/text_song_artist_next"
190 190
                     android:layout_width="match_parent"
191 191
                     android:layout_height="wrap_content"
192
-                    android:gravity="bottom"
192
+                    android:gravity="bottom|center_horizontal"
193 193
                     android:text=""
194 194
                     android:textAlignment="center"
195 195
                     android:textColor="@color/whited3"
@@ -202,7 +202,7 @@
202 202
                     android:id="@+id/text_song_title_next"
203 203
                     android:layout_width="match_parent"
204 204
                     android:layout_height="wrap_content"
205
-                    android:gravity="bottom"
205
+                    android:gravity="bottom|center_horizontal"
206 206
                     android:text=""
207 207
                     android:textAlignment="center"
208 208
                     android:textColor="@color/whited"
@@ -294,7 +294,7 @@
294 294
                     android:id="@+id/text_song_title"
295 295
                     android:layout_width="match_parent"
296 296
                     android:layout_height="wrap_content"
297
-                    android:gravity="bottom"
297
+                    android:gravity="bottom|center_horizontal"
298 298
                     android:text=""
299 299
                     android:textAlignment="center"
300 300
                     android:textColor="@color/whited"
@@ -306,7 +306,7 @@
306 306
                     android:id="@+id/text_song_artist"
307 307
                     android:layout_width="match_parent"
308 308
                     android:layout_height="wrap_content"
309
-                    android:gravity="bottom"
309
+                    android:gravity="bottom|center_horizontal"
310 310
                     android:text=""
311 311
                     android:textAlignment="center"
312 312
                     android:textColor="@color/whited3"

+ 3 - 3
app/src/main/res/values/colors.xml Dosyayı Görüntüle

@@ -11,7 +11,7 @@
11 11
     <color name="whited3">#999999</color>
12 12
     <color name="whited4">#999999</color>
13 13
     <color name="whited5">#7F7F7F</color>
14
-    <color name="rblue">#64B5F6</color>
14
+    <color name="rblue">#3A7AAF</color>
15 15
     <color name="bluereq">#527a8e</color>
16 16
     <color name="blueTitle">#527a8e</color>
17 17
     <color name="reqButtonPressed">#5cb85c</color>
@@ -20,10 +20,10 @@
20 20
 
21 21
     <color name="seek_bar_background">#585858</color>
22 22
     <color name="seek_bar_progress">#f58b01</color>
23
-    <color name="seek_bar_secondary_progress">#64B5F6</color>
23
+    <color name="seek_bar_secondary_progress">#3A7AAF</color>
24 24
 
25 25
     <color name="progress_bar_background">#585858</color>
26
-    <color name="progress_bar_progress">#64B5F6</color>
26
+    <color name="progress_bar_progress">#3A7AAF</color>
27 27
     <color name="progress_bar_secondary_progress">#f58b01</color>
28 28
 
29 29
     <color name="white">#FFFFFF</color>