lets replace an icon with a vector drawable for testing

This commit is contained in:
tibbi
2019-08-07 21:03:52 +02:00
parent 9c827b3ca7
commit 6309c9e324
19 changed files with 23 additions and 8 deletions

View File

@ -77,6 +77,9 @@ class ReminderActivity : SimpleActivity() {
reminder_stop.beGone()
reminder_draggable_background.startAnimation(AnimationUtils.loadAnimation(this, R.anim.pulsing_animation))
reminder_draggable_background.applyColorFilter(getAdjustedPrimaryColor())
reminder_dismiss.applyColorFilter(config.textColor)
reminder_draggable.applyColorFilter(config.textColor)
reminder_snooze.applyColorFilter(config.textColor)
var minDragX = 0f

View File

@ -336,7 +336,7 @@ fun Context.getAlarmNotification(pendingIntent: PendingIntent, alarm: Alarm): No
val builder = NotificationCompat.Builder(this)
.setContentTitle(label)
.setContentText(getFormattedTime(getPassedSeconds(), false, false))
.setSmallIcon(R.drawable.ic_alarm)
.setSmallIcon(R.drawable.ic_alarm_vector)
.setContentIntent(pendingIntent)
.setPriority(Notification.PRIORITY_HIGH)
.setDefaults(Notification.DEFAULT_LIGHTS)

View File

@ -2,10 +2,10 @@ package com.simplemobiletools.clock.fragments
import android.os.Bundle
import android.os.Handler
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.simplemobiletools.clock.R
import com.simplemobiletools.clock.activities.SimpleActivity
import com.simplemobiletools.clock.adapters.TimeZonesAdapter