diff --git a/app/build.gradle b/app/build.gradle
index 99b289d1..720f943a 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -32,8 +32,8 @@ android {
vectorDrawables.useSupportLibrary = true
applicationId "code.name.monkey.retromusic"
- versionCode 319
- versionName '3.1.400'
+ versionCode 320
+ versionName '3.1.600'
multiDexEnabled true
diff --git a/app/src/main/java/code/name/monkey/retromusic/fragments/player/lockscreen/LockScreenPlayerControlsFragment.kt b/app/src/main/java/code/name/monkey/retromusic/fragments/player/lockscreen/LockScreenPlayerControlsFragment.kt
index 9c03ab6f..6c8e39dc 100644
--- a/app/src/main/java/code/name/monkey/retromusic/fragments/player/lockscreen/LockScreenPlayerControlsFragment.kt
+++ b/app/src/main/java/code/name/monkey/retromusic/fragments/player/lockscreen/LockScreenPlayerControlsFragment.kt
@@ -1,3 +1,17 @@
+/*
+ * 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.
+ */
+
package code.name.monkey.retromusic.fragments.player.lockscreen
import android.animation.ObjectAnimator
@@ -26,7 +40,6 @@ import code.name.monkey.retromusic.util.PreferenceUtil
import code.name.monkey.retromusic.util.ViewUtil
import kotlinx.android.synthetic.main.fragment_lock_screen_playback_controls.*
import kotlinx.android.synthetic.main.media_button.*
-import kotlinx.android.synthetic.main.player_time.*
/**
* @author Hemanth S (h4h13).
@@ -123,13 +136,6 @@ class LockScreenPlayerControlsFragment : AbsPlayerControlsFragment() {
TintHelper.setTintAuto(playPauseButton, color, true)
}
- fun setProgressBarColor(progressBar: SeekBar?, newColor: Int) {
- TintHelper.setTintAuto(progressBar!!, newColor, false)
- //LayerDrawable ld = (LayerDrawable) progressBar.getProgressDrawable();
- //ClipDrawable clipDrawable = (ClipDrawable) ld.findDrawableByLayerId(android.R.id.progress);
- //clipDrawable.setColorFilter(newColor, PorterDuff.Mode.SRC_IN);
- }
-
private fun setUpPlayPauseFab() {
playPauseButton.setOnClickListener(PlayPauseButtonOnClickHandler())
}
diff --git a/app/src/main/res/layout/fragment_lock_screen_playback_controls.xml b/app/src/main/res/layout/fragment_lock_screen_playback_controls.xml
index b6299767..afdd0dfc 100644
--- a/app/src/main/res/layout/fragment_lock_screen_playback_controls.xml
+++ b/app/src/main/res/layout/fragment_lock_screen_playback_controls.xml
@@ -11,11 +11,11 @@
-
-
-
+ android:layout_height="@dimen/progress_slider_height"
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_weight="1"
+ android:paddingStart="12dp"
+ android:paddingEnd="12dp">
-
+
+
+
+
+
+
+