Updated material dialogs and removed the extra padding from the song details dialog.
This commit is contained in:
parent
638ab4547c
commit
a642f04b5d
4 changed files with 14 additions and 22 deletions
|
|
@ -59,7 +59,7 @@ android {
|
|||
applicationId "com.kabouzeid.gramophone"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 23
|
||||
versionCode 71
|
||||
versionCode 72
|
||||
versionName "0.9.44 beta5"
|
||||
}
|
||||
buildTypes {
|
||||
|
|
@ -105,7 +105,7 @@ dependencies {
|
|||
|
||||
compile 'com.github.kabouzeid:Android-Universal-Image-Loader:8ffb5d4afa'
|
||||
|
||||
compile 'com.afollestad:material-dialogs:0.7.8.1'
|
||||
compile 'com.afollestad:material-dialogs:0.7.9.0'
|
||||
compile 'com.afollestad:material-cab:0.1.4'
|
||||
|
||||
compile 'com.jakewharton:butterknife:7.0.1'
|
||||
|
|
|
|||
|
|
@ -25,6 +25,14 @@
|
|||
|
||||
<p>You can view the changelog dialog again at any time from the <i>about</i> section.</p>
|
||||
|
||||
<h3>Version 0.9.44 beta5</h3>
|
||||
|
||||
<ol>
|
||||
<li><b>FIX:</b> Album image loading delay (white album covers which took ages to load).</li>
|
||||
<li><b>FIX:</b> Song detail dialog padding.</li>
|
||||
<li><b>FIX:</b> Sleep timer dialog retains its current time on rotate.</li>
|
||||
</ol>
|
||||
|
||||
<h3>Version 0.9.44 beta4</h3>
|
||||
|
||||
<ol>
|
||||
|
|
|
|||
|
|
@ -63,17 +63,16 @@ public class SleepTimerDialog extends LeakDetectDialogFragment {
|
|||
if (getActivity() == null) {
|
||||
return;
|
||||
}
|
||||
final int min = seekArcProgress;
|
||||
PreferenceUtil.getInstance(getActivity()).setLastSleepTimerValue(min);
|
||||
final int minutes = seekArcProgress;
|
||||
|
||||
PendingIntent pi = makeTimerPendingIntent(PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
|
||||
final long nextSleepTimerElapsedTime = SystemClock.elapsedRealtime() + min * 60 * 1000;
|
||||
final long nextSleepTimerElapsedTime = SystemClock.elapsedRealtime() + minutes * 60 * 1000;
|
||||
PreferenceUtil.getInstance(getActivity()).setNextSleepTimerElapsedRealtime(nextSleepTimerElapsedTime);
|
||||
AlarmManager am = (AlarmManager) getActivity().getSystemService(Context.ALARM_SERVICE);
|
||||
am.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, nextSleepTimerElapsedTime, pi);
|
||||
|
||||
Toast.makeText(getActivity(), getActivity().getResources().getString(R.string.sleep_timer_set, min), Toast.LENGTH_SHORT).show();
|
||||
Toast.makeText(getActivity(), getActivity().getResources().getString(R.string.sleep_timer_set, minutes), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -156,7 +155,7 @@ public class SleepTimerDialog extends LeakDetectDialogFragment {
|
|||
|
||||
@Override
|
||||
public void onStopTrackingTouch(SeekArc seekArc) {
|
||||
|
||||
PreferenceUtil.getInstance(getActivity()).setLastSleepTimerValue(seekArcProgress);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
||||
|
|
@ -22,8 +19,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
@ -33,8 +28,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
@ -44,8 +37,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
@ -55,8 +46,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
@ -66,8 +55,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
@ -77,8 +64,6 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="sans-serif"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="16dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:textSize="16sp" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue