Merge remote-tracking branch 'ns/dev' into wm
This commit is contained in:
commit
07c7ac4818
|
@ -126,9 +126,6 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<!-- Receiver keep alive, scheduled every 30 min -->
|
|
||||||
<receiver android:name=".receivers.KeepAliveReceiver" />
|
|
||||||
|
|
||||||
<!-- Receive ignore 5m, 15m, 30m requests for carb notifications -->
|
<!-- Receive ignore 5m, 15m, 30m requests for carb notifications -->
|
||||||
<receiver android:name=".plugins.aps.loop.CarbSuggestionReceiver" />
|
<receiver android:name=".plugins.aps.loop.CarbSuggestionReceiver" />
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ class MainActivity : NoSplashAppCompatActivity() {
|
||||||
private val disposable = CompositeDisposable()
|
private val disposable = CompositeDisposable()
|
||||||
|
|
||||||
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var androidPermission: AndroidPermission
|
@Inject lateinit var androidPermission: AndroidPermission
|
||||||
@Inject lateinit var sp: SP
|
@Inject lateinit var sp: SP
|
||||||
@Inject lateinit var versionCheckerUtils: VersionCheckerUtils
|
@Inject lateinit var versionCheckerUtils: VersionCheckerUtils
|
||||||
|
|
|
@ -7,6 +7,10 @@ import android.net.ConnectivityManager
|
||||||
import android.net.wifi.WifiManager
|
import android.net.wifi.WifiManager
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import androidx.lifecycle.ProcessLifecycleOwner
|
import androidx.lifecycle.ProcessLifecycleOwner
|
||||||
|
import androidx.work.Data
|
||||||
|
import androidx.work.ExistingPeriodicWorkPolicy
|
||||||
|
import androidx.work.PeriodicWorkRequest
|
||||||
|
import androidx.work.WorkManager
|
||||||
import com.uber.rxdogtag.RxDogTag
|
import com.uber.rxdogtag.RxDogTag
|
||||||
import dagger.android.AndroidInjector
|
import dagger.android.AndroidInjector
|
||||||
import dagger.android.DaggerApplication
|
import dagger.android.DaggerApplication
|
||||||
|
@ -27,14 +31,11 @@ import info.nightscout.androidaps.plugins.constraints.versionChecker.VersionChec
|
||||||
import info.nightscout.androidaps.plugins.general.overview.notifications.Notification
|
import info.nightscout.androidaps.plugins.general.overview.notifications.Notification
|
||||||
import info.nightscout.androidaps.plugins.general.overview.notifications.NotificationStore
|
import info.nightscout.androidaps.plugins.general.overview.notifications.NotificationStore
|
||||||
import info.nightscout.androidaps.plugins.general.themes.ThemeSwitcherPlugin
|
import info.nightscout.androidaps.plugins.general.themes.ThemeSwitcherPlugin
|
||||||
import info.nightscout.androidaps.receivers.BTReceiver
|
import info.nightscout.androidaps.receivers.*
|
||||||
import info.nightscout.androidaps.receivers.ChargingStateReceiver
|
|
||||||
import info.nightscout.androidaps.receivers.KeepAliveReceiver.KeepAliveManager
|
|
||||||
import info.nightscout.androidaps.receivers.NetworkChangeReceiver
|
|
||||||
import info.nightscout.androidaps.receivers.TimeDateOrTZChangeReceiver
|
|
||||||
import info.nightscout.androidaps.services.AlarmSoundServiceHelper
|
import info.nightscout.androidaps.services.AlarmSoundServiceHelper
|
||||||
import info.nightscout.androidaps.utils.ActivityMonitor
|
import info.nightscout.androidaps.utils.ActivityMonitor
|
||||||
import info.nightscout.androidaps.utils.DateUtil
|
import info.nightscout.androidaps.utils.DateUtil
|
||||||
|
import info.nightscout.androidaps.utils.LocalAlertUtils
|
||||||
import info.nightscout.androidaps.utils.ProcessLifecycleListener
|
import info.nightscout.androidaps.utils.ProcessLifecycleListener
|
||||||
import info.nightscout.androidaps.utils.buildHelper.BuildHelper
|
import info.nightscout.androidaps.utils.buildHelper.BuildHelper
|
||||||
import info.nightscout.androidaps.utils.locale.LocaleHelper
|
import info.nightscout.androidaps.utils.locale.LocaleHelper
|
||||||
|
@ -48,6 +49,7 @@ import io.reactivex.rxjava3.plugins.RxJavaPlugins
|
||||||
import net.danlew.android.joda.JodaTimeAndroid
|
import net.danlew.android.joda.JodaTimeAndroid
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.net.SocketException
|
import java.net.SocketException
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class MainApp : DaggerApplication() {
|
class MainApp : DaggerApplication() {
|
||||||
|
@ -62,7 +64,6 @@ class MainApp : DaggerApplication() {
|
||||||
@Inject lateinit var config: Config
|
@Inject lateinit var config: Config
|
||||||
@Inject lateinit var buildHelper: BuildHelper
|
@Inject lateinit var buildHelper: BuildHelper
|
||||||
@Inject lateinit var configBuilder: ConfigBuilder
|
@Inject lateinit var configBuilder: ConfigBuilder
|
||||||
@Inject lateinit var keepAliveManager: KeepAliveManager
|
|
||||||
@Inject lateinit var plugins: List<@JvmSuppressWildcards PluginBase>
|
@Inject lateinit var plugins: List<@JvmSuppressWildcards PluginBase>
|
||||||
@Inject lateinit var compatDBHelper: CompatDBHelper
|
@Inject lateinit var compatDBHelper: CompatDBHelper
|
||||||
@Inject lateinit var repository: AppRepository
|
@Inject lateinit var repository: AppRepository
|
||||||
|
@ -73,6 +74,7 @@ class MainApp : DaggerApplication() {
|
||||||
@Inject lateinit var notificationStore: NotificationStore
|
@Inject lateinit var notificationStore: NotificationStore
|
||||||
@Inject lateinit var processLifecycleListener: ProcessLifecycleListener
|
@Inject lateinit var processLifecycleListener: ProcessLifecycleListener
|
||||||
@Inject lateinit var profileSwitchPlugin: ThemeSwitcherPlugin
|
@Inject lateinit var profileSwitchPlugin: ThemeSwitcherPlugin
|
||||||
|
@Inject lateinit var localAlertUtils: LocalAlertUtils
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
|
@ -118,7 +120,17 @@ class MainApp : DaggerApplication() {
|
||||||
// Register all tabs in app here
|
// Register all tabs in app here
|
||||||
pluginStore.plugins = plugins
|
pluginStore.plugins = plugins
|
||||||
configBuilder.initialize()
|
configBuilder.initialize()
|
||||||
keepAliveManager.setAlarm(this)
|
|
||||||
|
WorkManager.getInstance(this).enqueueUniquePeriodicWork(
|
||||||
|
"KeepAlive",
|
||||||
|
ExistingPeriodicWorkPolicy.REPLACE,
|
||||||
|
PeriodicWorkRequest.Builder(KeepAliveWorker::class.java, 15, TimeUnit.MINUTES)
|
||||||
|
.setInputData(Data.Builder().putString("schedule", "KeepAlive").build())
|
||||||
|
.setInitialDelay(5, TimeUnit.SECONDS)
|
||||||
|
.build()
|
||||||
|
)
|
||||||
|
localAlertUtils.shortenSnoozeInterval()
|
||||||
|
localAlertUtils.preSnoozeAlarms()
|
||||||
doMigrations()
|
doMigrations()
|
||||||
uel.log(UserEntry.Action.START_AAPS, UserEntry.Sources.Aaps)
|
uel.log(UserEntry.Action.START_AAPS, UserEntry.Sources.Aaps)
|
||||||
}
|
}
|
||||||
|
@ -190,7 +202,6 @@ class MainApp : DaggerApplication() {
|
||||||
override fun onTerminate() {
|
override fun onTerminate() {
|
||||||
aapsLogger.debug(LTag.CORE, "onTerminate")
|
aapsLogger.debug(LTag.CORE, "onTerminate")
|
||||||
unregisterActivityLifecycleCallbacks(activityMonitor)
|
unregisterActivityLifecycleCallbacks(activityMonitor)
|
||||||
keepAliveManager.cancelAlarm(this)
|
|
||||||
alarmSoundServiceHelper.stopService(this)
|
alarmSoundServiceHelper.stopService(this)
|
||||||
super.onTerminate()
|
super.onTerminate()
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,6 @@ class HistoryBrowseActivity : NoSplashAppCompatActivity() {
|
||||||
|
|
||||||
@Inject lateinit var injector: HasAndroidInjector
|
@Inject lateinit var injector: HasAndroidInjector
|
||||||
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var sp: SP
|
@Inject lateinit var sp: SP
|
||||||
@Inject lateinit var profileFunction: ProfileFunction
|
@Inject lateinit var profileFunction: ProfileFunction
|
||||||
@Inject lateinit var defaultValueHelper: DefaultValueHelper
|
@Inject lateinit var defaultValueHelper: DefaultValueHelper
|
||||||
|
|
|
@ -372,7 +372,7 @@ class MyPreferenceFragment : PreferenceFragmentCompat(), OnSharedPreferenceChang
|
||||||
if (sp.getString(pref.key, "").startsWith("hmac:")) {
|
if (sp.getString(pref.key, "").startsWith("hmac:")) {
|
||||||
pref.summary = "******"
|
pref.summary = "******"
|
||||||
} else {
|
} else {
|
||||||
if (pref.getKey().contains("pin")) {
|
if (pref.key.contains("pin")) {
|
||||||
pref.summary = rh.gs(R.string.pin_not_set)
|
pref.summary = rh.gs(R.string.pin_not_set)
|
||||||
}else {
|
}else {
|
||||||
pref.summary = rh.gs(R.string.password_not_set)
|
pref.summary = rh.gs(R.string.password_not_set)
|
||||||
|
|
|
@ -65,7 +65,7 @@ class PreferencesActivity : NoSplashAppCompatActivity(), PreferenceFragmentCompa
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||||
when (item.getItemId()) {
|
when (item.itemId) {
|
||||||
android.R.id.home -> {
|
android.R.id.home -> {
|
||||||
onBackPressed()
|
onBackPressed()
|
||||||
return true
|
return true
|
||||||
|
|
|
@ -38,7 +38,6 @@ class ProfileHelperActivity : NoSplashAppCompatActivity() {
|
||||||
@Inject lateinit var defaultProfile: DefaultProfile
|
@Inject lateinit var defaultProfile: DefaultProfile
|
||||||
@Inject lateinit var defaultProfileDPV: DefaultProfileDPV
|
@Inject lateinit var defaultProfileDPV: DefaultProfileDPV
|
||||||
@Inject lateinit var localProfilePlugin: LocalProfilePlugin
|
@Inject lateinit var localProfilePlugin: LocalProfilePlugin
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var dateUtil: DateUtil
|
@Inject lateinit var dateUtil: DateUtil
|
||||||
@Inject lateinit var activePlugin: ActivePlugin
|
@Inject lateinit var activePlugin: ActivePlugin
|
||||||
@Inject lateinit var repository: AppRepository
|
@Inject lateinit var repository: AppRepository
|
||||||
|
|
|
@ -2,12 +2,11 @@ package info.nightscout.androidaps.di
|
||||||
|
|
||||||
import dagger.Module
|
import dagger.Module
|
||||||
import dagger.android.ContributesAndroidInjector
|
import dagger.android.ContributesAndroidInjector
|
||||||
|
import info.nightscout.androidaps.plugins.aps.loop.CarbSuggestionReceiver
|
||||||
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBluetoothStateReceiver
|
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBluetoothStateReceiver
|
||||||
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBroadcastReceiver
|
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBroadcastReceiver
|
||||||
import info.nightscout.androidaps.plugins.aps.loop.CarbSuggestionReceiver
|
|
||||||
import info.nightscout.androidaps.receivers.*
|
import info.nightscout.androidaps.receivers.*
|
||||||
|
|
||||||
|
|
||||||
@Module
|
@Module
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
abstract class ReceiversModule {
|
abstract class ReceiversModule {
|
||||||
|
@ -16,8 +15,7 @@ abstract class ReceiversModule {
|
||||||
@ContributesAndroidInjector abstract fun contributesBTReceiver(): BTReceiver
|
@ContributesAndroidInjector abstract fun contributesBTReceiver(): BTReceiver
|
||||||
@ContributesAndroidInjector abstract fun contributesChargingStateReceiver(): ChargingStateReceiver
|
@ContributesAndroidInjector abstract fun contributesChargingStateReceiver(): ChargingStateReceiver
|
||||||
@ContributesAndroidInjector abstract fun contributesDataReceiver(): DataReceiver
|
@ContributesAndroidInjector abstract fun contributesDataReceiver(): DataReceiver
|
||||||
@ContributesAndroidInjector abstract fun contributesKeepAliveReceiver(): KeepAliveReceiver
|
@ContributesAndroidInjector abstract fun contributesKeepAliveWorker(): KeepAliveWorker
|
||||||
@ContributesAndroidInjector abstract fun contributesKeepAliveWorker(): KeepAliveReceiver.KeepAliveWorker
|
|
||||||
@ContributesAndroidInjector abstract fun contributesRileyLinkBluetoothStateReceiver(): RileyLinkBluetoothStateReceiver
|
@ContributesAndroidInjector abstract fun contributesRileyLinkBluetoothStateReceiver(): RileyLinkBluetoothStateReceiver
|
||||||
@ContributesAndroidInjector abstract fun contributesSmsReceiver(): SmsReceiver
|
@ContributesAndroidInjector abstract fun contributesSmsReceiver(): SmsReceiver
|
||||||
@ContributesAndroidInjector abstract fun contributesTimeDateOrTZChangeReceiver(): TimeDateOrTZChangeReceiver
|
@ContributesAndroidInjector abstract fun contributesTimeDateOrTZChangeReceiver(): TimeDateOrTZChangeReceiver
|
||||||
|
|
|
@ -116,16 +116,16 @@ class FillDialog : DialogFragmentWithDate() {
|
||||||
if (insulinAfterConstraints > 0) {
|
if (insulinAfterConstraints > 0) {
|
||||||
actions.add(rh.gs(R.string.fillwarning))
|
actions.add(rh.gs(R.string.fillwarning))
|
||||||
actions.add("")
|
actions.add("")
|
||||||
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(rh, R.color.colorInsulinButton))
|
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(context, rh, R.attr.insulinButtonColor))
|
||||||
if (abs(insulinAfterConstraints - insulin) > 0.01)
|
if (abs(insulinAfterConstraints - insulin) > 0.01)
|
||||||
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(context, rh, R.attr.warningColor))
|
||||||
}
|
}
|
||||||
val siteChange = binding.fillCatheterChange.isChecked
|
val siteChange = binding.fillCatheterChange.isChecked
|
||||||
if (siteChange)
|
if (siteChange)
|
||||||
actions.add(rh.gs(R.string.record_pump_site_change).formatColor(rh, R.color.actionsConfirm))
|
actions.add(rh.gs(R.string.record_pump_site_change).formatColor(context, rh, R.attr.actionsConfirmColor))
|
||||||
val insulinChange = binding.fillCartridgeChange.isChecked
|
val insulinChange = binding.fillCartridgeChange.isChecked
|
||||||
if (insulinChange)
|
if (insulinChange)
|
||||||
actions.add(rh.gs(R.string.record_insulin_cartridge_change).formatColor(rh, R.color.actionsConfirm))
|
actions.add(rh.gs(R.string.record_insulin_cartridge_change).formatColor(context, rh, R.attr.actionsConfirmColor))
|
||||||
val notes: String = binding.notesLayout.notes.text.toString()
|
val notes: String = binding.notesLayout.notes.text.toString()
|
||||||
if (notes.isNotEmpty())
|
if (notes.isNotEmpty())
|
||||||
actions.add(rh.gs(R.string.notes_label) + ": " + notes)
|
actions.add(rh.gs(R.string.notes_label) + ": " + notes)
|
||||||
|
|
|
@ -172,16 +172,17 @@ class InsulinDialog : DialogFragmentWithDate() {
|
||||||
val eatingSoonChecked = binding.startEatingSoonTt.isChecked
|
val eatingSoonChecked = binding.startEatingSoonTt.isChecked
|
||||||
|
|
||||||
if (insulinAfterConstraints > 0) {
|
if (insulinAfterConstraints > 0) {
|
||||||
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(rh, R.color.bolus))
|
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(context, rh, R.attr.bolusColor))
|
||||||
if (recordOnlyChecked)
|
if (recordOnlyChecked)
|
||||||
actions.add(rh.gs(R.string.bolusrecordedonly).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.bolusrecordedonly).formatColor(context, rh, R.attr.warningColor))
|
||||||
if (abs(insulinAfterConstraints - insulin) > pumpDescription.pumpType.determineCorrectBolusStepSize(insulinAfterConstraints))
|
if (abs(insulinAfterConstraints - insulin) > pumpDescription.pumpType.determineCorrectBolusStepSize(insulinAfterConstraints))
|
||||||
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(context, rh, R.attr.warningColor))
|
||||||
}
|
}
|
||||||
val eatingSoonTTDuration = defaultValueHelper.determineEatingSoonTTDuration()
|
val eatingSoonTTDuration = defaultValueHelper.determineEatingSoonTTDuration()
|
||||||
val eatingSoonTT = defaultValueHelper.determineEatingSoonTT()
|
val eatingSoonTT = defaultValueHelper.determineEatingSoonTT()
|
||||||
if (eatingSoonChecked)
|
if (eatingSoonChecked)
|
||||||
actions.add(rh.gs(R.string.temptargetshort) + ": " + (DecimalFormatter.to1Decimal(eatingSoonTT) + " " + unitLabel + " (" + rh.gs(R.string.format_mins, eatingSoonTTDuration) + ")").formatColor(rh, R.color.tempTargetConfirmation))
|
actions.add(rh.gs(R.string.temptargetshort) + ": " + (DecimalFormatter.to1Decimal(eatingSoonTT) + " " + unitLabel + " (" + rh.gs(R.string.format_mins, eatingSoonTTDuration) + ")")
|
||||||
|
.formatColor(context, rh, R.attr.tempTargetConfirmation))
|
||||||
|
|
||||||
val timeOffset = binding.time.value.toInt()
|
val timeOffset = binding.time.value.toInt()
|
||||||
val time = dateUtil.now() + T.mins(timeOffset.toLong()).msecs()
|
val time = dateUtil.now() + T.mins(timeOffset.toLong()).msecs()
|
||||||
|
|
|
@ -118,7 +118,7 @@ class TempBasalDialog : DialogFragmentWithDate() {
|
||||||
actions.add(rh.gs(R.string.tempbasal_label) + ": " + rh.gs(R.string.pump_basebasalrate, absolute))
|
actions.add(rh.gs(R.string.tempbasal_label) + ": " + rh.gs(R.string.pump_basebasalrate, absolute))
|
||||||
actions.add(rh.gs(R.string.duration) + ": " + rh.gs(R.string.format_mins, durationInMinutes))
|
actions.add(rh.gs(R.string.duration) + ": " + rh.gs(R.string.format_mins, durationInMinutes))
|
||||||
if (abs(absolute - basalAbsoluteInput) > 0.01)
|
if (abs(absolute - basalAbsoluteInput) > 0.01)
|
||||||
actions.add(rh.gs(R.string.constraintapllied).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.constraintapllied).formatColor(context, rh, R.attr.warningColor))
|
||||||
}
|
}
|
||||||
activity?.let { activity ->
|
activity?.let { activity ->
|
||||||
OKDialog.showConfirmation(activity, rh.gs(R.string.tempbasal_label), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
OKDialog.showConfirmation(activity, rh.gs(R.string.tempbasal_label), HtmlHelper.fromHtml(Joiner.on("<br/>").join(actions)), {
|
||||||
|
|
|
@ -128,16 +128,16 @@ class TreatmentDialog : DialogFragmentWithDate() {
|
||||||
val carbsAfterConstraints = constraintChecker.applyCarbsConstraints(Constraint(carbs)).value()
|
val carbsAfterConstraints = constraintChecker.applyCarbsConstraints(Constraint(carbs)).value()
|
||||||
|
|
||||||
if (insulinAfterConstraints > 0) {
|
if (insulinAfterConstraints > 0) {
|
||||||
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(rh, R.color.bolus))
|
actions.add(rh.gs(R.string.bolus) + ": " + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints, activePlugin.activePump, rh).formatColor(context, rh, R.attr.bolusColor))
|
||||||
if (recordOnlyChecked)
|
if (recordOnlyChecked)
|
||||||
actions.add(rh.gs(R.string.bolusrecordedonly).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.bolusrecordedonly).formatColor(context, rh, R.attr.warningColor))
|
||||||
if (abs(insulinAfterConstraints - insulin) > pumpDescription.pumpType.determineCorrectBolusStepSize(insulinAfterConstraints))
|
if (abs(insulinAfterConstraints - insulin) > pumpDescription.pumpType.determineCorrectBolusStepSize(insulinAfterConstraints))
|
||||||
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.bolusconstraintappliedwarn, insulin, insulinAfterConstraints).formatColor(context, rh, R.attr.warningColor))
|
||||||
}
|
}
|
||||||
if (carbsAfterConstraints > 0) {
|
if (carbsAfterConstraints > 0) {
|
||||||
actions.add(rh.gs(R.string.carbs) + ": " + rh.gs(R.string.format_carbs, carbsAfterConstraints).formatColor(rh, R.color.carbs))
|
actions.add(rh.gs(R.string.carbs) + ": " + rh.gs(R.string.format_carbs, carbsAfterConstraints).formatColor(context, rh, R.attr.carbsColor))
|
||||||
if (carbsAfterConstraints != carbs)
|
if (carbsAfterConstraints != carbs)
|
||||||
actions.add(rh.gs(R.string.carbsconstraintapplied).formatColor(rh, R.color.warning))
|
actions.add(rh.gs(R.string.carbsconstraintapplied).formatColor(context, rh, R.attr.warningColor))
|
||||||
}
|
}
|
||||||
if (insulinAfterConstraints > 0 || carbsAfterConstraints > 0) {
|
if (insulinAfterConstraints > 0 || carbsAfterConstraints > 0) {
|
||||||
activity?.let { activity ->
|
activity?.let { activity ->
|
||||||
|
|
|
@ -468,12 +468,12 @@ class WizardDialog : DaggerDialogFragment() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wizard.calculatedTotalInsulin > 0.0 || carbsAfterConstraint > 0.0) {
|
if (wizard.calculatedTotalInsulin > 0.0 || carbsAfterConstraint > 0.0) {
|
||||||
val insulinText = if (wizard.calculatedTotalInsulin > 0.0) rh.gs(R.string.formatinsulinunits, wizard.calculatedTotalInsulin).formatColor(rh, R.color.bolus) else ""
|
val insulinText = if (wizard.calculatedTotalInsulin > 0.0) rh.gs(R.string.formatinsulinunits, wizard.calculatedTotalInsulin).formatColor(context, rh, R.attr.bolusColor) else ""
|
||||||
val carbsText = if (carbsAfterConstraint > 0.0) rh.gs(R.string.format_carbs, carbsAfterConstraint).formatColor(rh, R.color.carbs) else ""
|
val carbsText = if (carbsAfterConstraint > 0.0) rh.gs(R.string.format_carbs, carbsAfterConstraint).formatColor(context, rh, R.attr.carbsColor) else ""
|
||||||
binding.total.text = HtmlHelper.fromHtml(rh.gs(R.string.result_insulin_carbs, insulinText, carbsText))
|
binding.total.text = HtmlHelper.fromHtml(rh.gs(R.string.result_insulin_carbs, insulinText, carbsText))
|
||||||
binding.okcancel.ok.visibility = View.VISIBLE
|
binding.okcancel.ok.visibility = View.VISIBLE
|
||||||
} else {
|
} else {
|
||||||
binding.total.text = HtmlHelper.fromHtml(rh.gs(R.string.missing_carbs, wizard.carbsEquivalent.toInt()).formatColor(rh, R.color.carbs))
|
binding.total.text = HtmlHelper.fromHtml(rh.gs(R.string.missing_carbs, wizard.carbsEquivalent.toInt()).formatColor(context, rh, R.attr.carbsColor))
|
||||||
binding.okcancel.ok.visibility = View.INVISIBLE
|
binding.okcancel.ok.visibility = View.INVISIBLE
|
||||||
}
|
}
|
||||||
binding.percentUsed.text = rh.gs(R.string.format_percent, wizard.percentageCorrection)
|
binding.percentUsed.text = rh.gs(R.string.format_percent, wizard.percentageCorrection)
|
||||||
|
|
|
@ -51,7 +51,7 @@ class DetermineBasalResultSMB private constructor(injector: HasAndroidInjector)
|
||||||
aapsLogger.error(LTag.APS, "Error parsing 'deliverAt' date: $date", e)
|
aapsLogger.error(LTag.APS, "Error parsing 'deliverAt' date: $date", e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (result.has("variable_sens")) variableSens = result.getDouble("variable_sens");
|
if (result.has("variable_sens")) variableSens = result.getDouble("variable_sens")
|
||||||
} catch (e: JSONException) {
|
} catch (e: JSONException) {
|
||||||
aapsLogger.error(LTag.APS, "Error parsing determine-basal result JSON", e)
|
aapsLogger.error(LTag.APS, "Error parsing determine-basal result JSON", e)
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,7 +142,7 @@ class OverviewData @Inject constructor(
|
||||||
fun lastBgColor(context: Context?): Int {
|
fun lastBgColor(context: Context?): Int {
|
||||||
return when {
|
return when {
|
||||||
isLow -> rh.gac(context, R.attr.bgLow)
|
isLow -> rh.gac(context, R.attr.bgLow)
|
||||||
isHigh -> rh.gac(context, R.attr.bgHigh)
|
isHigh -> rh.gac(context, R.attr.highColor)
|
||||||
else -> rh.gac(context, R.attr.bgInRange)
|
else -> rh.gac(context, R.attr.bgInRange)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,7 @@ class StatusLightHandler @Inject constructor(
|
||||||
handleLevel(careportal_battery_level, R.string.key_statuslights_bat_critical, 26.0, R.string.key_statuslights_bat_warning, 51.0, pump.batteryLevel.toDouble(), "%")
|
handleLevel(careportal_battery_level, R.string.key_statuslights_bat_critical, 26.0, R.string.key_statuslights_bat_warning, 51.0, pump.batteryLevel.toDouble(), "%")
|
||||||
} else {
|
} else {
|
||||||
careportal_battery_level?.text = rh.gs(R.string.notavailable)
|
careportal_battery_level?.text = rh.gs(R.string.notavailable)
|
||||||
careportal_battery_level?.setTextColor(Color.WHITE)
|
careportal_battery_level?.setTextColor(rh.gac(careportal_battery_level.context, R.attr.defaultTextColor))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,6 @@ import javax.inject.Inject
|
||||||
class SmsCommunicatorOtpActivity : NoSplashAppCompatActivity() {
|
class SmsCommunicatorOtpActivity : NoSplashAppCompatActivity() {
|
||||||
|
|
||||||
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var smsCommunicatorPlugin: SmsCommunicatorPlugin
|
@Inject lateinit var smsCommunicatorPlugin: SmsCommunicatorPlugin
|
||||||
@Inject lateinit var otp: OneTimePassword
|
@Inject lateinit var otp: OneTimePassword
|
||||||
@Inject lateinit var uel: UserEntryLogger
|
@Inject lateinit var uel: UserEntryLogger
|
||||||
|
|
|
@ -120,7 +120,7 @@ class SendToDataLayerThread extends AsyncTask<DataMap,Void,Void> {
|
||||||
}
|
}
|
||||||
state = 0;
|
state = 0;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e(TAG, logPrefix + "Got exception in sendToWear: " + e.toString());
|
Log.e(TAG, logPrefix + "Got exception in sendToWear: " + e);
|
||||||
} finally {
|
} finally {
|
||||||
lastlock = 0;
|
lastlock = 0;
|
||||||
lock.unlock();
|
lock.unlock();
|
||||||
|
|
|
@ -589,17 +589,17 @@ class IobCobCalculatorPlugin @Inject constructor(
|
||||||
override fun getTempBasalIncludingConvertedExtended(timestamp: Long): TemporaryBasal? {
|
override fun getTempBasalIncludingConvertedExtended(timestamp: Long): TemporaryBasal? {
|
||||||
val tb = repository.getTemporaryBasalActiveAt(timestamp).blockingGet()
|
val tb = repository.getTemporaryBasalActiveAt(timestamp).blockingGet()
|
||||||
if (tb is ValueWrapper.Existing) return tb.value
|
if (tb is ValueWrapper.Existing) return tb.value
|
||||||
return getConvertedExtended(timestamp);
|
return getConvertedExtended(timestamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getTempBasalIncludingConvertedExtendedForRange(startTime: Long, endTime: Long, calculationStep: Long): Map<Long, TemporaryBasal?> {
|
override fun getTempBasalIncludingConvertedExtendedForRange(startTime: Long, endTime: Long, calculationStep: Long): Map<Long, TemporaryBasal?> {
|
||||||
val tempBasals = HashMap<Long, TemporaryBasal?>();
|
val tempBasals = HashMap<Long, TemporaryBasal?>()
|
||||||
val tbs = repository.getTemporaryBasalsDataActiveBetweenTimeAndTime(startTime, endTime).blockingGet()
|
val tbs = repository.getTemporaryBasalsDataActiveBetweenTimeAndTime(startTime, endTime).blockingGet()
|
||||||
for (t in startTime until endTime step calculationStep) {
|
for (t in startTime until endTime step calculationStep) {
|
||||||
val tb = tbs.firstOrNull { basal -> basal.timestamp <= t && (basal.timestamp + basal.duration) > t }
|
val tb = tbs.firstOrNull { basal -> basal.timestamp <= t && (basal.timestamp + basal.duration) > t }
|
||||||
tempBasals[t] = tb ?: getConvertedExtended(t)
|
tempBasals[t] = tb ?: getConvertedExtended(t)
|
||||||
}
|
}
|
||||||
return tempBasals;
|
return tempBasals
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun calculateAbsoluteIobFromBaseBasals(toTime: Long): IobTotal {
|
override fun calculateAbsoluteIobFromBaseBasals(toTime: Long): IobTotal {
|
||||||
|
|
|
@ -52,10 +52,6 @@ class VirtualPumpFragment : DaggerFragment() {
|
||||||
return binding.root
|
return binding.root
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
|
||||||
super.onViewCreated(view, savedInstanceState)
|
|
||||||
}
|
|
||||||
|
|
||||||
@Synchronized
|
@Synchronized
|
||||||
override fun onResume() {
|
override fun onResume() {
|
||||||
super.onResume()
|
super.onResume()
|
||||||
|
|
|
@ -143,7 +143,7 @@ class BGSourceFragment : DaggerFragment() {
|
||||||
val previous = glucoseValues[position - 1]
|
val previous = glucoseValues[position - 1]
|
||||||
val diff = previous.timestamp - glucoseValue.timestamp
|
val diff = previous.timestamp - glucoseValue.timestamp
|
||||||
if (diff < T.secs(20).msecs())
|
if (diff < T.secs(20).msecs())
|
||||||
holder.binding.root.setBackgroundColor(rh.gc(R.color.errorAlertBackground))
|
holder.binding.root.setBackgroundColor(rh.gac(context, R.attr.bgsourceError))
|
||||||
}
|
}
|
||||||
|
|
||||||
holder.binding.root.setOnLongClickListener {
|
holder.binding.root.setOnLongClickListener {
|
||||||
|
|
|
@ -1,198 +0,0 @@
|
||||||
package info.nightscout.androidaps.receivers
|
|
||||||
|
|
||||||
import android.app.AlarmManager
|
|
||||||
import android.app.PendingIntent
|
|
||||||
import android.app.PendingIntent.CanceledException
|
|
||||||
import android.app.PendingIntent.FLAG_IMMUTABLE
|
|
||||||
import android.content.Context
|
|
||||||
import android.content.Intent
|
|
||||||
import android.os.SystemClock
|
|
||||||
import androidx.work.*
|
|
||||||
import com.google.common.util.concurrent.ListenableFuture
|
|
||||||
import dagger.android.DaggerBroadcastReceiver
|
|
||||||
import dagger.android.HasAndroidInjector
|
|
||||||
import info.nightscout.androidaps.BuildConfig
|
|
||||||
import info.nightscout.androidaps.R
|
|
||||||
import info.nightscout.androidaps.data.ProfileSealed
|
|
||||||
import info.nightscout.androidaps.database.AppRepository
|
|
||||||
import info.nightscout.androidaps.events.EventProfileSwitchChanged
|
|
||||||
import info.nightscout.androidaps.extensions.buildDeviceStatus
|
|
||||||
import info.nightscout.androidaps.interfaces.*
|
|
||||||
import info.nightscout.shared.logging.AAPSLogger
|
|
||||||
import info.nightscout.shared.logging.LTag
|
|
||||||
import info.nightscout.androidaps.plugins.bus.RxBus
|
|
||||||
import info.nightscout.androidaps.plugins.configBuilder.RunningConfiguration
|
|
||||||
import info.nightscout.androidaps.plugins.general.maintenance.MaintenancePlugin
|
|
||||||
import info.nightscout.androidaps.queue.commands.Command
|
|
||||||
import info.nightscout.androidaps.utils.DateUtil
|
|
||||||
import info.nightscout.androidaps.utils.FabricPrivacy
|
|
||||||
import info.nightscout.androidaps.utils.LocalAlertUtils
|
|
||||||
import info.nightscout.androidaps.utils.T
|
|
||||||
import info.nightscout.androidaps.utils.resources.ResourceHelper
|
|
||||||
import javax.inject.Inject
|
|
||||||
import kotlin.math.abs
|
|
||||||
|
|
||||||
class KeepAliveReceiver : DaggerBroadcastReceiver() {
|
|
||||||
|
|
||||||
@Inject lateinit var aapsLogger: AAPSLogger
|
|
||||||
|
|
||||||
companion object {
|
|
||||||
|
|
||||||
private val KEEP_ALIVE_MILLISECONDS = T.mins(5).msecs()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun onReceive(context: Context, intent: Intent) {
|
|
||||||
super.onReceive(context, intent)
|
|
||||||
aapsLogger.debug(LTag.CORE, "KeepAlive received")
|
|
||||||
|
|
||||||
WorkManager.getInstance(context)
|
|
||||||
.enqueue(OneTimeWorkRequest.Builder(KeepAliveWorker::class.java).build())
|
|
||||||
}
|
|
||||||
|
|
||||||
class KeepAliveWorker(
|
|
||||||
private val context: Context,
|
|
||||||
params: WorkerParameters
|
|
||||||
) : Worker(context, params) {
|
|
||||||
|
|
||||||
@Inject lateinit var aapsLogger: AAPSLogger
|
|
||||||
@Inject lateinit var localAlertUtils: LocalAlertUtils
|
|
||||||
@Inject lateinit var repository: AppRepository
|
|
||||||
@Inject lateinit var config: Config
|
|
||||||
@Inject lateinit var iobCobCalculator: IobCobCalculator
|
|
||||||
@Inject lateinit var loop: Loop
|
|
||||||
@Inject lateinit var dateUtil: DateUtil
|
|
||||||
@Inject lateinit var activePlugin: ActivePlugin
|
|
||||||
@Inject lateinit var profileFunction: ProfileFunction
|
|
||||||
@Inject lateinit var runningConfiguration: RunningConfiguration
|
|
||||||
@Inject lateinit var receiverStatusStore: ReceiverStatusStore
|
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var commandQueue: CommandQueue
|
|
||||||
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
|
||||||
@Inject lateinit var maintenancePlugin: MaintenancePlugin
|
|
||||||
@Inject lateinit var rh: ResourceHelper
|
|
||||||
|
|
||||||
init {
|
|
||||||
(context.applicationContext as HasAndroidInjector).androidInjector().inject(this)
|
|
||||||
}
|
|
||||||
|
|
||||||
companion object {
|
|
||||||
|
|
||||||
private val STATUS_UPDATE_FREQUENCY = T.mins(15).msecs()
|
|
||||||
private const val IOB_UPDATE_FREQUENCY_IN_MINUTES = 5L
|
|
||||||
|
|
||||||
private var lastReadStatus: Long = 0
|
|
||||||
private var lastRun: Long = 0
|
|
||||||
private var lastIobUpload: Long = 0
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun doWork(): Result {
|
|
||||||
localAlertUtils.shortenSnoozeInterval()
|
|
||||||
localAlertUtils.checkStaleBGAlert()
|
|
||||||
checkPump()
|
|
||||||
checkAPS()
|
|
||||||
maintenancePlugin.deleteLogs(30)
|
|
||||||
workerDbStatus()
|
|
||||||
|
|
||||||
return Result.success()
|
|
||||||
}
|
|
||||||
|
|
||||||
// When Worker DB grows too much, work operations become slow
|
|
||||||
// Library is cleaning DB every 7 days which may not be sufficient for NSClient full sync
|
|
||||||
private fun workerDbStatus() {
|
|
||||||
val workQuery = WorkQuery.Builder
|
|
||||||
.fromStates(listOf(WorkInfo.State.FAILED, WorkInfo.State.SUCCEEDED))
|
|
||||||
.build()
|
|
||||||
|
|
||||||
val workInfo: ListenableFuture<List<WorkInfo>> = WorkManager.getInstance(context).getWorkInfos(workQuery)
|
|
||||||
aapsLogger.debug(LTag.CORE, "WorkManager size is ${workInfo.get().size}")
|
|
||||||
if (workInfo.get().size > 1000) {
|
|
||||||
WorkManager.getInstance(context).pruneWork()
|
|
||||||
aapsLogger.debug(LTag.CORE, "WorkManager pruning ....")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Usually deviceStatus is uploaded through LoopPlugin after every loop cycle.
|
|
||||||
// if there is no BG available, we have to upload anyway to have correct
|
|
||||||
// IOB displayed in NS
|
|
||||||
private fun checkAPS() {
|
|
||||||
var shouldUploadStatus = false
|
|
||||||
if (config.NSCLIENT) return
|
|
||||||
if (config.PUMPCONTROL) shouldUploadStatus = true
|
|
||||||
else if (!(loop as PluginBase).isEnabled() || iobCobCalculator.ads.actualBg() == null)
|
|
||||||
shouldUploadStatus = true
|
|
||||||
else if (dateUtil.isOlderThan(activePlugin.activeAPS.lastAPSRun, 5)) shouldUploadStatus = true
|
|
||||||
if (dateUtil.isOlderThan(lastIobUpload, IOB_UPDATE_FREQUENCY_IN_MINUTES) && shouldUploadStatus) {
|
|
||||||
lastIobUpload = dateUtil.now()
|
|
||||||
buildDeviceStatus(dateUtil, loop, iobCobCalculator, profileFunction,
|
|
||||||
activePlugin.activePump, receiverStatusStore, runningConfiguration,
|
|
||||||
BuildConfig.VERSION_NAME + "-" + BuildConfig.BUILDVERSION)?.also {
|
|
||||||
repository.insert(it)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun checkPump() {
|
|
||||||
val pump = activePlugin.activePump
|
|
||||||
val ps = profileFunction.getRequestedProfile() ?: return
|
|
||||||
val requestedProfile = ProfileSealed.PS(ps)
|
|
||||||
val runningProfile = profileFunction.getProfile()
|
|
||||||
val lastConnection = pump.lastDataTime()
|
|
||||||
val isStatusOutdated = lastConnection + STATUS_UPDATE_FREQUENCY < System.currentTimeMillis()
|
|
||||||
val isBasalOutdated = abs(requestedProfile.getBasal() - pump.baseBasalRate) > pump.pumpDescription.basalStep
|
|
||||||
aapsLogger.debug(LTag.CORE, "Last connection: " + dateUtil.dateAndTimeString(lastConnection))
|
|
||||||
// sometimes keep alive broadcast stops
|
|
||||||
// as as workaround test if readStatus was requested before an alarm is generated
|
|
||||||
if (lastReadStatus != 0L && lastReadStatus > System.currentTimeMillis() - T.mins(5).msecs()) {
|
|
||||||
localAlertUtils.checkPumpUnreachableAlarm(lastConnection, isStatusOutdated, loop.isDisconnected)
|
|
||||||
}
|
|
||||||
if (loop.isDisconnected) {
|
|
||||||
// do nothing if pump is disconnected
|
|
||||||
} else if (runningProfile == null || ((!pump.isThisProfileSet(requestedProfile) || !requestedProfile.isEqual(runningProfile)) && !commandQueue.isRunning(Command.CommandType.BASAL_PROFILE))) {
|
|
||||||
rxBus.send(EventProfileSwitchChanged())
|
|
||||||
} else if (isStatusOutdated && !pump.isBusy()) {
|
|
||||||
lastReadStatus = System.currentTimeMillis()
|
|
||||||
commandQueue.readStatus(rh.gs(R.string.keepalive_status_outdated), null)
|
|
||||||
} else if (isBasalOutdated && !pump.isBusy()) {
|
|
||||||
lastReadStatus = System.currentTimeMillis()
|
|
||||||
commandQueue.readStatus(rh.gs(R.string.keepalive_basal_outdated), null)
|
|
||||||
}
|
|
||||||
if (lastRun != 0L && System.currentTimeMillis() - lastRun > T.mins(10).msecs()) {
|
|
||||||
aapsLogger.error(LTag.CORE, "KeepAlive fail")
|
|
||||||
fabricPrivacy.logCustom("KeepAliveFail")
|
|
||||||
}
|
|
||||||
lastRun = System.currentTimeMillis()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
class KeepAliveManager @Inject constructor(
|
|
||||||
private val aapsLogger: AAPSLogger,
|
|
||||||
private val localAlertUtils: LocalAlertUtils
|
|
||||||
) {
|
|
||||||
|
|
||||||
//called by MainApp at first app start
|
|
||||||
fun setAlarm(context: Context) {
|
|
||||||
aapsLogger.debug(LTag.CORE, "KeepAlive scheduled")
|
|
||||||
SystemClock.sleep(5000) // wait for app initialization
|
|
||||||
localAlertUtils.shortenSnoozeInterval()
|
|
||||||
localAlertUtils.preSnoozeAlarms()
|
|
||||||
val am = context.getSystemService(Context.ALARM_SERVICE) as AlarmManager
|
|
||||||
val i = Intent(context, KeepAliveReceiver::class.java)
|
|
||||||
val pi = PendingIntent.getBroadcast(context, 0, i, FLAG_IMMUTABLE)
|
|
||||||
try {
|
|
||||||
pi.send()
|
|
||||||
} catch (e: CanceledException) {
|
|
||||||
}
|
|
||||||
am.cancel(pi)
|
|
||||||
am.setInexactRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), KEEP_ALIVE_MILLISECONDS, pi)
|
|
||||||
}
|
|
||||||
|
|
||||||
fun cancelAlarm(context: Context) {
|
|
||||||
aapsLogger.debug(LTag.CORE, "KeepAlive canceled")
|
|
||||||
val intent = Intent(context, KeepAliveReceiver::class.java)
|
|
||||||
val sender = PendingIntent.getBroadcast(context, 0, intent, FLAG_IMMUTABLE)
|
|
||||||
val alarmManager = context.getSystemService(Context.ALARM_SERVICE) as AlarmManager
|
|
||||||
alarmManager.cancel(sender)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,167 @@
|
||||||
|
package info.nightscout.androidaps.receivers
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
|
import androidx.work.*
|
||||||
|
import com.google.common.util.concurrent.ListenableFuture
|
||||||
|
import dagger.android.HasAndroidInjector
|
||||||
|
import info.nightscout.androidaps.BuildConfig
|
||||||
|
import info.nightscout.androidaps.R
|
||||||
|
import info.nightscout.androidaps.data.ProfileSealed
|
||||||
|
import info.nightscout.androidaps.database.AppRepository
|
||||||
|
import info.nightscout.androidaps.events.EventProfileSwitchChanged
|
||||||
|
import info.nightscout.androidaps.extensions.buildDeviceStatus
|
||||||
|
import info.nightscout.androidaps.interfaces.*
|
||||||
|
import info.nightscout.androidaps.plugins.bus.RxBus
|
||||||
|
import info.nightscout.androidaps.plugins.configBuilder.RunningConfiguration
|
||||||
|
import info.nightscout.androidaps.plugins.general.maintenance.MaintenancePlugin
|
||||||
|
import info.nightscout.androidaps.queue.commands.Command
|
||||||
|
import info.nightscout.androidaps.utils.DateUtil
|
||||||
|
import info.nightscout.androidaps.utils.FabricPrivacy
|
||||||
|
import info.nightscout.androidaps.utils.LocalAlertUtils
|
||||||
|
import info.nightscout.androidaps.utils.T
|
||||||
|
import info.nightscout.androidaps.utils.resources.ResourceHelper
|
||||||
|
import info.nightscout.shared.logging.AAPSLogger
|
||||||
|
import info.nightscout.shared.logging.LTag
|
||||||
|
import java.util.concurrent.TimeUnit
|
||||||
|
import javax.inject.Inject
|
||||||
|
import kotlin.math.abs
|
||||||
|
|
||||||
|
class KeepAliveWorker(
|
||||||
|
private val context: Context,
|
||||||
|
params: WorkerParameters
|
||||||
|
) : Worker(context, params) {
|
||||||
|
|
||||||
|
@Inject lateinit var aapsLogger: AAPSLogger
|
||||||
|
@Inject lateinit var localAlertUtils: LocalAlertUtils
|
||||||
|
@Inject lateinit var repository: AppRepository
|
||||||
|
@Inject lateinit var config: Config
|
||||||
|
@Inject lateinit var iobCobCalculator: IobCobCalculator
|
||||||
|
@Inject lateinit var loop: Loop
|
||||||
|
@Inject lateinit var dateUtil: DateUtil
|
||||||
|
@Inject lateinit var activePlugin: ActivePlugin
|
||||||
|
@Inject lateinit var profileFunction: ProfileFunction
|
||||||
|
@Inject lateinit var runningConfiguration: RunningConfiguration
|
||||||
|
@Inject lateinit var receiverStatusStore: ReceiverStatusStore
|
||||||
|
@Inject lateinit var rxBus: RxBus
|
||||||
|
@Inject lateinit var commandQueue: CommandQueue
|
||||||
|
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
||||||
|
@Inject lateinit var maintenancePlugin: MaintenancePlugin
|
||||||
|
@Inject lateinit var rh: ResourceHelper
|
||||||
|
|
||||||
|
init {
|
||||||
|
(context.applicationContext as HasAndroidInjector).androidInjector().inject(this)
|
||||||
|
}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
|
||||||
|
private val STATUS_UPDATE_FREQUENCY = T.mins(15).msecs()
|
||||||
|
private const val IOB_UPDATE_FREQUENCY_IN_MINUTES = 5L
|
||||||
|
|
||||||
|
private var lastReadStatus: Long = 0
|
||||||
|
private var lastRun: Long = 0
|
||||||
|
private var lastIobUpload: Long = 0
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun doWork(): Result {
|
||||||
|
aapsLogger.debug(LTag.CORE, "KeepAlive received from: " + inputData.getString("schedule"))
|
||||||
|
|
||||||
|
// 15 min interval is WorkManager minimum so schedule another instances to have 5 min interval
|
||||||
|
if (inputData.getString("schedule") == "KeepAlive") {
|
||||||
|
WorkManager.getInstance(context).enqueueUniqueWork(
|
||||||
|
"KeepAlive_5",
|
||||||
|
ExistingWorkPolicy.REPLACE,
|
||||||
|
OneTimeWorkRequest.Builder(KeepAliveWorker::class.java)
|
||||||
|
.setInputData(Data.Builder().putString("schedule", "KeepAlive_5").build())
|
||||||
|
.setInitialDelay(5, TimeUnit.MINUTES)
|
||||||
|
.build()
|
||||||
|
)
|
||||||
|
WorkManager.getInstance(context).enqueueUniqueWork(
|
||||||
|
"KeepAlive_10",
|
||||||
|
ExistingWorkPolicy.REPLACE,
|
||||||
|
OneTimeWorkRequest.Builder(KeepAliveWorker::class.java)
|
||||||
|
.setInputData(Data.Builder().putString("schedule", "KeepAlive_10").build())
|
||||||
|
.setInitialDelay(10, TimeUnit.MINUTES)
|
||||||
|
.build()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
localAlertUtils.shortenSnoozeInterval()
|
||||||
|
localAlertUtils.checkStaleBGAlert()
|
||||||
|
checkPump()
|
||||||
|
checkAPS()
|
||||||
|
maintenancePlugin.deleteLogs(30)
|
||||||
|
workerDbStatus()
|
||||||
|
|
||||||
|
return Result.success()
|
||||||
|
}
|
||||||
|
|
||||||
|
// When Worker DB grows too much, work operations become slow
|
||||||
|
// Library is cleaning DB every 7 days which may not be sufficient for NSClient full sync
|
||||||
|
private fun workerDbStatus() {
|
||||||
|
val workQuery = WorkQuery.Builder
|
||||||
|
.fromStates(listOf(WorkInfo.State.FAILED, WorkInfo.State.SUCCEEDED))
|
||||||
|
.build()
|
||||||
|
|
||||||
|
val workInfo: ListenableFuture<List<WorkInfo>> = WorkManager.getInstance(context).getWorkInfos(workQuery)
|
||||||
|
aapsLogger.debug(LTag.CORE, "WorkManager size is ${workInfo.get().size}")
|
||||||
|
if (workInfo.get().size > 1000) {
|
||||||
|
WorkManager.getInstance(context).pruneWork()
|
||||||
|
aapsLogger.debug(LTag.CORE, "WorkManager pruning ....")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Usually deviceStatus is uploaded through LoopPlugin after every loop cycle.
|
||||||
|
// if there is no BG available, we have to upload anyway to have correct
|
||||||
|
// IOB displayed in NS
|
||||||
|
private fun checkAPS() {
|
||||||
|
var shouldUploadStatus = false
|
||||||
|
if (config.NSCLIENT) return
|
||||||
|
if (config.PUMPCONTROL) shouldUploadStatus = true
|
||||||
|
else if (!(loop as PluginBase).isEnabled() || iobCobCalculator.ads.actualBg() == null)
|
||||||
|
shouldUploadStatus = true
|
||||||
|
else if (dateUtil.isOlderThan(activePlugin.activeAPS.lastAPSRun, 5)) shouldUploadStatus = true
|
||||||
|
if (dateUtil.isOlderThan(lastIobUpload, IOB_UPDATE_FREQUENCY_IN_MINUTES) && shouldUploadStatus) {
|
||||||
|
lastIobUpload = dateUtil.now()
|
||||||
|
buildDeviceStatus(
|
||||||
|
dateUtil, loop, iobCobCalculator, profileFunction,
|
||||||
|
activePlugin.activePump, receiverStatusStore, runningConfiguration,
|
||||||
|
BuildConfig.VERSION_NAME + "-" + BuildConfig.BUILDVERSION
|
||||||
|
)?.also {
|
||||||
|
repository.insert(it)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun checkPump() {
|
||||||
|
val pump = activePlugin.activePump
|
||||||
|
val ps = profileFunction.getRequestedProfile() ?: return
|
||||||
|
val requestedProfile = ProfileSealed.PS(ps)
|
||||||
|
val runningProfile = profileFunction.getProfile()
|
||||||
|
val lastConnection = pump.lastDataTime()
|
||||||
|
val isStatusOutdated = lastConnection + STATUS_UPDATE_FREQUENCY < System.currentTimeMillis()
|
||||||
|
val isBasalOutdated = abs(requestedProfile.getBasal() - pump.baseBasalRate) > pump.pumpDescription.basalStep
|
||||||
|
aapsLogger.debug(LTag.CORE, "Last connection: " + dateUtil.dateAndTimeString(lastConnection))
|
||||||
|
// sometimes keep alive broadcast stops
|
||||||
|
// as as workaround test if readStatus was requested before an alarm is generated
|
||||||
|
if (lastReadStatus != 0L && lastReadStatus > System.currentTimeMillis() - T.mins(5).msecs()) {
|
||||||
|
localAlertUtils.checkPumpUnreachableAlarm(lastConnection, isStatusOutdated, loop.isDisconnected)
|
||||||
|
}
|
||||||
|
if (loop.isDisconnected) {
|
||||||
|
// do nothing if pump is disconnected
|
||||||
|
} else if (runningProfile == null || ((!pump.isThisProfileSet(requestedProfile) || !requestedProfile.isEqual(runningProfile)) && !commandQueue.isRunning(Command.CommandType.BASAL_PROFILE))) {
|
||||||
|
rxBus.send(EventProfileSwitchChanged())
|
||||||
|
} else if (isStatusOutdated && !pump.isBusy()) {
|
||||||
|
lastReadStatus = System.currentTimeMillis()
|
||||||
|
commandQueue.readStatus(rh.gs(R.string.keepalive_status_outdated), null)
|
||||||
|
} else if (isBasalOutdated && !pump.isBusy()) {
|
||||||
|
lastReadStatus = System.currentTimeMillis()
|
||||||
|
commandQueue.readStatus(rh.gs(R.string.keepalive_basal_outdated), null)
|
||||||
|
}
|
||||||
|
if (lastRun != 0L && System.currentTimeMillis() - lastRun > T.mins(10).msecs()) {
|
||||||
|
aapsLogger.error(LTag.CORE, "KeepAlive fail")
|
||||||
|
fabricPrivacy.logCustom("KeepAliveFail")
|
||||||
|
}
|
||||||
|
lastRun = System.currentTimeMillis()
|
||||||
|
}
|
||||||
|
}
|
|
@ -34,7 +34,6 @@ class SetupWizardActivity : NoSplashAppCompatActivity() {
|
||||||
@Inject lateinit var injector: HasAndroidInjector
|
@Inject lateinit var injector: HasAndroidInjector
|
||||||
@Inject lateinit var localProfilePlugin: LocalProfilePlugin
|
@Inject lateinit var localProfilePlugin: LocalProfilePlugin
|
||||||
@Inject lateinit var swDefinition: SWDefinition
|
@Inject lateinit var swDefinition: SWDefinition
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var sp: SP
|
@Inject lateinit var sp: SP
|
||||||
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
||||||
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
@Inject lateinit var aapsSchedulers: AapsSchedulers
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M20.164,7.697l0.353,-0.684c0.18,-0.348 0.043,-0.775 -0.305,-0.955c-0.351,-0.181 -0.775,-0.043 -0.955,0.305l-0.354,0.685c-0.379,-0.148 -0.772,-0.265 -1.18,-0.344V6.106c0.45,-0.061 0.802,-0.431 0.802,-0.897c0,-0.509 -0.412,-0.921 -0.921,-0.921h-2.312c-0.509,0 -0.921,0.413 -0.921,0.921c0,0.467 0.352,0.836 0.802,0.897v0.598c-3.125,0.599 -5.495,3.349 -5.495,6.646c0,3.732 3.037,6.77 6.77,6.77c3.732,0 6.77,-3.037 6.77,-6.77C23.218,10.989 22.001,8.909 20.164,7.697zM16.448,19.119c-3.182,0 -5.77,-2.588 -5.77,-5.77s2.588,-5.77 5.77,-5.77s5.77,2.588 5.77,5.77S19.63,19.119 16.448,19.119z"
|
android:pathData="M20.164,7.697l0.353,-0.684c0.18,-0.348 0.043,-0.775 -0.305,-0.955c-0.351,-0.181 -0.775,-0.043 -0.955,0.305l-0.354,0.685c-0.379,-0.148 -0.772,-0.265 -1.18,-0.344V6.106c0.45,-0.061 0.802,-0.431 0.802,-0.897c0,-0.509 -0.412,-0.921 -0.921,-0.921h-2.312c-0.509,0 -0.921,0.413 -0.921,0.921c0,0.467 0.352,0.836 0.802,0.897v0.598c-3.125,0.599 -5.495,3.349 -5.495,6.646c0,3.732 3.037,6.77 6.77,6.77c3.732,0 6.77,-3.037 6.77,-6.77C23.218,10.989 22.001,8.909 20.164,7.697zM16.448,19.119c-3.182,0 -5.77,-2.588 -5.77,-5.77s2.588,-5.77 5.77,-5.77s5.77,2.588 5.77,5.77S19.63,19.119 16.448,19.119z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/extBolusStopColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M16.45,8.814c-0.086,0 -0.169,0.035 -0.23,0.096s-0.096,0.144 -0.096,0.23v4.198c0,0.08 0.029,0.157 0.083,0.217l2.789,3.14c0.058,0.064 0.139,0.104 0.226,0.108c0.006,0.001 0.013,0.001 0.019,0.001c0.08,0 0.157,-0.029 0.217,-0.083c0.971,-0.866 1.527,-2.095 1.527,-3.372C20.983,10.85 18.95,8.816 16.45,8.814z"
|
android:pathData="M16.45,8.814c-0.086,0 -0.169,0.035 -0.23,0.096s-0.096,0.144 -0.096,0.23v4.198c0,0.08 0.029,0.157 0.083,0.217l2.789,3.14c0.058,0.064 0.139,0.104 0.226,0.108c0.006,0.001 0.013,0.001 0.019,0.001c0.08,0 0.157,-0.029 0.217,-0.083c0.971,-0.866 1.527,-2.095 1.527,-3.372C20.983,10.85 18.95,8.816 16.45,8.814z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/extBolusStopColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M1.972,12.381c-0.128,0 -0.256,-0.049 -0.354,-0.146c-0.195,-0.195 -0.195,-0.512 0,-0.707l5.514,-5.515c0.196,-0.195 0.512,-0.196 0.708,0c0.195,0.195 0.195,0.512 0,0.708l-5.514,5.514C2.228,12.333 2.1,12.381 1.972,12.381z"
|
android:pathData="M1.972,12.381c-0.128,0 -0.256,-0.049 -0.354,-0.146c-0.195,-0.195 -0.195,-0.512 0,-0.707l5.514,-5.515c0.196,-0.195 0.512,-0.196 0.708,0c0.195,0.195 0.195,0.512 0,0.708l-5.514,5.514C2.228,12.333 2.1,12.381 1.972,12.381z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/extBolusStopColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M7.486,12.381c-0.128,0 -0.256,-0.049 -0.354,-0.146L1.618,6.721c-0.196,-0.196 -0.196,-0.512 0,-0.708c0.195,-0.196 0.512,-0.196 0.708,0l5.514,5.515c0.196,0.195 0.196,0.512 0,0.707C7.743,12.333 7.614,12.381 7.486,12.381z"
|
android:pathData="M7.486,12.381c-0.128,0 -0.256,-0.049 -0.354,-0.146L1.618,6.721c-0.196,-0.196 -0.196,-0.512 0,-0.708c0.195,-0.196 0.512,-0.196 0.708,0l5.514,5.515c0.196,0.195 0.196,0.512 0,0.707C7.743,12.333 7.614,12.381 7.486,12.381z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/extBolusStopColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.107,3.666c-4.603,0 -8.335,3.732 -8.335,8.335s3.732,8.335 8.335,8.335s8.335,-3.731 8.335,-8.335V3.666H12.107zM12.107,18.335c-3.498,0 -6.334,-2.836 -6.334,-6.334c0,-3.498 2.836,-6.334 6.334,-6.334c3.498,0 6.334,2.836 6.334,6.334C18.442,15.499 15.606,18.335 12.107,18.335z"
|
android:pathData="M12.107,3.666c-4.603,0 -8.335,3.732 -8.335,8.335s3.732,8.335 8.335,8.335s8.335,-3.731 8.335,-8.335V3.666H12.107zM12.107,18.335c-3.498,0 -6.334,-2.836 -6.334,-6.334c0,-3.498 2.836,-6.334 6.334,-6.334c3.498,0 6.334,2.836 6.334,6.334C18.442,15.499 15.606,18.335 12.107,18.335z"
|
||||||
android:fillColor="@color/colorLightGray"/>
|
android:fillColor="@color/byodagray"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#CF8BFE" android:pathData="M3.923,12.021c-0.128,0 -0.256,-0.049 -0.354,-0.146c-0.195,-0.195 -0.195,-0.512 0,-0.707l5.514,-5.515c0.196,-0.195 0.512,-0.196 0.708,0c0.195,0.195 0.195,0.512 0,0.708l-5.514,5.514C4.179,11.972 4.051,12.021 3.923,12.021z"/>
|
<path android:fillColor="?attr/basalCancelColor"
|
||||||
<path android:fillColor="#CF8BFE" android:pathData="M9.438,12.021c-0.128,0 -0.256,-0.049 -0.354,-0.146L3.569,6.361c-0.196,-0.196 -0.196,-0.512 0,-0.708c0.195,-0.196 0.512,-0.196 0.708,0l5.514,5.515c0.196,0.195 0.196,0.512 0,0.707C9.694,11.972 9.566,12.021 9.438,12.021z"/>
|
android:pathData="M3.923,12.021c-0.128,0 -0.256,-0.049 -0.354,-0.146c-0.195,-0.195 -0.195,-0.512 0,-0.707l5.514,-5.515c0.196,-0.195 0.512,-0.196 0.708,0c0.195,0.195 0.195,0.512 0,0.708l-5.514,5.514C4.179,11.972 4.051,12.021 3.923,12.021z"/>
|
||||||
<path android:fillColor="#CF8BFE" android:pathData="M16.578,18.026l0,-11.042l-3.698,0l0,11.042l-9.363,0l0,-1.01l8.354,0l0,-11.041l5.717,0l0,11.041l1.645,0l0,1.01z"/>
|
<path android:fillColor="?attr/basalCancelColor" android:pathData="M9.438,12.021c-0.128,0 -0.256,-0.049 -0.354,-0.146L3.569,6.361c-0.196,-0.196 -0.196,-0.512 0,-0.708c0.195,-0.196 0.512,-0.196 0.708,0l5.514,5.515c0.196,0.195 0.196,0.512 0,0.707C9.694,11.972 9.566,12.021 9.438,12.021z"/>
|
||||||
|
<path android:fillColor="?attr/basalCancelColor" android:pathData="M16.578,18.026l0,-11.042l-3.698,0l0,11.042l-9.363,0l0,-1.01l8.354,0l0,-11.041l5.717,0l0,11.041l1.645,0l0,1.01z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
<path
|
<path
|
||||||
android:pathData="M20.234,10.422c-0.362,0 -0.656,0.294 -0.656,0.656v0.297h-0.469V9.031c0,-0.87 -0.708,-1.578 -1.578,-1.578H4.188c-0.87,0 -1.578,0.708 -1.578,1.578v5.938c0,0.87 0.708,1.578 1.578,1.578h13.344c0.72,0 1.323,-0.488 1.511,-1.149c0.01,0.001 0.018,0.006 0.028,0.006c0.332,0 0.602,-0.297 0.602,-0.664c0,-0.351 -0.25,-0.632 -0.563,-0.655v-1.46h0.469v0.297c0,0.362 0.294,0.656 0.656,0.656s0.656,-0.294 0.656,-0.656v-1.844C20.891,10.716 20.597,10.422 20.234,10.422zM18.109,14.969c0,0.318 -0.26,0.578 -0.578,0.578H4.188c-0.319,0 -0.578,-0.26 -0.578,-0.578V9.031c0,-0.319 0.259,-0.578 0.578,-0.578h13.344c0.318,0 0.578,0.259 0.578,0.578V14.969z"
|
android:pathData="M20.234,10.422c-0.362,0 -0.656,0.294 -0.656,0.656v0.297h-0.469V9.031c0,-0.87 -0.708,-1.578 -1.578,-1.578H4.188c-0.87,0 -1.578,0.708 -1.578,1.578v5.938c0,0.87 0.708,1.578 1.578,1.578h13.344c0.72,0 1.323,-0.488 1.511,-1.149c0.01,0.001 0.018,0.006 0.028,0.006c0.332,0 0.602,-0.297 0.602,-0.664c0,-0.351 -0.25,-0.632 -0.563,-0.655v-1.46h0.469v0.297c0,0.362 0.294,0.656 0.656,0.656s0.656,-0.294 0.656,-0.656v-1.844C20.891,10.716 20.597,10.422 20.234,10.422zM18.109,14.969c0,0.318 -0.26,0.578 -0.578,0.578H4.188c-0.319,0 -0.578,-0.26 -0.578,-0.578V9.031c0,-0.319 0.259,-0.578 0.578,-0.578h13.344c0.318,0 0.578,0.259 0.578,0.578V14.969z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.703,10.273l-3.937,2.922l3.453,-1.218l1.781,1.765l4.438,-3.484l-4.297,1.687z"
|
android:pathData="M9.703,10.273l-3.937,2.922l3.453,-1.218l1.781,1.765l4.438,-3.484l-4.297,1.687z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
<path
|
<path
|
||||||
android:pathData="M20.951,10.458h-1.99c-0.054,-0.733 -0.659,-1.313 -1.406,-1.313h-2.354c-0.747,0 -1.352,0.58 -1.406,1.313h-1.99c-0.388,0 -0.696,0.27 -0.771,0.622c-1.32,-0.021 -2.226,-0.555 -2.936,-0.999c-0.7,-0.437 -1.304,-0.814 -2.005,-0.434c-1.202,0.654 -0.843,2.024 -0.554,3.126c0.192,0.731 0.39,1.489 0.098,1.836c-0.603,0.718 -2.212,0.276 -2.781,0.045c-0.143,-0.057 -0.31,0.011 -0.369,0.156c-0.059,0.146 0.011,0.311 0.156,0.369c0.061,0.024 0.971,0.388 1.893,0.388c0.574,0 1.153,-0.142 1.534,-0.593c0.482,-0.571 0.256,-1.433 0.017,-2.345c-0.323,-1.234 -0.479,-2.074 0.276,-2.485c0.392,-0.213 0.762,-0.003 1.434,0.417c0.755,0.471 1.766,1.123 3.359,1.096C11.301,11.859 11.531,12 11.806,12h4.406v5.771l0.333,-0.854V12h4.406c0.443,0 0.802,-0.345 0.802,-0.771S21.394,10.458 20.951,10.458z"
|
android:pathData="M20.951,10.458h-1.99c-0.054,-0.733 -0.659,-1.313 -1.406,-1.313h-2.354c-0.747,0 -1.352,0.58 -1.406,1.313h-1.99c-0.388,0 -0.696,0.27 -0.771,0.622c-1.32,-0.021 -2.226,-0.555 -2.936,-0.999c-0.7,-0.437 -1.304,-0.814 -2.005,-0.434c-1.202,0.654 -0.843,2.024 -0.554,3.126c0.192,0.731 0.39,1.489 0.098,1.836c-0.603,0.718 -2.212,0.276 -2.781,0.045c-0.143,-0.057 -0.31,0.011 -0.369,0.156c-0.059,0.146 0.011,0.311 0.156,0.369c0.061,0.024 0.971,0.388 1.893,0.388c0.574,0 1.153,-0.142 1.534,-0.593c0.482,-0.571 0.256,-1.433 0.017,-2.345c-0.323,-1.234 -0.479,-2.074 0.276,-2.485c0.392,-0.213 0.762,-0.003 1.434,0.417c0.755,0.471 1.766,1.123 3.359,1.096C11.301,11.859 11.531,12 11.806,12h4.406v5.771l0.333,-0.854V12h4.406c0.443,0 0.802,-0.345 0.802,-0.771S21.394,10.458 20.951,10.458z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,6 +6,6 @@
|
||||||
<path
|
<path
|
||||||
android:pathData="M19.455,9.988l-0.947,-1.652c-0.144,-0.252 -0.482,-0.329 -0.753,-0.174c-0.171,0.098 -0.266,0.267 -0.283,0.44l-1.149,-0.585c-0.093,-0.042 -0.202,-0.037 -0.292,0.015l-9.796,5.614l-0.156,-0.271c-0.187,-0.326 -0.61,-0.434 -0.945,-0.242c-0.336,0.192 -0.456,0.612 -0.269,0.938l2.747,4.79c0.187,0.326 0.61,0.434 0.945,0.242c0.336,-0.192 0.456,-0.612 0.269,-0.938L8.67,17.896l9.796,-5.614c0.09,-0.052 0.15,-0.143 0.16,-0.244l0.076,-1.289c0.158,0.072 0.351,0.076 0.522,-0.022C19.496,10.57 19.599,10.239 19.455,9.988zM17.407,12.176l-1.127,-1.769c-0.055,-0.086 -0.172,-0.11 -0.261,-0.054c-0.086,0.055 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.752,0.431l-1.127,-1.769c-0.055,-0.086 -0.172,-0.111 -0.261,-0.054c-0.086,0.054 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.752,0.431l-1.127,-1.769c-0.055,-0.086 -0.172,-0.111 -0.261,-0.054c-0.087,0.055 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.655,0.375l-1.552,-2.482c-0.053,-0.084 -0.165,-0.111 -0.254,-0.06L6.82,14.666l-0.277,-0.483l9.652,-5.532l1.685,0.87l0.236,0.412l-0.101,1.894L17.407,12.176z"
|
android:pathData="M19.455,9.988l-0.947,-1.652c-0.144,-0.252 -0.482,-0.329 -0.753,-0.174c-0.171,0.098 -0.266,0.267 -0.283,0.44l-1.149,-0.585c-0.093,-0.042 -0.202,-0.037 -0.292,0.015l-9.796,5.614l-0.156,-0.271c-0.187,-0.326 -0.61,-0.434 -0.945,-0.242c-0.336,0.192 -0.456,0.612 -0.269,0.938l2.747,4.79c0.187,0.326 0.61,0.434 0.945,0.242c0.336,-0.192 0.456,-0.612 0.269,-0.938L8.67,17.896l9.796,-5.614c0.09,-0.052 0.15,-0.143 0.16,-0.244l0.076,-1.289c0.158,0.072 0.351,0.076 0.522,-0.022C19.496,10.57 19.599,10.239 19.455,9.988zM17.407,12.176l-1.127,-1.769c-0.055,-0.086 -0.172,-0.11 -0.261,-0.054c-0.086,0.055 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.752,0.431l-1.127,-1.769c-0.055,-0.086 -0.172,-0.111 -0.261,-0.054c-0.086,0.054 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.752,0.431l-1.127,-1.769c-0.055,-0.086 -0.172,-0.111 -0.261,-0.054c-0.087,0.055 -0.115,0.165 -0.066,0.251c0.001,0.002 0.003,0.005 0.004,0.007l1.118,1.755l-0.655,0.375l-1.552,-2.482c-0.053,-0.084 -0.165,-0.111 -0.254,-0.06L6.82,14.666l-0.277,-0.483l9.652,-5.532l1.685,0.87l0.236,0.412l-0.101,1.894L17.407,12.176z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,16 +6,16 @@
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.568,13.328c0.673,0 1.219,-0.546 1.219,-1.219s-0.546,-1.219 -1.219,-1.219c-0.493,0 -0.913,0.296 -1.105,0.718h-1.603L9.464,8.126c-0.078,-0.195 -0.246,-0.309 -0.48,-0.314c-0.21,0.006 -0.394,0.144 -0.459,0.343l-2.16,6.53l-1.131,-2.751c-0.077,-0.188 -0.26,-0.31 -0.463,-0.31h-2c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5h1.665l1.518,3.69c0.078,0.188 0.261,0.31 0.463,0.31c0.006,0 0.012,0 0.018,0c0.209,-0.008 0.392,-0.145 0.458,-0.343L9.045,9.77l1.012,2.525c0.076,0.19 0.26,0.314 0.464,0.314h1.941C12.654,13.031 13.074,13.328 13.568,13.328z"
|
android:pathData="M13.568,13.328c0.673,0 1.219,-0.546 1.219,-1.219s-0.546,-1.219 -1.219,-1.219c-0.493,0 -0.913,0.296 -1.105,0.718h-1.603L9.464,8.126c-0.078,-0.195 -0.246,-0.309 -0.48,-0.314c-0.21,0.006 -0.394,0.144 -0.459,0.343l-2.16,6.53l-1.131,-2.751c-0.077,-0.188 -0.26,-0.31 -0.463,-0.31h-2c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5h1.665l1.518,3.69c0.078,0.188 0.261,0.31 0.463,0.31c0.006,0 0.012,0 0.018,0c0.209,-0.008 0.392,-0.145 0.458,-0.343L9.045,9.77l1.012,2.525c0.076,0.19 0.26,0.314 0.464,0.314h1.941C12.654,13.031 13.074,13.328 13.568,13.328z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.567,15.055c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c2.176,0 3.945,-1.77 3.945,-3.945s-1.77,-3.946 -3.945,-3.946c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c1.624,0 2.945,1.321 2.945,2.945S15.191,15.055 13.567,15.055z"
|
android:pathData="M13.567,15.055c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c2.176,0 3.945,-1.77 3.945,-3.945s-1.77,-3.946 -3.945,-3.946c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c1.624,0 2.945,1.321 2.945,2.945S15.191,15.055 13.567,15.055z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.567,5.14c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c3.291,0 5.969,2.677 5.969,5.968s-2.678,5.969 -5.969,5.969c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c3.843,0 6.969,-3.126 6.969,-6.969S17.41,5.14 13.567,5.14z"
|
android:pathData="M13.567,5.14c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c3.291,0 5.969,2.677 5.969,5.968s-2.678,5.969 -5.969,5.969c-0.276,0 -0.5,0.224 -0.5,0.5s0.224,0.5 0.5,0.5c3.843,0 6.969,-3.126 6.969,-6.969S17.41,5.14 13.567,5.14z"
|
||||||
android:strokeAlpha="0.5"
|
android:strokeAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:fillAlpha="0.5"/>
|
android:fillAlpha="0.5"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopDisabled"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M10.2429,8.7408l5.0162,5.0162l-1.5026,1.5026l-5.0162,-5.0162z"
|
android:pathData="M10.2429,8.7408l5.0162,5.0162l-1.5026,1.5026l-5.0162,-5.0162z"
|
||||||
android:fillColor="@color/loopDisabled"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M8.7408,13.7571l5.0162,-5.0162l1.5026,1.5026l-5.0162,5.0162z"
|
android:pathData="M8.7408,13.7571l5.0162,-5.0162l1.5026,1.5026l-5.0162,5.0162z"
|
||||||
android:fillColor="@color/loopDisabled"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M17.523,3.764c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938c0,1.803 0.484,3.49 1.325,4.945l-0.319,0.365c-0.001,0.842 0.325,1.681 1.01,2.277l2.416,2.103l0.872,-1.002l1.746,1.523l0.472,-0.542l-1.747,-1.523l1.272,-1.461l1.748,1.524l0.472,-0.542l-1.749,-1.525l0.872,-1.001l-2.416,-2.103c-0.684,-0.596 -1.557,-0.803 -2.39,-0.687l-0.277,0.318c-0.335,-0.825 -0.528,-1.723 -0.528,-2.67c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784L17.523,3.764z"
|
android:pathData="M17.523,3.764c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938c0,1.803 0.484,3.49 1.325,4.945l-0.319,0.365c-0.001,0.842 0.325,1.681 1.01,2.277l2.416,2.103l0.872,-1.002l1.746,1.523l0.472,-0.542l-1.747,-1.523l1.272,-1.461l1.748,1.524l0.472,-0.542l-1.749,-1.525l0.872,-1.001l-2.416,-2.103c-0.684,-0.596 -1.557,-0.803 -2.39,-0.687l-0.277,0.318c-0.335,-0.825 -0.528,-1.723 -0.528,-2.67c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784L17.523,3.764z"
|
||||||
android:fillColor="@color/loopDisconnected"/>
|
android:fillColor="?attr/loopDisconnected"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,0.938 -0.183,1.833 -0.511,2.653l-0.263,-0.302c-0.833,-0.116 -1.706,0.091 -2.39,0.687l-2.416,2.103l3.96,4.549l2.416,-2.103c0.685,-0.596 1.011,-1.435 1.01,-2.277l-0.346,-0.397C21.51,15.526 22,13.855 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,0.938 -0.183,1.833 -0.511,2.653l-0.263,-0.302c-0.833,-0.116 -1.706,0.091 -2.39,0.687l-2.416,2.103l3.96,4.549l2.416,-2.103c0.685,-0.596 1.011,-1.435 1.01,-2.277l-0.346,-0.397C21.51,15.526 22,13.855 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopDisconnected"/>
|
android:fillColor="?attr/loopDisconnected"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,20 +5,20 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M6.349,7.767c0.408,-0.542 0.89,-1.022 1.433,-1.429L6.38,3.917C5.424,4.584 4.593,5.415 3.924,6.37L6.349,7.767z"
|
android:pathData="M6.349,7.767c0.408,-0.542 0.89,-1.022 1.433,-1.429L6.38,3.917C5.424,4.584 4.593,5.415 3.924,6.37L6.349,7.767z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.258,5.478c0.613,-0.262 1.272,-0.436 1.959,-0.517l-0.003,-2.793c-1.191,0.101 -2.318,0.414 -3.352,0.898L9.258,5.478z"
|
android:pathData="M9.258,5.478c0.613,-0.262 1.272,-0.436 1.959,-0.517l-0.003,-2.793c-1.191,0.101 -2.318,0.414 -3.352,0.898L9.258,5.478z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.922,2.189l0.003,2.773c0.754,0.093 1.472,0.301 2.135,0.608c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538C16.182,2.88 14.61,2.336 12.922,2.189z"
|
android:pathData="M12.922,2.189l0.003,2.773c0.754,0.093 1.472,0.301 2.135,0.608c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538C16.182,2.88 14.61,2.336 12.922,2.189z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M4.963,11.199c0.083,-0.687 0.259,-1.345 0.523,-1.958L3.072,7.85c-0.485,1.034 -0.801,2.16 -0.903,3.351L4.963,11.199z"
|
android:pathData="M4.963,11.199c0.083,-0.687 0.259,-1.345 0.523,-1.958L3.072,7.85c-0.485,1.034 -0.801,2.16 -0.903,3.351L4.963,11.199z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-2.345,0 -4.42,-1.133 -5.725,-2.876l-2.421,1.401C5.712,20.315 8.689,22 12.063,22C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-2.345,0 -4.42,-1.133 -5.725,-2.876l-2.421,1.401C5.712,20.315 8.689,22 12.063,22C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M5.478,14.867c-0.262,-0.614 -0.436,-1.272 -0.517,-1.96L2.168,12.91c0.101,1.191 0.414,2.319 0.898,3.353L5.478,14.867z"
|
android:pathData="M5.478,14.867c-0.262,-0.614 -0.436,-1.272 -0.517,-1.96L2.168,12.91c0.101,1.191 0.414,2.319 0.898,3.353L5.478,14.867z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,23 +5,23 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M6.349,7.767c0.408,-0.542 0.89,-1.022 1.433,-1.429L6.38,3.917C5.424,4.584 4.593,5.415 3.924,6.37L6.349,7.767z"
|
android:pathData="M6.349,7.767c0.408,-0.542 0.89,-1.022 1.433,-1.429L6.38,3.917C5.424,4.584 4.593,5.415 3.924,6.37L6.349,7.767z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M3.072,7.85c-0.485,1.034 -0.801,2.16 -0.903,3.351l2.795,-0.003c0.083,-0.687 0.259,-1.345 0.523,-1.958L3.072,7.85z"
|
android:pathData="M3.072,7.85c-0.485,1.034 -0.801,2.16 -0.903,3.351l2.795,-0.003c0.083,-0.687 0.259,-1.345 0.523,-1.958L3.072,7.85z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M21.059,7.862l-2.412,1.396c0.262,0.614 0.437,1.272 0.518,1.96l2.793,-0.003C21.856,10.024 21.543,8.896 21.059,7.862z"
|
android:pathData="M21.059,7.862l-2.412,1.396c0.262,0.614 0.437,1.272 0.518,1.96l2.793,-0.003C21.856,10.024 21.543,8.896 21.059,7.862z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M17.787,7.781l2.421,-1.401c-0.668,-0.956 -1.499,-1.787 -2.454,-2.456l-1.397,2.425C16.9,6.757 17.38,7.238 17.787,7.781z"
|
android:pathData="M17.787,7.781l2.421,-1.401c-0.668,-0.956 -1.499,-1.787 -2.454,-2.456l-1.397,2.425C16.9,6.757 17.38,7.238 17.787,7.781z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M19.162,12.926c-0.427,3.544 -3.44,6.293 -7.099,6.293c-3.666,0 -6.684,-2.758 -7.102,-6.312L2.168,12.91C2.599,18.001 6.86,22 12.063,22c5.198,0 9.457,-3.992 9.894,-9.077L19.162,12.926z"
|
android:pathData="M19.162,12.926c-0.427,3.544 -3.44,6.293 -7.099,6.293c-3.666,0 -6.684,-2.758 -7.102,-6.312L2.168,12.91C2.599,18.001 6.86,22 12.063,22c5.198,0 9.457,-3.992 9.894,-9.077L19.162,12.926z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.258,5.478c0.613,-0.262 1.272,-0.436 1.959,-0.517l-0.003,-2.793c-1.191,0.101 -2.318,0.414 -3.352,0.898L9.258,5.478z"
|
android:pathData="M9.258,5.478c0.613,-0.262 1.272,-0.436 1.959,-0.517l-0.003,-2.793c-1.191,0.101 -2.318,0.414 -3.352,0.898L9.258,5.478z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.925,4.963c0.687,0.083 1.345,0.259 1.958,0.522l1.391,-2.414c-1.034,-0.485 -2.161,-0.801 -3.352,-0.903L12.925,4.963z"
|
android:pathData="M12.925,4.963c0.687,0.083 1.345,0.259 1.958,0.522l1.391,-2.414c-1.034,-0.485 -2.161,-0.801 -3.352,-0.903L12.925,4.963z"
|
||||||
android:fillColor="@color/loopOpened"/>
|
android:fillColor="?attr/loopOpened"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopSuspended"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M8.813,8.453h2.125v7.094h-2.125z"
|
android:pathData="M8.813,8.453h2.125v7.094h-2.125z"
|
||||||
android:fillColor="@color/loopSuspended"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.063,8.453h2.125v7.094h-2.125z"
|
android:pathData="M13.063,8.453h2.125v7.094h-2.125z"
|
||||||
android:fillColor="@color/loopSuspended"/>
|
android:fillColor="?attr/loopDisabled"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-3.952,0 -7.156,-3.204 -7.156,-7.156c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.937,4.449 -9.937,9.938c0,5.488 4.449,9.937 9.937,9.937C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-3.952,0 -7.156,-3.204 -7.156,-7.156c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.937,4.449 -9.937,9.938c0,5.488 4.449,9.937 9.937,9.937C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M14.868,22.154c0.794,0 1.49,-0.418 1.973,-1.054l-0.001,-3.926c-0.482,-0.634 -1.177,-1.052 -1.969,-1.052l-5.612,-0.001c-0.793,0 -1.487,0.416 -1.97,1.05l-0.004,3.926c0.482,0.636 1.178,1.055 1.972,1.055"
|
android:pathData="M14.868,22.154c0.794,0 1.49,-0.418 1.973,-1.054l-0.001,-3.926c-0.482,-0.634 -1.177,-1.052 -1.969,-1.052l-5.612,-0.001c-0.793,0 -1.487,0.416 -1.97,1.05l-0.004,3.926c0.482,0.636 1.178,1.055 1.972,1.055"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-3.952,0 -7.156,-3.204 -7.156,-7.156c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.937,4.449 -9.937,9.938c0,5.488 4.449,9.937 9.937,9.937C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156c-3.952,0 -7.156,-3.204 -7.156,-7.156c0,-3.952 3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.937,4.449 -9.937,9.938c0,5.488 4.449,9.937 9.937,9.937C17.551,22 22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.401,8.391l6.599,3.609l-6.599,3.609z"
|
android:pathData="M9.401,8.391l6.599,3.609l-6.599,3.609z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="#FEAD01"/>
|
android:fillColor="?attr/loopSuperBolus"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M15.026,13.715c-0.267,0.334 -0.555,0.58 -0.875,0.798c-0.304,0.206 -0.678,0.313 -0.966,0.376c-0.552,0.1 -0.201,0.151 0.077,0.528c-1.002,1.431 -2.69,1.526 -4.098,0.796c-0.113,-0.059 -0.219,-0.132 -0.324,-0.205c-0.222,-0.152 -0.32,-0.189 -0.506,0.003c-0.151,0.155 -0.504,0.496 -0.684,0.673l-0.394,-0.427c0.193,-0.176 0.417,-0.394 0.577,-0.545c0.349,-0.328 0.27,-0.368 -0.009,-0.767c-0.968,-1.386 -0.672,-3.195 0.69,-4.207c0.58,0.372 0.455,0.284 0.643,-0.263c0.201,-0.583 0.544,-1.081 1.064,-1.427c0.529,0.467 0.441,0.254 0.654,-0.282c0.23,-0.58 0.59,-1.052 1.087,-1.451c0.559,0.368 0.815,0.776 1.006,1.236c0.219,0.527 0.304,0.35 0.689,-0.024c0.822,-0.797 1.826,-1.113 2.805,-0.873c0.23,1.274 -0.314,2.414 -1.494,3.159c0.619,0.167 1.205,0.502 1.78,1.179c-0.352,0.516 -0.974,1.011 -1.601,1.117C14.247,13.26 14.753,13.295 15.026,13.715zM15.918,8.562c0.01,-0.355 -0.102,-0.449 -0.41,-0.408c-0.999,0.134 -1.939,1.031 -2.105,2.011c-0.058,0.339 0.121,0.52 0.459,0.442c0.215,-0.049 0.432,-0.116 0.629,-0.213C15.279,10.004 15.77,9.378 15.918,8.562zM12.764,9.962c0.009,-0.561 -0.185,-1.011 -0.454,-1.433c-0.259,-0.406 -0.438,-0.405 -0.697,-0.009c-0.598,0.914 -0.355,1.977 0.122,2.758c0.152,0.25 0.358,0.252 0.537,0.009C12.57,10.882 12.775,10.436 12.764,9.962zM10.889,16.107c0.415,0 1,-0.187 1.3,-0.414c0.255,-0.193 0.276,-0.35 0.024,-0.524c-0.935,-0.644 -1.891,-0.785 -2.88,-0.096c-0.333,0.232 -0.314,0.421 0.05,0.635C9.848,15.981 10.355,16.096 10.889,16.107zM11.037,11.638c0.016,-0.535 -0.186,-0.998 -0.457,-1.435c-0.254,-0.407 -0.427,-0.398 -0.686,0.021c-0.5,0.806 -0.458,1.935 0.101,2.707c0.194,0.268 0.361,0.285 0.568,0.024C10.866,12.571 11.048,12.136 11.037,11.638zM14.217,12.716c0.531,-0.002 1.109,-0.174 1.411,-0.403c0.257,-0.196 0.264,-0.324 0.029,-0.53c-0.752,-0.659 -2.116,-0.702 -2.896,-0.091c-0.282,0.221 -0.288,0.423 0.015,0.592C13.239,12.543 13.729,12.732 14.217,12.716zM7.835,13.214c-0.019,0.44 0.1,0.897 0.359,1.312c0.245,0.392 0.457,0.397 0.717,0.029c0.566,-0.8 0.518,-2.014 -0.108,-2.762c-0.204,-0.244 -0.378,-0.243 -0.573,0.024C7.939,12.217 7.829,12.674 7.835,13.214zM12.42,12.948c-0.536,-0.025 -1.004,0.155 -1.422,0.473c-0.209,0.159 -0.218,0.334 -0.004,0.511c0.685,0.566 2.162,0.614 2.891,0.091c0.295,-0.212 0.302,-0.387 0.004,-0.583C13.445,13.147 12.968,12.935 12.42,12.948z"
|
android:pathData="M15.026,13.715c-0.267,0.334 -0.555,0.58 -0.875,0.798c-0.304,0.206 -0.678,0.313 -0.966,0.376c-0.552,0.1 -0.201,0.151 0.077,0.528c-1.002,1.431 -2.69,1.526 -4.098,0.796c-0.113,-0.059 -0.219,-0.132 -0.324,-0.205c-0.222,-0.152 -0.32,-0.189 -0.506,0.003c-0.151,0.155 -0.504,0.496 -0.684,0.673l-0.394,-0.427c0.193,-0.176 0.417,-0.394 0.577,-0.545c0.349,-0.328 0.27,-0.368 -0.009,-0.767c-0.968,-1.386 -0.672,-3.195 0.69,-4.207c0.58,0.372 0.455,0.284 0.643,-0.263c0.201,-0.583 0.544,-1.081 1.064,-1.427c0.529,0.467 0.441,0.254 0.654,-0.282c0.23,-0.58 0.59,-1.052 1.087,-1.451c0.559,0.368 0.815,0.776 1.006,1.236c0.219,0.527 0.304,0.35 0.689,-0.024c0.822,-0.797 1.826,-1.113 2.805,-0.873c0.23,1.274 -0.314,2.414 -1.494,3.159c0.619,0.167 1.205,0.502 1.78,1.179c-0.352,0.516 -0.974,1.011 -1.601,1.117C14.247,13.26 14.753,13.295 15.026,13.715zM15.918,8.562c0.01,-0.355 -0.102,-0.449 -0.41,-0.408c-0.999,0.134 -1.939,1.031 -2.105,2.011c-0.058,0.339 0.121,0.52 0.459,0.442c0.215,-0.049 0.432,-0.116 0.629,-0.213C15.279,10.004 15.77,9.378 15.918,8.562zM12.764,9.962c0.009,-0.561 -0.185,-1.011 -0.454,-1.433c-0.259,-0.406 -0.438,-0.405 -0.697,-0.009c-0.598,0.914 -0.355,1.977 0.122,2.758c0.152,0.25 0.358,0.252 0.537,0.009C12.57,10.882 12.775,10.436 12.764,9.962zM10.889,16.107c0.415,0 1,-0.187 1.3,-0.414c0.255,-0.193 0.276,-0.35 0.024,-0.524c-0.935,-0.644 -1.891,-0.785 -2.88,-0.096c-0.333,0.232 -0.314,0.421 0.05,0.635C9.848,15.981 10.355,16.096 10.889,16.107zM11.037,11.638c0.016,-0.535 -0.186,-0.998 -0.457,-1.435c-0.254,-0.407 -0.427,-0.398 -0.686,0.021c-0.5,0.806 -0.458,1.935 0.101,2.707c0.194,0.268 0.361,0.285 0.568,0.024C10.866,12.571 11.048,12.136 11.037,11.638zM14.217,12.716c0.531,-0.002 1.109,-0.174 1.411,-0.403c0.257,-0.196 0.264,-0.324 0.029,-0.53c-0.752,-0.659 -2.116,-0.702 -2.896,-0.091c-0.282,0.221 -0.288,0.423 0.015,0.592C13.239,12.543 13.729,12.732 14.217,12.716zM7.835,13.214c-0.019,0.44 0.1,0.897 0.359,1.312c0.245,0.392 0.457,0.397 0.717,0.029c0.566,-0.8 0.518,-2.014 -0.108,-2.762c-0.204,-0.244 -0.378,-0.243 -0.573,0.024C7.939,12.217 7.829,12.674 7.835,13.214zM12.42,12.948c-0.536,-0.025 -1.004,0.155 -1.422,0.473c-0.209,0.159 -0.218,0.334 -0.004,0.511c0.685,0.566 2.162,0.614 2.891,0.091c0.295,-0.212 0.302,-0.387 0.004,-0.583C13.445,13.147 12.968,12.935 12.42,12.948z"
|
||||||
android:fillColor="#FEAD01"/>
|
android:fillColor="?attr/loopSuperBolus"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<path
|
<path
|
||||||
android:fillAlpha="0.5"
|
android:fillAlpha="0.5"
|
||||||
android:fillColor="#FFFFFF"
|
android:fillColor="?attr/colorControlNormal"
|
||||||
android:pathData="M 18 54 a 3 3 0 0 0 3 3 L 45 57 A 19 19 0 0 0 62 40 A 19 19 0 0 0 45 24 L 21 24 a 3 3 0 0 0 -3 3 Z M 67 40 A 22 22 0 0 1 45 62 L 19 62 a 6 6 0 0 1 -6 -6 L 13 25 a 6 6 0 0 1 6 -6 L 45 19 A 22 22 0 0 1 67 40"
|
android:pathData="M 18 54 a 3 3 0 0 0 3 3 L 45 57 A 19 19 0 0 0 62 40 A 19 19 0 0 0 45 24 L 21 24 a 3 3 0 0 0 -3 3 Z M 67 40 A 22 22 0 0 1 45 62 L 19 62 a 6 6 0 0 1 -6 -6 L 13 25 a 6 6 0 0 1 6 -6 L 45 19 A 22 22 0 0 1 67 40"
|
||||||
android:strokeAlpha="0.5" />
|
android:strokeAlpha="0.5" />
|
||||||
|
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M18.253,15.869c1.19,0 2.158,-1.02 2.158,-2.274c0,-1.254 -0.968,-2.275 -2.158,-2.275c-1.19,0 -2.158,1.02 -2.158,2.275C16.095,14.849 17.063,15.869 18.253,15.869zM18.253,12.018c0.824,0 1.496,0.707 1.496,1.576c0,0.869 -0.671,1.576 -1.496,1.576s-1.496,-0.707 -1.496,-1.576C16.757,12.725 17.429,12.018 18.253,12.018z"
|
android:pathData="M18.253,15.869c1.19,0 2.158,-1.02 2.158,-2.274c0,-1.254 -0.968,-2.275 -2.158,-2.275c-1.19,0 -2.158,1.02 -2.158,2.275C16.095,14.849 17.063,15.869 18.253,15.869zM18.253,12.018c0.824,0 1.496,0.707 1.496,1.576c0,0.869 -0.671,1.576 -1.496,1.576s-1.496,-0.707 -1.496,-1.576C16.757,12.725 17.429,12.018 18.253,12.018z"
|
||||||
android:fillColor="@color/exercise"/>
|
android:fillColor="?attr/exerciseColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M21.442,18.522c-0.03,-0.043 -0.745,-1.039 -1.801,-1.039c-0.785,0 -1.295,0.514 -1.746,0.969c-0.399,0.402 -0.744,0.75 -1.226,0.75h-0.001c-0.393,0 -0.714,-0.242 -1.034,-0.538l1.665,-1.325l-4.553,-6.356l-4.394,3.496c-0.259,0.242 -0.627,0.87 -0.164,1.515c0.214,0.298 0.463,0.387 0.635,0.41c0.409,0.053 0.738,-0.217 0.765,-0.24l2.759,-2.195l0.676,0.943l-3.964,3.153c-0.371,-0.351 -0.791,-0.637 -1.305,-0.637H7.753c-0.788,0 -1.457,0.64 -2.048,1.205c-0.352,0.337 -0.752,0.72 -0.973,0.72c-0.428,0 -0.982,-0.647 -1.142,-0.874c-0.109,-0.154 -0.316,-0.186 -0.464,-0.071c-0.147,0.115 -0.178,0.333 -0.069,0.488c0.083,0.119 0.837,1.155 1.674,1.155c0.477,0 0.913,-0.417 1.418,-0.9c0.502,-0.48 1.071,-1.024 1.603,-1.024h0c0.469,0 0.879,0.45 1.313,0.927c0.482,0.529 0.981,1.077 1.659,1.077c0.647,0 1.193,-0.472 1.722,-0.929c0.494,-0.427 1.005,-0.868 1.542,-0.868c0.321,0.001 0.622,0.293 0.97,0.631c0.453,0.439 0.965,0.936 1.71,0.936h0.001c0.748,0 1.245,-0.501 1.684,-0.943c0.413,-0.416 0.769,-0.776 1.287,-0.776c0.719,0 1.264,0.751 1.269,0.759c0.11,0.155 0.317,0.184 0.464,0.07C21.52,18.894 21.551,18.677 21.442,18.522zM12.027,18.661c-0.459,0.396 -0.892,0.771 -1.301,0.771c-0.395,-0.001 -0.777,-0.42 -1.181,-0.862c-0.002,-0.003 -0.005,-0.005 -0.007,-0.008l4.415,-3.512l-1.475,-2.059L9.18,15.614c-0.022,0.019 -0.161,0.12 -0.276,0.096c-0.024,-0.003 -0.097,-0.012 -0.186,-0.136c-0.195,-0.273 0.01,-0.509 0.055,-0.555l3.844,-3.058l3.754,5.241l-1.24,0.986c-0.332,-0.301 -0.69,-0.554 -1.143,-0.554C13.214,17.635 12.584,18.18 12.027,18.661z"
|
android:pathData="M21.442,18.522c-0.03,-0.043 -0.745,-1.039 -1.801,-1.039c-0.785,0 -1.295,0.514 -1.746,0.969c-0.399,0.402 -0.744,0.75 -1.226,0.75h-0.001c-0.393,0 -0.714,-0.242 -1.034,-0.538l1.665,-1.325l-4.553,-6.356l-4.394,3.496c-0.259,0.242 -0.627,0.87 -0.164,1.515c0.214,0.298 0.463,0.387 0.635,0.41c0.409,0.053 0.738,-0.217 0.765,-0.24l2.759,-2.195l0.676,0.943l-3.964,3.153c-0.371,-0.351 -0.791,-0.637 -1.305,-0.637H7.753c-0.788,0 -1.457,0.64 -2.048,1.205c-0.352,0.337 -0.752,0.72 -0.973,0.72c-0.428,0 -0.982,-0.647 -1.142,-0.874c-0.109,-0.154 -0.316,-0.186 -0.464,-0.071c-0.147,0.115 -0.178,0.333 -0.069,0.488c0.083,0.119 0.837,1.155 1.674,1.155c0.477,0 0.913,-0.417 1.418,-0.9c0.502,-0.48 1.071,-1.024 1.603,-1.024h0c0.469,0 0.879,0.45 1.313,0.927c0.482,0.529 0.981,1.077 1.659,1.077c0.647,0 1.193,-0.472 1.722,-0.929c0.494,-0.427 1.005,-0.868 1.542,-0.868c0.321,0.001 0.622,0.293 0.97,0.631c0.453,0.439 0.965,0.936 1.71,0.936h0.001c0.748,0 1.245,-0.501 1.684,-0.943c0.413,-0.416 0.769,-0.776 1.287,-0.776c0.719,0 1.264,0.751 1.269,0.759c0.11,0.155 0.317,0.184 0.464,0.07C21.52,18.894 21.551,18.677 21.442,18.522zM12.027,18.661c-0.459,0.396 -0.892,0.771 -1.301,0.771c-0.395,-0.001 -0.777,-0.42 -1.181,-0.862c-0.002,-0.003 -0.005,-0.005 -0.007,-0.008l4.415,-3.512l-1.475,-2.059L9.18,15.614c-0.022,0.019 -0.161,0.12 -0.276,0.096c-0.024,-0.003 -0.097,-0.012 -0.186,-0.136c-0.195,-0.273 0.01,-0.509 0.055,-0.555l3.844,-3.058l3.754,5.241l-1.24,0.986c-0.332,-0.301 -0.69,-0.554 -1.143,-0.554C13.214,17.635 12.584,18.18 12.027,18.661z"
|
||||||
android:fillColor="@color/exercise"/>
|
android:fillColor="?attr/exerciseColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
||||||
android:fillColor="@color/inrange"/>
|
android:fillColor="?attr/bgInRange"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M16.954,15.325l3.851,-3.85c0.314,-0.314 0.314,-0.821 0.001,-1.134c-0.315,-0.315 -0.82,-0.314 -1.134,-0.001l-3.851,3.851l-3.851,-3.851c-0.315,-0.313 -0.821,-0.314 -1.134,0.001c-0.313,0.313 -0.313,0.82 0.001,1.134l3.851,3.85l-3.851,3.851c-0.314,0.313 -0.314,0.82 -0.001,1.133c0.157,0.156 0.362,0.235 0.567,0.235s0.41,-0.078 0.567,-0.235l3.851,-3.85l3.851,3.85c0.157,0.156 0.362,0.235 0.567,0.235c0.205,0 0.411,-0.078 0.567,-0.235c0.313,-0.313 0.313,-0.82 -0.001,-1.133L16.954,15.325z"
|
android:pathData="M16.954,15.325l3.851,-3.85c0.314,-0.314 0.314,-0.821 0.001,-1.134c-0.315,-0.315 -0.82,-0.314 -1.134,-0.001l-3.851,3.851l-3.851,-3.851c-0.315,-0.313 -0.821,-0.314 -1.134,0.001c-0.313,0.313 -0.313,0.82 0.001,1.134l3.851,3.85l-3.851,3.851c-0.314,0.313 -0.314,0.82 -0.001,1.133c0.157,0.156 0.362,0.235 0.567,0.235s0.41,-0.078 0.567,-0.235l3.851,-3.85l3.851,3.85c0.157,0.156 0.362,0.235 0.567,0.235c0.205,0 0.411,-0.078 0.567,-0.235c0.313,-0.313 0.313,-0.82 -0.001,-1.133L16.954,15.325z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
||||||
android:fillColor="@color/inrange"/>
|
android:fillColor="?attr/bgInRange"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.949,6.338H2.595c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h11.354c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,17 +5,17 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M21.107,18.396h-0.515c-0.23,-3.231 -2.587,-5.897 -5.66,-6.605c-0.089,-0.819 -0.777,-1.462 -1.62,-1.462c-0.843,0 -1.531,0.642 -1.62,1.462c-3.073,0.708 -5.429,3.374 -5.66,6.605H5.518c-0.221,0 -0.4,0.179 -0.4,0.4c0,0.221 0.179,0.4 0.4,0.4h15.59c0.221,0 0.4,-0.179 0.4,-0.4C21.507,18.575 21.328,18.396 21.107,18.396zM13.313,10.943c0.461,0 0.836,0.311 0.964,0.73c-0.317,-0.043 -0.637,-0.072 -0.964,-0.072c-0.327,0 -0.648,0.03 -0.965,0.072C12.477,11.254 12.852,10.943 13.313,10.943zM13.313,12.401c3.391,0 6.212,2.654 6.479,5.995H6.834C7.101,15.056 9.922,12.401 13.313,12.401z"
|
android:pathData="M21.107,18.396h-0.515c-0.23,-3.231 -2.587,-5.897 -5.66,-6.605c-0.089,-0.819 -0.777,-1.462 -1.62,-1.462c-0.843,0 -1.531,0.642 -1.62,1.462c-3.073,0.708 -5.429,3.374 -5.66,6.605H5.518c-0.221,0 -0.4,0.179 -0.4,0.4c0,0.221 0.179,0.4 0.4,0.4h15.59c0.221,0 0.4,-0.179 0.4,-0.4C21.507,18.575 21.328,18.396 21.107,18.396zM13.313,10.943c0.461,0 0.836,0.311 0.964,0.73c-0.317,-0.043 -0.637,-0.072 -0.964,-0.072c-0.327,0 -0.648,0.03 -0.965,0.072C12.477,11.254 12.852,10.943 13.313,10.943zM13.313,12.401c3.391,0 6.212,2.654 6.479,5.995H6.834C7.101,15.056 9.922,12.401 13.313,12.401z"
|
||||||
android:fillColor="@color/carbs"/>
|
android:fillColor="?attr/carbsColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M15.428,13.489c-0.588,-0.271 -1.415,-0.457 -2.268,-0.509c-0.221,-0.014 -0.411,0.154 -0.424,0.375c-0.014,0.221 0.154,0.411 0.375,0.424c0.746,0.046 1.487,0.209 1.981,0.437c0.047,0.021 0.095,0.033 0.143,0.036c0.16,0.01 0.317,-0.078 0.388,-0.232C15.717,13.82 15.629,13.582 15.428,13.489z"
|
android:pathData="M15.428,13.489c-0.588,-0.271 -1.415,-0.457 -2.268,-0.509c-0.221,-0.014 -0.411,0.154 -0.424,0.375c-0.014,0.221 0.154,0.411 0.375,0.424c0.746,0.046 1.487,0.209 1.981,0.437c0.047,0.021 0.095,0.033 0.143,0.036c0.16,0.01 0.317,-0.078 0.388,-0.232C15.717,13.82 15.629,13.582 15.428,13.489z"
|
||||||
android:fillColor="@color/carbs"/>
|
android:fillColor="?attr/carbsColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M8.051,17.801c-0.029,0.001 -0.061,-0.003 -0.095,-0.011c-0.188,-0.047 -0.304,-0.239 -0.257,-0.427c0.43,-1.726 1.665,-3.196 3.304,-3.933c0.043,-0.019 0.088,-0.029 0.135,-0.031c0.143,-0.004 0.273,0.078 0.331,0.208c0.039,0.086 0.042,0.182 0.008,0.271c-0.034,0.088 -0.099,0.158 -0.185,0.196c-1.444,0.649 -2.531,1.942 -2.909,3.458C8.346,17.687 8.209,17.797 8.051,17.801z"
|
android:pathData="M8.051,17.801c-0.029,0.001 -0.061,-0.003 -0.095,-0.011c-0.188,-0.047 -0.304,-0.239 -0.257,-0.427c0.43,-1.726 1.665,-3.196 3.304,-3.933c0.043,-0.019 0.088,-0.029 0.135,-0.031c0.143,-0.004 0.273,0.078 0.331,0.208c0.039,0.086 0.042,0.182 0.008,0.271c-0.034,0.088 -0.099,0.158 -0.185,0.196c-1.444,0.649 -2.531,1.942 -2.909,3.458C8.346,17.687 8.209,17.797 8.051,17.801z"
|
||||||
android:fillColor="@color/carbs"/>
|
android:fillColor="?attr/carbsColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
||||||
android:fillColor="@color/inrange"/>
|
android:fillColor="?attr/bgInRange"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M11.122,8.486H5.436c-0.232,0 -0.42,-0.193 -0.42,-0.431l0,-1.717h-2.42c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.84c0.232,0 0.42,0.193 0.42,0.431l0,1.717h4.845V5.907c0,-0.238 0.188,-0.431 0.421,-0.431h2.827c0.232,0 0.421,0.193 0.421,0.431c0,0.238 -0.188,0.431 -0.421,0.431h-2.407v1.717C11.542,8.293 11.354,8.486 11.122,8.486z"
|
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,17 +5,17 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M8.822,17.137c-0.016,-0.28 0.022,-0.543 0.363,-0.583c0.313,-0.037 0.426,0.189 0.462,0.448c0.135,0.983 0.67,1.563 1.668,1.692c0.292,0.038 0.514,0.167 0.459,0.498c-0.051,0.305 -0.324,0.337 -0.568,0.336C10.03,19.526 8.835,18.321 8.822,17.137z"
|
android:pathData="M8.822,17.137c-0.016,-0.28 0.022,-0.543 0.363,-0.583c0.313,-0.037 0.426,0.189 0.462,0.448c0.135,0.983 0.67,1.563 1.668,1.692c0.292,0.038 0.514,0.167 0.459,0.498c-0.051,0.305 -0.324,0.337 -0.568,0.336C10.03,19.526 8.835,18.321 8.822,17.137z"
|
||||||
android:fillColor="@color/low"/>
|
android:fillColor="?attr/lowColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M15.21,16.109c-0.631,-2.484 -3.383,-6.32 -3.773,-6.32s-3.151,3.845 -3.779,6.324c-0.42,1.658 0.111,3.081 1.577,4.049c1.43,0.944 2.973,0.929 4.402,-0.013C15.106,19.18 15.634,17.779 15.21,16.109zM13.255,19.568c-0.603,0.397 -1.221,0.599 -1.835,0.599c-0.607,0 -1.213,-0.197 -1.802,-0.586c-1.206,-0.796 -1.639,-1.906 -1.287,-3.298c0.489,-1.929 2.895,-5.336 3.105,-5.336s2.609,3.403 3.1,5.333C14.889,17.668 14.458,18.774 13.255,19.568z"
|
android:pathData="M15.21,16.109c-0.631,-2.484 -3.383,-6.32 -3.773,-6.32s-3.151,3.845 -3.779,6.324c-0.42,1.658 0.111,3.081 1.577,4.049c1.43,0.944 2.973,0.929 4.402,-0.013C15.106,19.18 15.634,17.779 15.21,16.109zM13.255,19.568c-0.603,0.397 -1.221,0.599 -1.835,0.599c-0.607,0 -1.213,-0.197 -1.802,-0.586c-1.206,-0.796 -1.639,-1.906 -1.287,-3.298c0.489,-1.929 2.895,-5.336 3.105,-5.336s2.609,3.403 3.1,5.333C14.889,17.668 14.458,18.774 13.255,19.568z"
|
||||||
android:fillColor="@color/low"/>
|
android:fillColor="?attr/lowColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M19.522,16.771v-6.712h-1.423v6.712h-2.135l2.846,3.82l2.846,-3.82H19.522z"
|
android:pathData="M19.522,16.771v-6.712h-1.423v6.712h-2.135l2.846,3.82l2.846,-3.82H19.522z"
|
||||||
android:fillColor="@color/low"/>
|
android:fillColor="?attr/lowColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
android:pathData="M5.453,9.325c-0.003,0 -0.006,0 -0.01,0C5.031,9.317 4.661,8.827 4.43,7.979C4.261,7.361 4.108,6.716 3.96,6.092C3.867,5.701 3.774,5.31 3.677,4.924l-0.064,-0.26C3.394,3.77 3.168,2.847 2.577,2.743C2.509,2.731 2.463,2.665 2.475,2.595c0.012,-0.07 0.077,-0.114 0.146,-0.104c0.752,0.133 0.999,1.138 1.237,2.11l0.064,0.259c0.097,0.388 0.19,0.78 0.283,1.172c0.147,0.622 0.3,1.264 0.468,1.878C4.864,8.61 5.168,9.064 5.448,9.069c0.001,0 0.003,0 0.005,0c0.263,0 0.537,-0.394 0.753,-1.083C6.317,7.63 6.413,7.247 6.505,6.877l0.074,-0.293C6.66,6.262 6.737,5.935 6.815,5.609C6.973,4.94 7.137,4.248 7.336,3.608c0.221,-0.71 0.551,-1.103 0.928,-1.106c0.002,0 0.003,0 0.005,0c0.379,0 0.717,0.39 0.951,1.1c0.165,0.5 0.305,1.039 0.439,1.56l0.105,0.403c0.087,0.332 0.171,0.668 0.255,1.004c0.143,0.574 0.29,1.169 0.456,1.729c0.136,0.462 0.367,0.757 0.603,0.769c0.211,0.026 0.432,-0.218 0.6,-0.625c0.161,-0.391 0.309,-0.847 0.451,-1.393c0.198,-0.76 0.385,-1.53 0.572,-2.3c0.086,-0.355 0.173,-0.711 0.26,-1.065c0.167,-0.676 0.481,-1.066 0.961,-1.191c0.066,-0.017 0.136,0.024 0.154,0.092c0.017,0.068 -0.023,0.138 -0.091,0.156c-0.387,0.101 -0.634,0.421 -0.779,1.005c-0.087,0.354 -0.174,0.709 -0.26,1.064c-0.188,0.771 -0.375,1.543 -0.573,2.304c-0.145,0.557 -0.297,1.024 -0.462,1.426c-0.289,0.703 -0.651,0.793 -0.846,0.782c-0.35,-0.018 -0.661,-0.374 -0.832,-0.951c-0.167,-0.565 -0.315,-1.163 -0.459,-1.74c-0.083,-0.335 -0.166,-0.67 -0.253,-1.001L9.415,5.226C9.282,4.709 9.143,4.174 8.981,3.682c-0.192,-0.58 -0.458,-0.926 -0.712,-0.926c-0.001,0 -0.001,0 -0.002,0c-0.252,0.002 -0.51,0.349 -0.69,0.928C7.38,4.316 7.217,5.004 7.06,5.668C6.982,5.996 6.905,6.324 6.823,6.647L6.75,6.939C6.656,7.314 6.56,7.701 6.446,8.063C6.121,9.103 5.728,9.325 5.453,9.325z"
|
||||||
android:fillColor="@color/inrange"/>
|
android:fillColor="?attr/bgInRange"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
android:pathData="M13.949,6.338h-2.831c-0.232,0 -0.421,-0.193 -0.421,-0.431V4.19H5.856l0,1.717c0,0.238 -0.188,0.431 -0.42,0.431h-2.84c-0.232,0 -0.42,-0.193 -0.42,-0.431c0,-0.238 0.188,-0.431 0.42,-0.431h2.42l0,-1.717c0,-0.238 0.188,-0.431 0.42,-0.431h5.682c0.232,0 0.421,0.193 0.421,0.431v1.717h2.411c0.232,0 0.421,0.193 0.421,0.431C14.37,6.145 14.181,6.338 13.949,6.338z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,5 +4,6 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#B92929" android:pathData="M12.143,3.619c1.326,1.335 2.613,2.639 3.908,3.934c0.86,0.86 1.735,1.695 2.294,2.811c1.242,2.477 0.847,5.53 -1.039,7.698c-1.763,2.026 -4.813,2.845 -7.35,1.973c-4.996,-1.716 -6.424,-7.776 -2.71,-11.543C8.837,6.878 10.458,5.294 12.143,3.619zM12.08,6.135c-1.258,1.251 -2.447,2.427 -3.628,3.61c-1.148,1.149 -1.65,2.542 -1.541,4.158c0.177,2.618 2.665,4.888 5.169,4.688C12.08,14.471 12.08,10.35 12.08,6.135z"/>
|
<path android:fillColor="?attr/icCalibrationColor"
|
||||||
|
android:pathData="M12.143,3.619c1.326,1.335 2.613,2.639 3.908,3.934c0.86,0.86 1.735,1.695 2.294,2.811c1.242,2.477 0.847,5.53 -1.039,7.698c-1.763,2.026 -4.813,2.845 -7.35,1.973c-4.996,-1.716 -6.424,-7.776 -2.71,-11.543C8.837,6.878 10.458,5.294 12.143,3.619zM12.08,6.135c-1.258,1.251 -2.447,2.427 -3.628,3.61c-1.148,1.149 -1.65,2.542 -1.541,4.158c0.177,2.618 2.665,4.888 5.169,4.688C12.08,14.471 12.08,10.35 12.08,6.135z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -62,7 +62,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|center_horizontal"
|
android:layout_gravity="bottom|center_horizontal"
|
||||||
android:background="@color/black_overlay"
|
android:background="@color/black_alpha_40"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:paddingRight="16dp">
|
android:paddingRight="16dp">
|
||||||
|
|
|
@ -1,224 +0,0 @@
|
||||||
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:stretchColumns="0,2,4"
|
|
||||||
tools:context=".plugins.general.actions.ActionsFragment">
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="25dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="15dp"
|
|
||||||
android:paddingEnd="2dp"
|
|
||||||
android:text="@string/careportal_sensor_label"
|
|
||||||
android:textSize="14sp"
|
|
||||||
app:drawableStartCompat="@drawable/ic_cp_age_sensor" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/sensor_age"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/sensor_level"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="20dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="2dp"
|
|
||||||
android:textSize="14sp"
|
|
||||||
tools:ignore="RtlSymmetry" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginLeft="20dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:layout_marginRight="20dp"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_span="3"
|
|
||||||
android:background="@color/list_delimiter" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="25dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="15dp"
|
|
||||||
android:paddingEnd="2dp"
|
|
||||||
android:text="@string/careportal_insulin_label"
|
|
||||||
android:textSize="14sp"
|
|
||||||
app:drawableStartCompat="@drawable/ic_cp_age_insulin" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/insulin_age"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/reservoir_level"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="20dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="2dp"
|
|
||||||
android:textSize="14sp"
|
|
||||||
tools:ignore="RtlSymmetry" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginLeft="20dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:layout_marginRight="20dp"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_span="3"
|
|
||||||
android:background="@color/list_delimiter" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/cannula_or_patch"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="25dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="15dp"
|
|
||||||
android:paddingEnd="2dp"
|
|
||||||
android:text="@string/cannula"
|
|
||||||
android:textSize="14sp"
|
|
||||||
app:drawableStartCompat="@drawable/ic_cp_age_cannula" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/cannula_age"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="20dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="2dp"
|
|
||||||
android:text=""
|
|
||||||
android:textSize="14sp"
|
|
||||||
tools:ignore="RtlSymmetry" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginLeft="20dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:layout_marginRight="20dp"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_span="3"
|
|
||||||
android:background="@color/list_delimiter" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/pb_label"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="25dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="15dp"
|
|
||||||
android:paddingEnd="2dp"
|
|
||||||
android:text="@string/pump"
|
|
||||||
android:textSize="14sp"
|
|
||||||
app:drawableStartCompat="@drawable/ic_cp_age_battery" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/pb_age"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/battery_level"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="20dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:paddingStart="2dp"
|
|
||||||
android:textSize="14sp"
|
|
||||||
tools:ignore="RtlSymmetry" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
<TableRow
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="2dip"
|
|
||||||
android:layout_marginLeft="20dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:layout_marginRight="20dp"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_span="3"
|
|
||||||
android:background="@color/list_delimiter" />
|
|
||||||
|
|
||||||
</TableRow>
|
|
||||||
|
|
||||||
</TableLayout>
|
|
|
@ -45,7 +45,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/icon_insulin_carbs"
|
android:drawableTop="@drawable/icon_insulin_carbs"
|
||||||
android:text="@string/overview_treatment_label"
|
android:text="@string/overview_treatment_label"
|
||||||
android:textColor="?attr/treatmentButton"
|
android:textColor="?attr/icTreatmentColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/ic_bolus"
|
android:drawableTop="@drawable/ic_bolus"
|
||||||
android:text="@string/overview_insulin_label"
|
android:text="@string/overview_insulin_label"
|
||||||
android:textColor="?attr/insulinButtonColor"
|
android:textColor="?attr/icBolusColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/ic_cp_bolus_carbs"
|
android:drawableTop="@drawable/ic_cp_bolus_carbs"
|
||||||
android:text="@string/treatments_wizard_carbs_label"
|
android:text="@string/treatments_wizard_carbs_label"
|
||||||
android:textColor="?attr/carbsButtonColor"
|
android:textColor="?attr/icBolusCarbsColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/ic_calculator"
|
android:drawableTop="@drawable/ic_calculator"
|
||||||
android:text="@string/overview_calculator_label"
|
android:text="@string/overview_calculator_label"
|
||||||
android:textColor="?attr/calculatorButtonColor"
|
android:textColor="?attr/icCalculatorColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/ic_calibration"
|
android:drawableTop="@drawable/ic_calibration"
|
||||||
android:text="@string/overview_calibration"
|
android:text="@string/overview_calibration"
|
||||||
android:textColor="?attr/calibrationButtonColor"
|
android:textColor="?attr/icCalibrationColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
android:layout_weight="0.5"
|
android:layout_weight="0.5"
|
||||||
android:drawableTop="@drawable/ic_xdrip"
|
android:drawableTop="@drawable/ic_xdrip"
|
||||||
android:text="@string/overview_cgm"
|
android:text="@string/overview_cgm"
|
||||||
android:textColor="?attr/calibrationButtonColor"
|
android:textColor="?attr/icCalibrationColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
android:drawableTop="@drawable/ic_quick_wizard"
|
android:drawableTop="@drawable/ic_quick_wizard"
|
||||||
android:text="@string/quickwizard"
|
android:text="@string/quickwizard"
|
||||||
android:hint="@string/quickwizard"
|
android:hint="@string/quickwizard"
|
||||||
android:textColor="?attr/quickWizardButtonColor"
|
android:textColor="?attr/icQuickWizardColor"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp"
|
||||||
tools:ignore="SmallSp" />
|
tools:ignore="SmallSp" />
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
android:layout_marginRight="5dp"
|
android:layout_marginRight="5dp"
|
||||||
android:background="@color/pumpStatusBackground"
|
android:background="?attr/pumpStatusBackground"
|
||||||
android:gravity="center_vertical|center_horizontal"
|
android:gravity="center_vertical|center_horizontal"
|
||||||
android:paddingTop="6dp"
|
android:paddingTop="6dp"
|
||||||
android:paddingBottom="6dp"
|
android:paddingBottom="6dp"
|
||||||
|
|
|
@ -985,6 +985,8 @@
|
||||||
<string name="wear_unknown_action_string">Neznámý příkaz k akci:</string>
|
<string name="wear_unknown_action_string">Neznámý příkaz k akci:</string>
|
||||||
<string name="overview_editquickwizard_percentage">Procentní podíl</string>
|
<string name="overview_editquickwizard_percentage">Procentní podíl</string>
|
||||||
<string name="app_default">Výchozí nastavení aplikace</string>
|
<string name="app_default">Výchozí nastavení aplikace</string>
|
||||||
|
<string name="show_invalidated_records">Zobrazit zneplatněné / odstraněné záznamy</string>
|
||||||
|
<string name="hide_invalidated_records">Skrýt zneplatněné / odstraněné záznamy</string>
|
||||||
<string name="select_profile">Vyberte profil pro úpravu</string>
|
<string name="select_profile">Vyberte profil pro úpravu</string>
|
||||||
<string name="refresh_from_nightscout">Obnovit z Nightscoutu</string>
|
<string name="refresh_from_nightscout">Obnovit z Nightscoutu</string>
|
||||||
<string name="remove_selected_items">Odstranit zvolené položky</string>
|
<string name="remove_selected_items">Odstranit zvolené položky</string>
|
||||||
|
@ -1001,4 +1003,6 @@
|
||||||
<string name="below" comment="below "in range"">Pod</string>
|
<string name="below" comment="below "in range"">Pod</string>
|
||||||
<string name="in_range">V rozsahu</string>
|
<string name="in_range">V rozsahu</string>
|
||||||
<string name="above" comment="above "in range"">Nad</string>
|
<string name="above" comment="above "in range"">Nad</string>
|
||||||
|
<string name="show_loop_records">Zobrazit záznamy smyčky</string>
|
||||||
|
<string name="show_hide_records">Skrýt záznamy smyčky</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -435,7 +435,7 @@
|
||||||
<string name="openapssmb">OpenAPS SMB</string>
|
<string name="openapssmb">OpenAPS SMB</string>
|
||||||
<string name="openaps_smb_dynamic_isf">ISF Dinámico</string>
|
<string name="openaps_smb_dynamic_isf">ISF Dinámico</string>
|
||||||
<string name="DynISFAdjust_title">Factor de ajuste de ISF Dinámico %</string>
|
<string name="DynISFAdjust_title">Factor de ajuste de ISF Dinámico %</string>
|
||||||
<string name="DynISFAdjust_summary">Porcentaje del factor de ajuste para ISF Dinámico. Establece valores por encima del 100%, para correcciones más agresivas y por debajo para correcciones menos agresivas</string>
|
<string name="DynISFAdjust_summary">Porcentaje del factor de ajuste de ISF Dinámico\n Valor predeterminado: 100\nEstablecer valores por encima del 100% para que el algoritmo aplique correcciones más agresivas y valores por debajo del 100% para correcciones menos agresivas.</string>
|
||||||
<string name="enableuam">Activar UAM</string>
|
<string name="enableuam">Activar UAM</string>
|
||||||
<string name="enablesmb">Activar SMB</string>
|
<string name="enablesmb">Activar SMB</string>
|
||||||
<string name="enablesmb_summary">Usar microbolos en lugar de basales temporales, para corregir más rápidamente</string>
|
<string name="enablesmb_summary">Usar microbolos en lugar de basales temporales, para corregir más rápidamente</string>
|
||||||
|
@ -985,6 +985,8 @@
|
||||||
<string name="wear_unknown_action_string">Comando de acción desconocido:</string>
|
<string name="wear_unknown_action_string">Comando de acción desconocido:</string>
|
||||||
<string name="overview_editquickwizard_percentage">Porcentaje</string>
|
<string name="overview_editquickwizard_percentage">Porcentaje</string>
|
||||||
<string name="app_default">Aplicación por defecto</string>
|
<string name="app_default">Aplicación por defecto</string>
|
||||||
|
<string name="show_invalidated_records">Mostrar registros eliminados o invalidados</string>
|
||||||
|
<string name="hide_invalidated_records">Ocultar registros eliminados o invalidados</string>
|
||||||
<string name="select_profile">Seleccione el perfil a editar</string>
|
<string name="select_profile">Seleccione el perfil a editar</string>
|
||||||
<string name="refresh_from_nightscout">Actualizar de Nightscout</string>
|
<string name="refresh_from_nightscout">Actualizar de Nightscout</string>
|
||||||
<string name="remove_selected_items">Eliminar los elementos seleccionados</string>
|
<string name="remove_selected_items">Eliminar los elementos seleccionados</string>
|
||||||
|
@ -1001,4 +1003,6 @@
|
||||||
<string name="below" comment="below "in range"">Bajo</string>
|
<string name="below" comment="below "in range"">Bajo</string>
|
||||||
<string name="in_range">En rango</string>
|
<string name="in_range">En rango</string>
|
||||||
<string name="above" comment="above "in range"">Alto</string>
|
<string name="above" comment="above "in range"">Alto</string>
|
||||||
|
<string name="show_loop_records">Mostrar registros del lazo</string>
|
||||||
|
<string name="show_hide_records">Ocultar registros del lazo</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -985,6 +985,8 @@
|
||||||
<string name="wear_unknown_action_string">Ukjent kommando:</string>
|
<string name="wear_unknown_action_string">Ukjent kommando:</string>
|
||||||
<string name="overview_editquickwizard_percentage">Prosent</string>
|
<string name="overview_editquickwizard_percentage">Prosent</string>
|
||||||
<string name="app_default">Standardverdi</string>
|
<string name="app_default">Standardverdi</string>
|
||||||
|
<string name="show_invalidated_records">Vis ugyldige / slettede registreringer</string>
|
||||||
|
<string name="hide_invalidated_records">Skjul ugyldige / slettede registreringer</string>
|
||||||
<string name="select_profile">Velg profil du vil redigere</string>
|
<string name="select_profile">Velg profil du vil redigere</string>
|
||||||
<string name="refresh_from_nightscout">Oppdater fra Nightscout</string>
|
<string name="refresh_from_nightscout">Oppdater fra Nightscout</string>
|
||||||
<string name="remove_selected_items">Fjern valgte elementer</string>
|
<string name="remove_selected_items">Fjern valgte elementer</string>
|
||||||
|
@ -1001,4 +1003,6 @@
|
||||||
<string name="below" comment="below "in range"">Under</string>
|
<string name="below" comment="below "in range"">Under</string>
|
||||||
<string name="in_range">I målområdet</string>
|
<string name="in_range">I målområdet</string>
|
||||||
<string name="above" comment="above "in range"">Over</string>
|
<string name="above" comment="above "in range"">Over</string>
|
||||||
|
<string name="show_loop_records">Vis loop registreringer</string>
|
||||||
|
<string name="show_hide_records">Skjul loop registreringer</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -161,6 +161,7 @@
|
||||||
<string name="end_user_license_agreement">лицензионное соглашение с пользователем</string>
|
<string name="end_user_license_agreement">лицензионное соглашение с пользователем</string>
|
||||||
<string name="end_user_license_agreement_text">НЕ ДОЛЖНО ИСПОЛЬЗОВАТЬСЯ ДЛЯ ПРИНЯТИЯ МЕДИЦИНСКИХ РЕШЕНИЙ. ПРОГРАММА НЕ ДАЕТ ГАРАНТИЙ В РАМКАХ СУЩЕСТВУЮЩЕГО ЗАКОНОДАТЕЛЬСТВА. ПРЕДОСТАВЛЯЕТСЯ \"КАК ЕСТЬ\" БЕЗ ЯВНЫХ ИЛИ СКРЫТЫХ ГАРАНТИЙ ВКЛЮЧАЯ НО НЕ ОГРАНИЧИВАЯСЬ ВОЗМОЖНОСТЬЮ КОММЕРЧЕСКОГО ИСПОЛЬЗОВАНИ ИЛИ СООТВЕТСТВИЯ КАКИМ-ЛИБО ЦЕЛЯМ. ВСЕ РИСКИ ЛОЖАТСЯ НА ВАС. В СЛУЧАЕ НЕРАБОТОСПОСОБНОСТИ ПРОГРАММЫ ВЫ НЕСЕТЕ ВСЕ РАСХОДЫ СВЯЗАННЫЕ С ОБСЛУЖИВАНИЕМ РЕМОНТОМ ИЛИ КОРРЕКТИРОВКОЙ. </string>
|
<string name="end_user_license_agreement_text">НЕ ДОЛЖНО ИСПОЛЬЗОВАТЬСЯ ДЛЯ ПРИНЯТИЯ МЕДИЦИНСКИХ РЕШЕНИЙ. ПРОГРАММА НЕ ДАЕТ ГАРАНТИЙ В РАМКАХ СУЩЕСТВУЮЩЕГО ЗАКОНОДАТЕЛЬСТВА. ПРЕДОСТАВЛЯЕТСЯ \"КАК ЕСТЬ\" БЕЗ ЯВНЫХ ИЛИ СКРЫТЫХ ГАРАНТИЙ ВКЛЮЧАЯ НО НЕ ОГРАНИЧИВАЯСЬ ВОЗМОЖНОСТЬЮ КОММЕРЧЕСКОГО ИСПОЛЬЗОВАНИ ИЛИ СООТВЕТСТВИЯ КАКИМ-ЛИБО ЦЕЛЯМ. ВСЕ РИСКИ ЛОЖАТСЯ НА ВАС. В СЛУЧАЕ НЕРАБОТОСПОСОБНОСТИ ПРОГРАММЫ ВЫ НЕСЕТЕ ВСЕ РАСХОДЫ СВЯЗАННЫЕ С ОБСЛУЖИВАНИЕМ РЕМОНТОМ ИЛИ КОРРЕКТИРОВКОЙ. </string>
|
||||||
<string name="end_user_license_agreement_i_understand">я понимаю и принимаю</string>
|
<string name="end_user_license_agreement_i_understand">я понимаю и принимаю</string>
|
||||||
|
<string name="save">Сохранить</string>
|
||||||
<string name="reloadprofile">обновить профиль</string>
|
<string name="reloadprofile">обновить профиль</string>
|
||||||
<string name="smscommunicator">SMS коммуникатор</string>
|
<string name="smscommunicator">SMS коммуникатор</string>
|
||||||
<string name="smscommunicator_allowednumbers">разрешенные телефонные номера</string>
|
<string name="smscommunicator_allowednumbers">разрешенные телефонные номера</string>
|
||||||
|
@ -432,6 +433,8 @@
|
||||||
<string name="ns_localbroadcasts_title">Активировать локальную передачу</string>
|
<string name="ns_localbroadcasts_title">Активировать локальную передачу</string>
|
||||||
<string name="openapssmb">Супер микро болюс OpenAPS</string>
|
<string name="openapssmb">Супер микро болюс OpenAPS</string>
|
||||||
<string name="openaps_smb_dynamic_isf">Динамический ISF</string>
|
<string name="openaps_smb_dynamic_isf">Динамический ISF</string>
|
||||||
|
<string name="DynISFAdjust_title">Коэффициент регулировки динамического диапазона чувствительности ISF %</string>
|
||||||
|
<string name="DynISFAdjust_summary">Коэффициент корректировки динамического диапазона чувствительности ISF. Установите более 100% для более агрессивных доз коррекции и менее 100% для менее агрессивной коррекции.</string>
|
||||||
<string name="enableuam">Включить непредвиденный прием пищи UAM</string>
|
<string name="enableuam">Включить непредвиденный прием пищи UAM</string>
|
||||||
<string name="enablesmb">Включить супер микро болюс SMB</string>
|
<string name="enablesmb">Включить супер микро болюс SMB</string>
|
||||||
<string name="enablesmb_summary">Для ускорения действия используйте супер микро болюсы SMB вместо временного базала</string>
|
<string name="enablesmb_summary">Для ускорения действия используйте супер микро болюсы SMB вместо временного базала</string>
|
||||||
|
@ -664,6 +667,7 @@
|
||||||
<string name="show_invalidated">Показать недействительные</string>
|
<string name="show_invalidated">Показать недействительные</string>
|
||||||
<string name="hide_invalidated">Скрыть недействительные</string>
|
<string name="hide_invalidated">Скрыть недействительные</string>
|
||||||
<string name="remove_items">Удалить элементы</string>
|
<string name="remove_items">Удалить элементы</string>
|
||||||
|
<string name="sort_items">Сортировать элементы</string>
|
||||||
<string name="storedsettingsfound">Найдены сохраненные параметры</string>
|
<string name="storedsettingsfound">Найдены сохраненные параметры</string>
|
||||||
<string name="allow_hardware_pump_text">Внимание: Если вы активируете подключение к невиртуальной помпе, AndroidAPS скопирует настройки базала в профиль помпы, перезаписывая существующие настройки, хранящиеся в ней. Убедитесь, что настройки базала в AndroidAPS корректны. Если вы не уверены или не хотите перезаписать настройки базала на помпу, нажмите отменить и повторите подключение в другое время.</string>
|
<string name="allow_hardware_pump_text">Внимание: Если вы активируете подключение к невиртуальной помпе, AndroidAPS скопирует настройки базала в профиль помпы, перезаписывая существующие настройки, хранящиеся в ней. Убедитесь, что настройки базала в AndroidAPS корректны. Если вы не уверены или не хотите перезаписать настройки базала на помпу, нажмите отменить и повторите подключение в другое время.</string>
|
||||||
<string name="error_adding_treatment_title">Данные терапии неполные</string>
|
<string name="error_adding_treatment_title">Данные терапии неполные</string>
|
||||||
|
@ -878,6 +882,7 @@
|
||||||
<string name="ns_receive_profile_switch_summary">Принимать переключения профиля, введенные через NS или NSClient</string>
|
<string name="ns_receive_profile_switch_summary">Принимать переключения профиля, введенные через NS или NSClient</string>
|
||||||
<string name="ns_receive_offline_event">Принимать события APS автономно</string>
|
<string name="ns_receive_offline_event">Принимать события APS автономно</string>
|
||||||
<string name="ns_receive_offline_event_summary">Принимать события APS введенные через NS или клиент NS автономно</string>
|
<string name="ns_receive_offline_event_summary">Принимать события APS введенные через NS или клиент NS автономно</string>
|
||||||
|
<string name="ns_receive_tbr_eb">Получать временную базальную скорость TBR и пролонгированный болюс EB</string>
|
||||||
<string name="ns_receive_insulin">Принимать инсулин</string>
|
<string name="ns_receive_insulin">Принимать инсулин</string>
|
||||||
<string name="ns_receive_insulin_summary">Принимать инсулин, введенный через NS или NSClient (не подается, только рассчитывается как активный IOB)</string>
|
<string name="ns_receive_insulin_summary">Принимать инсулин, введенный через NS или NSClient (не подается, только рассчитывается как активный IOB)</string>
|
||||||
<string name="ns_receive_carbs">Принимать углеводы</string>
|
<string name="ns_receive_carbs">Принимать углеводы</string>
|
||||||
|
|
|
@ -986,6 +986,8 @@ Aktif Karbonhidratın ne kadar hızlı sindirildiğine ve KŞ\'nin beklenenden d
|
||||||
<string name="wear_unknown_action_string">Bilinmeyen eylem komutu:</string>
|
<string name="wear_unknown_action_string">Bilinmeyen eylem komutu:</string>
|
||||||
<string name="overview_editquickwizard_percentage">Yüzde</string>
|
<string name="overview_editquickwizard_percentage">Yüzde</string>
|
||||||
<string name="app_default">Uygulama varsayılanı</string>
|
<string name="app_default">Uygulama varsayılanı</string>
|
||||||
|
<string name="show_invalidated_records">Geçersiz kılınan / kaldırılan kayıtları göster</string>
|
||||||
|
<string name="hide_invalidated_records">Geçersiz kılınan / kaldırılan kayıtları gizle</string>
|
||||||
<string name="select_profile">Düzenlenecek profili seç</string>
|
<string name="select_profile">Düzenlenecek profili seç</string>
|
||||||
<string name="refresh_from_nightscout">Nightscout\'tan Yenile</string>
|
<string name="refresh_from_nightscout">Nightscout\'tan Yenile</string>
|
||||||
<string name="remove_selected_items">Seçili nesneleri kaldır</string>
|
<string name="remove_selected_items">Seçili nesneleri kaldır</string>
|
||||||
|
@ -998,7 +1000,10 @@ Aktif Karbonhidratın ne kadar hızlı sindirildiğine ve KŞ\'nin beklenenden d
|
||||||
<string name="show_loop">Döngüyü göster</string>
|
<string name="show_loop">Döngüyü göster</string>
|
||||||
<string name="count_selected">%1$d seçildi</string>
|
<string name="count_selected">%1$d seçildi</string>
|
||||||
<string name="sort_label">Sırala</string>
|
<string name="sort_label">Sırala</string>
|
||||||
|
<string name="dialog_canceled">İletişim kutusu iptal edildi</string>
|
||||||
<string name="below" comment="below "in range"">Altında</string>
|
<string name="below" comment="below "in range"">Altında</string>
|
||||||
<string name="in_range">Aralık içinde</string>
|
<string name="in_range">Aralık içinde</string>
|
||||||
<string name="above" comment="above "in range"">Üstünde</string>
|
<string name="above" comment="above "in range"">Üstünde</string>
|
||||||
|
<string name="show_loop_records">Döngü kayıtlarını göster</string>
|
||||||
|
<string name="show_hide_records">Döngü kayıtlarını gizle</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -997,6 +997,7 @@
|
||||||
<string name="show_loop">显示闭环</string>
|
<string name="show_loop">显示闭环</string>
|
||||||
<string name="count_selected">已选中 %1$d</string>
|
<string name="count_selected">已选中 %1$d</string>
|
||||||
<string name="sort_label">排序</string>
|
<string name="sort_label">排序</string>
|
||||||
|
<string name="dialog_canceled">对话框已取消</string>
|
||||||
<string name="below" comment="below "in range"">底部</string>
|
<string name="below" comment="below "in range"">底部</string>
|
||||||
<string name="in_range">在范围内</string>
|
<string name="in_range">在范围内</string>
|
||||||
<string name="above" comment="above "in range"">上方</string>
|
<string name="above" comment="above "in range"">上方</string>
|
||||||
|
|
|
@ -173,10 +173,10 @@ class AutomationFragment : DaggerFragment(), OnStartDragListener {
|
||||||
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
override fun onBindViewHolder(holder: ViewHolder, position: Int) {
|
||||||
val automation = automationPlugin.at(position)
|
val automation = automationPlugin.at(position)
|
||||||
holder.binding.rootLayout.setBackgroundColor(
|
holder.binding.rootLayout.setBackgroundColor(
|
||||||
rh.gc(
|
rh.gac( context,
|
||||||
if (automation.userAction) R.color.mdtp_line_dark
|
if (automation.userAction) R.attr.userAction
|
||||||
else if (automation.areActionsValid()) R.color.ribbonDefault
|
else if (automation.areActionsValid()) R.attr.validActions
|
||||||
else R.color.errorAlertBackground
|
else R.attr.actionsError
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
holder.binding.eventTitle.text = automation.title
|
holder.binding.eventTitle.text = automation.title
|
||||||
|
|
|
@ -4,6 +4,7 @@ import android.graphics.Typeface
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
|
import info.nightscout.androidaps.automation.R
|
||||||
import info.nightscout.androidaps.plugins.general.automation.triggers.Trigger
|
import info.nightscout.androidaps.plugins.general.automation.triggers.Trigger
|
||||||
import info.nightscout.androidaps.utils.resources.ResourceHelper
|
import info.nightscout.androidaps.utils.resources.ResourceHelper
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@ class StaticLabel(private val rh: ResourceHelper) : Element() {
|
||||||
LinearLayout(root.context).apply {
|
LinearLayout(root.context).apply {
|
||||||
orientation = LinearLayout.HORIZONTAL
|
orientation = LinearLayout.HORIZONTAL
|
||||||
layoutParams = LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
|
layoutParams = LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
|
||||||
setBackgroundColor(rh.gc(android.R.color.black))
|
setBackgroundColor(rh.gac(context, R.attr.automationBackgroundColor))
|
||||||
addView(
|
addView(
|
||||||
TextView(root.context).apply {
|
TextView(root.context).apply {
|
||||||
text = label
|
text = label
|
||||||
|
|
|
@ -165,7 +165,7 @@ class TriggerConnector(injector: HasAndroidInjector) : Trigger(injector) {
|
||||||
text = rh.gs(connectorType.stringRes)
|
text = rh.gs(connectorType.stringRes)
|
||||||
gravity = gravity or Gravity.CENTER_VERTICAL
|
gravity = gravity or Gravity.CENTER_VERTICAL
|
||||||
setTypeface(typeface, Typeface.BOLD)
|
setTypeface(typeface, Typeface.BOLD)
|
||||||
setBackgroundColor(rh.gc(R.color.black_overlay))
|
setBackgroundColor(rh.gac(context, R.attr.automationOverlayColor))
|
||||||
layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT).also { ll ->
|
layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT).also { ll ->
|
||||||
ll.setMargins(rh.dpToPx(3), rh.dpToPx(3), rh.dpToPx(3), rh.dpToPx(3))
|
ll.setMargins(rh.dpToPx(3), rh.dpToPx(3), rh.dpToPx(3), rh.dpToPx(3))
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,33 +134,33 @@ public class ComboFragment extends DaggerFragment {
|
||||||
PumpState ps = comboPlugin.getPump().state;
|
PumpState ps = comboPlugin.getPump().state;
|
||||||
if (ps.insulinState == PumpState.EMPTY || ps.batteryState == PumpState.EMPTY
|
if (ps.insulinState == PumpState.EMPTY || ps.batteryState == PumpState.EMPTY
|
||||||
|| ps.activeAlert != null && ps.activeAlert.errorCode != null) {
|
|| ps.activeAlert != null && ps.activeAlert.errorCode != null) {
|
||||||
stateView.setTextColor(Color.RED);
|
stateView.setTextColor(rh.gac(getContext(), R.attr.warningColor));
|
||||||
stateView.setTypeface(null, Typeface.BOLD);
|
stateView.setTypeface(null, Typeface.BOLD);
|
||||||
} else if (comboPlugin.getPump().state.suspended
|
} else if (comboPlugin.getPump().state.suspended
|
||||||
|| ps.activeAlert != null && ps.activeAlert.warningCode != null) {
|
|| ps.activeAlert != null && ps.activeAlert.warningCode != null) {
|
||||||
stateView.setTextColor(Color.YELLOW);
|
stateView.setTextColor(rh.gac(getContext(), R.attr.omniYellowColor));
|
||||||
stateView.setTypeface(null, Typeface.BOLD);
|
stateView.setTypeface(null, Typeface.BOLD);
|
||||||
} else {
|
} else {
|
||||||
stateView.setTextColor(Color.WHITE);
|
stateView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
stateView.setTypeface(null, Typeface.NORMAL);
|
stateView.setTypeface(null, Typeface.NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
// activity
|
// activity
|
||||||
String activity = comboPlugin.getPump().activity;
|
String activity = comboPlugin.getPump().activity;
|
||||||
if (activity != null) {
|
if (activity != null) {
|
||||||
activityView.setTextColor(Color.WHITE);
|
activityView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
activityView.setTextSize(14);
|
activityView.setTextSize(14);
|
||||||
activityView.setText(activity);
|
activityView.setText(activity);
|
||||||
} else if (commandQueue.size() > 0) {
|
} else if (commandQueue.size() > 0) {
|
||||||
activityView.setTextColor(Color.WHITE);
|
activityView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
activityView.setTextSize(14);
|
activityView.setTextSize(14);
|
||||||
activityView.setText("");
|
activityView.setText("");
|
||||||
} else if (comboPlugin.isInitialized()) {
|
} else if (comboPlugin.isInitialized()) {
|
||||||
activityView.setTextColor(Color.WHITE);
|
activityView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
activityView.setTextSize(20);
|
activityView.setTextSize(20);
|
||||||
activityView.setText("{fa-bed}");
|
activityView.setText("{fa-bed}");
|
||||||
} else {
|
} else {
|
||||||
activityView.setTextColor(Color.RED);
|
activityView.setTextColor(rh.gac(getContext(), R.attr.warningColor));
|
||||||
activityView.setTextSize(14);
|
activityView.setTextSize(14);
|
||||||
activityView.setText(rh.gs(R.string.pump_unreachable));
|
activityView.setText(rh.gs(R.string.pump_unreachable));
|
||||||
}
|
}
|
||||||
|
@ -170,10 +170,10 @@ public class ComboFragment extends DaggerFragment {
|
||||||
batteryView.setTextSize(20);
|
batteryView.setTextSize(20);
|
||||||
if (ps.batteryState == PumpState.EMPTY) {
|
if (ps.batteryState == PumpState.EMPTY) {
|
||||||
batteryView.setText("{fa-battery-empty}");
|
batteryView.setText("{fa-battery-empty}");
|
||||||
batteryView.setTextColor(Color.RED);
|
batteryView.setTextColor(rh.gac(getContext(), R.attr.warningColor));
|
||||||
} else if (ps.batteryState == PumpState.LOW) {
|
} else if (ps.batteryState == PumpState.LOW) {
|
||||||
batteryView.setText("{fa-battery-quarter}");
|
batteryView.setText("{fa-battery-quarter}");
|
||||||
batteryView.setTextColor(Color.YELLOW);
|
batteryView.setTextColor(rh.gac(getContext(), R.attr.omniYellowColor));
|
||||||
} else {
|
} else {
|
||||||
batteryView.setText("{fa-battery-full}");
|
batteryView.setText("{fa-battery-full}");
|
||||||
batteryView.setTextColor(Color.WHITE);
|
batteryView.setTextColor(Color.WHITE);
|
||||||
|
@ -192,16 +192,16 @@ public class ComboFragment extends DaggerFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ps.insulinState == PumpState.UNKNOWN) {
|
if (ps.insulinState == PumpState.UNKNOWN) {
|
||||||
reservoirView.setTextColor(Color.WHITE);
|
reservoirView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
reservoirView.setTypeface(null, Typeface.NORMAL);
|
reservoirView.setTypeface(null, Typeface.NORMAL);
|
||||||
} else if (ps.insulinState == PumpState.LOW) {
|
} else if (ps.insulinState == PumpState.LOW) {
|
||||||
reservoirView.setTextColor(Color.YELLOW);
|
reservoirView.setTextColor(rh.gac(getContext(), R.attr.omniYellowColor));
|
||||||
reservoirView.setTypeface(null, Typeface.BOLD);
|
reservoirView.setTypeface(null, Typeface.BOLD);
|
||||||
} else if (ps.insulinState == PumpState.EMPTY) {
|
} else if (ps.insulinState == PumpState.EMPTY) {
|
||||||
reservoirView.setTextColor(Color.RED);
|
reservoirView.setTextColor(rh.gac(getContext(), R.attr.warningColor));
|
||||||
reservoirView.setTypeface(null, Typeface.BOLD);
|
reservoirView.setTypeface(null, Typeface.BOLD);
|
||||||
} else {
|
} else {
|
||||||
reservoirView.setTextColor(Color.WHITE);
|
reservoirView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
reservoirView.setTypeface(null, Typeface.NORMAL);
|
reservoirView.setTypeface(null, Typeface.NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -210,13 +210,13 @@ public class ComboFragment extends DaggerFragment {
|
||||||
long min = (System.currentTimeMillis() - comboPlugin.getPump().lastSuccessfulCmdTime) / 1000 / 60;
|
long min = (System.currentTimeMillis() - comboPlugin.getPump().lastSuccessfulCmdTime) / 1000 / 60;
|
||||||
if (comboPlugin.getPump().lastSuccessfulCmdTime + 60 * 1000 > System.currentTimeMillis()) {
|
if (comboPlugin.getPump().lastSuccessfulCmdTime + 60 * 1000 > System.currentTimeMillis()) {
|
||||||
lastConnectionView.setText(R.string.combo_pump_connected_now);
|
lastConnectionView.setText(R.string.combo_pump_connected_now);
|
||||||
lastConnectionView.setTextColor(Color.WHITE);
|
lastConnectionView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
} else if (comboPlugin.getPump().lastSuccessfulCmdTime + 30 * 60 * 1000 < System.currentTimeMillis()) {
|
} else if (comboPlugin.getPump().lastSuccessfulCmdTime + 30 * 60 * 1000 < System.currentTimeMillis()) {
|
||||||
lastConnectionView.setText(rh.gs(R.string.combo_no_pump_connection, min));
|
lastConnectionView.setText(rh.gs(R.string.combo_no_pump_connection, min));
|
||||||
lastConnectionView.setTextColor(Color.RED);
|
lastConnectionView.setTextColor(rh.gac(getContext(), R.attr.warningColor));
|
||||||
} else {
|
} else {
|
||||||
lastConnectionView.setText(minAgo);
|
lastConnectionView.setText(minAgo);
|
||||||
lastConnectionView.setTextColor(Color.WHITE);
|
lastConnectionView.setTextColor(rh.gac(getContext(), R.attr.defaultTextColor));
|
||||||
}
|
}
|
||||||
|
|
||||||
// last bolus
|
// last bolus
|
||||||
|
|
|
@ -109,25 +109,25 @@ public class ReadHistoryCommand extends BaseCommand {
|
||||||
if (!history.bolusHistory.isEmpty()) {
|
if (!history.bolusHistory.isEmpty()) {
|
||||||
aapsLogger.debug(LTag.PUMP, "Read bolus history (" + history.bolusHistory.size() + "):");
|
aapsLogger.debug(LTag.PUMP, "Read bolus history (" + history.bolusHistory.size() + "):");
|
||||||
for (Bolus bolus : history.bolusHistory) {
|
for (Bolus bolus : history.bolusHistory) {
|
||||||
aapsLogger.debug(LTag.PUMP, new Date(bolus.timestamp) + ": " + bolus.toString());
|
aapsLogger.debug(LTag.PUMP, new Date(bolus.timestamp) + ": " + bolus);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!history.pumpAlertHistory.isEmpty()) {
|
if (!history.pumpAlertHistory.isEmpty()) {
|
||||||
aapsLogger.debug(LTag.PUMP, "Read error history (" + history.pumpAlertHistory.size() + "):");
|
aapsLogger.debug(LTag.PUMP, "Read error history (" + history.pumpAlertHistory.size() + "):");
|
||||||
for (PumpAlert pumpAlert : history.pumpAlertHistory) {
|
for (PumpAlert pumpAlert : history.pumpAlertHistory) {
|
||||||
aapsLogger.debug(LTag.PUMP, new Date(pumpAlert.timestamp) + ": " + pumpAlert.toString());
|
aapsLogger.debug(LTag.PUMP, new Date(pumpAlert.timestamp) + ": " + pumpAlert);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!history.tddHistory.isEmpty()) {
|
if (!history.tddHistory.isEmpty()) {
|
||||||
aapsLogger.debug(LTag.PUMP, "Read TDD history (" + history.tddHistory.size() + "):");
|
aapsLogger.debug(LTag.PUMP, "Read TDD history (" + history.tddHistory.size() + "):");
|
||||||
for (Tdd tdd : history.tddHistory) {
|
for (Tdd tdd : history.tddHistory) {
|
||||||
aapsLogger.debug(LTag.PUMP, new Date(tdd.timestamp) + ": " + tdd.toString());
|
aapsLogger.debug(LTag.PUMP, new Date(tdd.timestamp) + ": " + tdd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!history.tbrHistory.isEmpty()) {
|
if (!history.tbrHistory.isEmpty()) {
|
||||||
aapsLogger.debug(LTag.PUMP, "Read TBR history (" + history.tbrHistory.size() + "):");
|
aapsLogger.debug(LTag.PUMP, "Read TBR history (" + history.tbrHistory.size() + "):");
|
||||||
for (Tbr tbr : history.tbrHistory) {
|
for (Tbr tbr : history.tbrHistory) {
|
||||||
aapsLogger.debug(LTag.PUMP, new Date(tbr.timestamp) + ": " + tbr.toString());
|
aapsLogger.debug(LTag.PUMP, new Date(tbr.timestamp) + ": " + tbr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,33 @@
|
||||||
package info.nightscout.androidaps.activities
|
package info.nightscout.androidaps.activities
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import info.nightscout.androidaps.core.R
|
import info.nightscout.androidaps.core.R
|
||||||
|
import info.nightscout.androidaps.events.EventThemeSwitch
|
||||||
|
import info.nightscout.androidaps.plugins.bus.RxBus
|
||||||
import info.nightscout.androidaps.utils.locale.LocaleHelper
|
import info.nightscout.androidaps.utils.locale.LocaleHelper
|
||||||
|
import io.reactivex.rxjava3.disposables.CompositeDisposable
|
||||||
|
import javax.inject.Inject
|
||||||
|
|
||||||
|
|
||||||
open class NoSplashAppCompatActivity : DaggerAppCompatActivityWithResult() {
|
open class NoSplashAppCompatActivity : DaggerAppCompatActivityWithResult() {
|
||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
@Inject lateinit var rxBus: RxBus
|
||||||
|
|
||||||
|
private val compositeDisposable = CompositeDisposable()
|
||||||
|
|
||||||
|
public override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setTheme(R.style.AppTheme_NoActionBar)
|
setTheme(R.style.AppTheme_NoActionBar)
|
||||||
|
|
||||||
|
compositeDisposable.add(rxBus.toObservable(EventThemeSwitch::class.java).subscribe {
|
||||||
|
recreate()
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun onDestroy() {
|
||||||
|
compositeDisposable.clear()
|
||||||
|
super.onDestroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun attachBaseContext(newBase: Context) {
|
override fun attachBaseContext(newBase: Context) {
|
||||||
|
|
|
@ -44,7 +44,6 @@ import kotlin.math.roundToInt
|
||||||
|
|
||||||
class TDDStatsActivity : NoSplashAppCompatActivity() {
|
class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
|
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var sp: SP
|
@Inject lateinit var sp: SP
|
||||||
@Inject lateinit var profileFunction: ProfileFunction
|
@Inject lateinit var profileFunction: ProfileFunction
|
||||||
@Inject lateinit var activePlugin: ActivePlugin
|
@Inject lateinit var activePlugin: ActivePlugin
|
||||||
|
@ -89,27 +88,27 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// add stats headers to tables
|
// add stats headers to tables
|
||||||
binding.mainTable.addView(
|
binding.mainTable.addView(
|
||||||
TableRow(this).also { trHead ->
|
TableRow(this).also { trHead ->
|
||||||
trHead.setBackgroundColor(Color.DKGRAY)
|
trHead.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
trHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
trHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
trHead.addView(TextView(this).also { labelDate ->
|
trHead.addView(TextView(this).also { labelDate ->
|
||||||
labelDate.text = rh.gs(R.string.date)
|
labelDate.text = rh.gs(R.string.date)
|
||||||
labelDate.setTextColor(Color.WHITE)
|
labelDate.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
trHead.addView(TextView(this).also { labelBasalRate ->
|
trHead.addView(TextView(this).also { labelBasalRate ->
|
||||||
labelBasalRate.text = rh.gs(R.string.basalrate)
|
labelBasalRate.text = rh.gs(R.string.basalrate)
|
||||||
labelBasalRate.setTextColor(Color.WHITE)
|
labelBasalRate.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
trHead.addView(TextView(this).also { labelBolus ->
|
trHead.addView(TextView(this).also { labelBolus ->
|
||||||
labelBolus.text = rh.gs(R.string.bolus)
|
labelBolus.text = rh.gs(R.string.bolus)
|
||||||
labelBolus.setTextColor(Color.WHITE)
|
labelBolus.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
trHead.addView(TextView(this).also { labelTdd ->
|
trHead.addView(TextView(this).also { labelTdd ->
|
||||||
labelTdd.text = rh.gs(R.string.tdd)
|
labelTdd.text = rh.gs(R.string.tdd)
|
||||||
labelTdd.setTextColor(Color.WHITE)
|
labelTdd.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
trHead.addView(TextView(this).also { labelRatio ->
|
trHead.addView(TextView(this).also { labelRatio ->
|
||||||
labelRatio.text = rh.gs(R.string.ratio)
|
labelRatio.text = rh.gs(R.string.ratio)
|
||||||
labelRatio.setTextColor(Color.WHITE)
|
labelRatio.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
@ -117,19 +116,19 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// cumulative table
|
// cumulative table
|
||||||
binding.cumulativeTable.addView(
|
binding.cumulativeTable.addView(
|
||||||
TableRow(this).also { ctrHead ->
|
TableRow(this).also { ctrHead ->
|
||||||
ctrHead.setBackgroundColor(Color.DKGRAY)
|
ctrHead.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
ctrHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
ctrHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
ctrHead.addView(TextView(this).also { labelCumAmountDays ->
|
ctrHead.addView(TextView(this).also { labelCumAmountDays ->
|
||||||
labelCumAmountDays.text = rh.gs(R.string.amount_days)
|
labelCumAmountDays.text = rh.gs(R.string.amount_days)
|
||||||
labelCumAmountDays.setTextColor(Color.WHITE)
|
labelCumAmountDays.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
ctrHead.addView(TextView(this).also { labelCumTdd ->
|
ctrHead.addView(TextView(this).also { labelCumTdd ->
|
||||||
labelCumTdd.text = rh.gs(R.string.tdd)
|
labelCumTdd.text = rh.gs(R.string.tdd)
|
||||||
labelCumTdd.setTextColor(Color.WHITE)
|
labelCumTdd.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
ctrHead.addView(TextView(this).also { labelCumRatio ->
|
ctrHead.addView(TextView(this).also { labelCumRatio ->
|
||||||
labelCumRatio.text = rh.gs(R.string.ratio)
|
labelCumRatio.text = rh.gs(R.string.ratio)
|
||||||
labelCumRatio.setTextColor(Color.WHITE)
|
labelCumRatio.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
@ -137,19 +136,19 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// exponential table
|
// exponential table
|
||||||
binding.expweightTable.addView(
|
binding.expweightTable.addView(
|
||||||
TableRow(this).also { etrHead ->
|
TableRow(this).also { etrHead ->
|
||||||
etrHead.setBackgroundColor(Color.DKGRAY)
|
etrHead.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
etrHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
etrHead.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
etrHead.addView(TextView(this).also { labelExpWeight ->
|
etrHead.addView(TextView(this).also { labelExpWeight ->
|
||||||
labelExpWeight.text = rh.gs(R.string.weight)
|
labelExpWeight.text = rh.gs(R.string.weight)
|
||||||
labelExpWeight.setTextColor(Color.WHITE)
|
labelExpWeight.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
etrHead.addView(TextView(this).also { labelExpTdd ->
|
etrHead.addView(TextView(this).also { labelExpTdd ->
|
||||||
labelExpTdd.text = rh.gs(R.string.tdd)
|
labelExpTdd.text = rh.gs(R.string.tdd)
|
||||||
labelExpTdd.setTextColor(Color.WHITE)
|
labelExpTdd.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
etrHead.addView(TextView(this).also { labelExpRatio ->
|
etrHead.addView(TextView(this).also { labelExpRatio ->
|
||||||
labelExpRatio.text = rh.gs(R.string.ratio)
|
labelExpRatio.text = rh.gs(R.string.ratio)
|
||||||
labelExpRatio.setTextColor(Color.WHITE)
|
labelExpRatio.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
@ -285,9 +284,9 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// Create the table row
|
// Create the table row
|
||||||
binding.mainTable.addView(
|
binding.mainTable.addView(
|
||||||
TableRow(this@TDDStatsActivity).also { tr ->
|
TableRow(this@TDDStatsActivity).also { tr ->
|
||||||
if (i % 2 != 0) tr.setBackgroundColor(Color.DKGRAY)
|
if (i % 2 != 0) tr.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
if (dummies.contains(record))
|
if (dummies.contains(record))
|
||||||
tr.setBackgroundColor(Color.argb(125, 255, 0, 0))
|
tr.setBackgroundColor(rh.gac(this, R.attr.dummyBackground))
|
||||||
|
|
||||||
tr.id = 100 + i
|
tr.id = 100 + i
|
||||||
tr.layoutParams = TableLayout.LayoutParams(
|
tr.layoutParams = TableLayout.LayoutParams(
|
||||||
|
@ -299,27 +298,27 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
tr.addView(TextView(this@TDDStatsActivity).also { labelDATE ->
|
tr.addView(TextView(this@TDDStatsActivity).also { labelDATE ->
|
||||||
labelDATE.id = 200 + i
|
labelDATE.id = 200 + i
|
||||||
labelDATE.text = df1.format(Date(record.timestamp))
|
labelDATE.text = df1.format(Date(record.timestamp))
|
||||||
labelDATE.setTextColor(Color.WHITE)
|
labelDATE.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
tr.addView(TextView(this@TDDStatsActivity).also { labelBASAL ->
|
tr.addView(TextView(this@TDDStatsActivity).also { labelBASAL ->
|
||||||
labelBASAL.id = 300 + i
|
labelBASAL.id = 300 + i
|
||||||
labelBASAL.text = rh.gs(R.string.formatinsulinunits, record.basalAmount)
|
labelBASAL.text = rh.gs(R.string.formatinsulinunits, record.basalAmount)
|
||||||
labelBASAL.setTextColor(Color.WHITE)
|
labelBASAL.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
tr.addView(TextView(this@TDDStatsActivity).also { labelBOLUS ->
|
tr.addView(TextView(this@TDDStatsActivity).also { labelBOLUS ->
|
||||||
labelBOLUS.id = 400 + i
|
labelBOLUS.id = 400 + i
|
||||||
labelBOLUS.text = rh.gs(R.string.formatinsulinunits, record.bolusAmount)
|
labelBOLUS.text = rh.gs(R.string.formatinsulinunits, record.bolusAmount)
|
||||||
labelBOLUS.setTextColor(Color.WHITE)
|
labelBOLUS.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
tr.addView(TextView(this@TDDStatsActivity).also { labelTDD ->
|
tr.addView(TextView(this@TDDStatsActivity).also { labelTDD ->
|
||||||
labelTDD.id = 500 + i
|
labelTDD.id = 500 + i
|
||||||
labelTDD.text = rh.gs(R.string.formatinsulinunits, tdd)
|
labelTDD.text = rh.gs(R.string.formatinsulinunits, tdd)
|
||||||
labelTDD.setTextColor(Color.WHITE)
|
labelTDD.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
tr.addView(TextView(this@TDDStatsActivity).also { labelRATIO ->
|
tr.addView(TextView(this@TDDStatsActivity).also { labelRATIO ->
|
||||||
labelRATIO.id = 600 + i
|
labelRATIO.id = 600 + i
|
||||||
labelRATIO.text = (100 * tdd / magicNumber).roundToInt().toString() + "%"
|
labelRATIO.text = (100 * tdd / magicNumber).roundToInt().toString() + "%"
|
||||||
labelRATIO.setTextColor(Color.WHITE)
|
labelRATIO.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
@ -338,7 +337,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// Create the cumulative table row
|
// Create the cumulative table row
|
||||||
binding.cumulativeTable.addView(
|
binding.cumulativeTable.addView(
|
||||||
TableRow(this@TDDStatsActivity).also { ctr ->
|
TableRow(this@TDDStatsActivity).also { ctr ->
|
||||||
if (i % 2 == 0) ctr.setBackgroundColor(Color.DKGRAY)
|
if (i % 2 == 0) ctr.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
ctr.id = 700 + i
|
ctr.id = 700 + i
|
||||||
ctr.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
ctr.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
|
|
||||||
|
@ -346,19 +345,19 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
ctr.addView(TextView(this@TDDStatsActivity).also { labelDAYS ->
|
ctr.addView(TextView(this@TDDStatsActivity).also { labelDAYS ->
|
||||||
labelDAYS.id = 800 + i
|
labelDAYS.id = 800 + i
|
||||||
labelDAYS.text = i.toString()
|
labelDAYS.text = i.toString()
|
||||||
labelDAYS.setTextColor(Color.WHITE)
|
labelDAYS.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
|
|
||||||
ctr.addView(TextView(this@TDDStatsActivity).also { labelCUMTDD ->
|
ctr.addView(TextView(this@TDDStatsActivity).also { labelCUMTDD ->
|
||||||
labelCUMTDD.id = 900 + i
|
labelCUMTDD.id = 900 + i
|
||||||
labelCUMTDD.text = rh.gs(R.string.formatinsulinunits, sum / i)
|
labelCUMTDD.text = rh.gs(R.string.formatinsulinunits, sum / i)
|
||||||
labelCUMTDD.setTextColor(Color.WHITE)
|
labelCUMTDD.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
|
|
||||||
ctr.addView(TextView(this@TDDStatsActivity).also { labelCUMRATIO ->
|
ctr.addView(TextView(this@TDDStatsActivity).also { labelCUMRATIO ->
|
||||||
labelCUMRATIO.id = 1000 + i
|
labelCUMRATIO.id = 1000 + i
|
||||||
labelCUMRATIO.text = (100 * sum / i / magicNumber).roundToInt().toString() + "%"
|
labelCUMRATIO.text = (100 * sum / i / magicNumber).roundToInt().toString() + "%"
|
||||||
labelCUMRATIO.setTextColor(Color.WHITE)
|
labelCUMRATIO.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
@ -366,7 +365,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
if (isOldData(historyList) && activePlugin.activePump.pumpDescription.needsManualTDDLoad) {
|
if (isOldData(historyList) && activePlugin.activePump.pumpDescription.needsManualTDDLoad) {
|
||||||
binding.message.visibility = View.VISIBLE
|
binding.message.visibility = View.VISIBLE
|
||||||
binding.message.text = rh.gs(R.string.olddata_Message)
|
binding.message.text = rh.gs(R.string.olddata_Message)
|
||||||
} else binding.mainTable.setBackgroundColor(Color.TRANSPARENT)
|
} else binding.mainTable.setBackgroundColor(rh.gac(this, R.attr.mainTableBackground))
|
||||||
if (historyList.isNotEmpty() && df1.format(Date(historyList[0].timestamp)) == df1.format(Date())) {
|
if (historyList.isNotEmpty() && df1.format(Date(historyList[0].timestamp)) == df1.format(Date())) {
|
||||||
//Today should not be included
|
//Today should not be included
|
||||||
historyList.removeAt(0)
|
historyList.removeAt(0)
|
||||||
|
@ -390,7 +389,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
// Create the exponential table row
|
// Create the exponential table row
|
||||||
binding.expweightTable.addView(
|
binding.expweightTable.addView(
|
||||||
TableRow(this@TDDStatsActivity).also { etr ->
|
TableRow(this@TDDStatsActivity).also { etr ->
|
||||||
if (i % 2 != 0) etr.setBackgroundColor(Color.DKGRAY)
|
if (i % 2 != 0) etr.setBackgroundColor(rh.gac(this, R.attr.tddHeaderBackground))
|
||||||
etr.id = 1100 + i
|
etr.id = 1100 + i
|
||||||
etr.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
etr.layoutParams = TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
|
|
||||||
|
@ -398,7 +397,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
etr.addView(TextView(this@TDDStatsActivity).also { labelWEIGHT ->
|
etr.addView(TextView(this@TDDStatsActivity).also { labelWEIGHT ->
|
||||||
labelWEIGHT.id = 1200 + i
|
labelWEIGHT.id = 1200 + i
|
||||||
labelWEIGHT.text = "0.3\n0.5\n0.7"
|
labelWEIGHT.text = "0.3\n0.5\n0.7"
|
||||||
labelWEIGHT.setTextColor(Color.WHITE)
|
labelWEIGHT.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
etr.addView(TextView(this@TDDStatsActivity).also { labelEXPTDD ->
|
etr.addView(TextView(this@TDDStatsActivity).also { labelEXPTDD ->
|
||||||
labelEXPTDD.id = 1300 + i
|
labelEXPTDD.id = 1300 + i
|
||||||
|
@ -407,7 +406,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
${rh.gs(R.string.formatinsulinunits, weighted05)}
|
${rh.gs(R.string.formatinsulinunits, weighted05)}
|
||||||
${rh.gs(R.string.formatinsulinunits, weighted07)}
|
${rh.gs(R.string.formatinsulinunits, weighted07)}
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
labelEXPTDD.setTextColor(Color.WHITE)
|
labelEXPTDD.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
etr.addView(TextView(this@TDDStatsActivity).also { labelEXPRATIO ->
|
etr.addView(TextView(this@TDDStatsActivity).also { labelEXPRATIO ->
|
||||||
labelEXPRATIO.id = 1400 + i
|
labelEXPRATIO.id = 1400 + i
|
||||||
|
@ -416,7 +415,7 @@ class TDDStatsActivity : NoSplashAppCompatActivity() {
|
||||||
${(100 * weighted05 / magicNumber).roundToInt()}%
|
${(100 * weighted05 / magicNumber).roundToInt()}%
|
||||||
${(100 * weighted07 / magicNumber).roundToInt()}%
|
${(100 * weighted07 / magicNumber).roundToInt()}%
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
labelEXPRATIO.setTextColor(Color.WHITE)
|
labelEXPRATIO.setTextColor(rh.gac(this, R.attr.defaultTextColor))
|
||||||
})
|
})
|
||||||
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
}, TableLayout.LayoutParams(TableLayout.LayoutParams.MATCH_PARENT, TableLayout.LayoutParams.WRAP_CONTENT)
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
package info.nightscout.androidaps.events
|
package info.nightscout.androidaps.events
|
||||||
|
|
||||||
class EventThemeSwitch : Event()
|
class EventThemeSwitch : Event()
|
|
@ -87,8 +87,8 @@ class PrefImportListActivity : DaggerAppCompatActivity() {
|
||||||
|
|
||||||
prefFile.metadata[PrefsMetadataKey.AAPS_FLAVOUR]?.let {
|
prefFile.metadata[PrefsMetadataKey.AAPS_FLAVOUR]?.let {
|
||||||
metaVariantFormat.text = it.value
|
metaVariantFormat.text = it.value
|
||||||
val color = if (it.status == PrefsStatus.OK) R.color.metadataOk else R.color.metadataTextWarning
|
val colorattr = if (it.status == PrefsStatus.OK) R.attr.metadataTextOkColor else R.attr.metadataTextWarningColor
|
||||||
metaVariantFormat.setTextColor(rh.gc(color))
|
metaVariantFormat.setTextColor(rh.gac( metaVariantFormat.context, colorattr))
|
||||||
}
|
}
|
||||||
|
|
||||||
prefFile.metadata[PrefsMetadataKey.CREATED_AT]?.let {
|
prefFile.metadata[PrefsMetadataKey.CREATED_AT]?.let {
|
||||||
|
@ -97,8 +97,8 @@ class PrefImportListActivity : DaggerAppCompatActivity() {
|
||||||
|
|
||||||
prefFile.metadata[PrefsMetadataKey.AAPS_VERSION]?.let {
|
prefFile.metadata[PrefsMetadataKey.AAPS_VERSION]?.let {
|
||||||
metaAppVersion.text = it.value
|
metaAppVersion.text = it.value
|
||||||
val color = if (it.status == PrefsStatus.OK) R.color.metadataOk else R.color.metadataTextWarning
|
val colorattr = if (it.status == PrefsStatus.OK) R.attr.metadataTextOkColor else R.attr.metadataTextWarningColor
|
||||||
metaAppVersion.setTextColor(rh.gc(color))
|
metaAppVersion.setTextColor(rh.gac( metaVariantFormat.context, colorattr))
|
||||||
}
|
}
|
||||||
|
|
||||||
prefFile.metadata[PrefsMetadataKey.DEVICE_NAME]?.let {
|
prefFile.metadata[PrefsMetadataKey.DEVICE_NAME]?.let {
|
||||||
|
|
|
@ -163,10 +163,8 @@ public class PointsWithLabelGraphSeries<E extends DataPointWithLabelInterface> e
|
||||||
double x = graphWidth * ratX;
|
double x = graphWidth * ratX;
|
||||||
|
|
||||||
// overdraw
|
// overdraw
|
||||||
boolean overdraw = false;
|
boolean overdraw = x > graphWidth;
|
||||||
if (x > graphWidth) { // end right
|
// end right
|
||||||
overdraw = true;
|
|
||||||
}
|
|
||||||
if (y < 0) { // end bottom
|
if (y < 0) { // end bottom
|
||||||
overdraw = true;
|
overdraw = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package info.nightscout.androidaps.utils
|
package info.nightscout.androidaps.utils
|
||||||
|
|
||||||
import android.graphics.Color
|
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import info.nightscout.androidaps.core.R
|
import info.nightscout.androidaps.core.R
|
||||||
import info.nightscout.androidaps.database.entities.TherapyEvent
|
import info.nightscout.androidaps.database.entities.TherapyEvent
|
||||||
|
@ -12,28 +11,25 @@ import javax.inject.Singleton
|
||||||
@Singleton
|
@Singleton
|
||||||
class WarnColors @Inject constructor(val rh: ResourceHelper) {
|
class WarnColors @Inject constructor(val rh: ResourceHelper) {
|
||||||
|
|
||||||
private val normalColor = Color.WHITE
|
|
||||||
private val warnColor = Color.YELLOW
|
|
||||||
private val urgentColor = Color.RED
|
|
||||||
|
|
||||||
fun setColor(view: TextView?, value: Double, warnLevel: Double, urgentLevel: Double) =
|
fun setColor(view: TextView?, value: Double, warnLevel: Double, urgentLevel: Double) =
|
||||||
view?.setTextColor(when {
|
view?.setTextColor( rh.gac( view.context ,when {
|
||||||
value >= urgentLevel -> urgentColor
|
value >= urgentLevel -> R.attr.urgentColor
|
||||||
value >= warnLevel -> warnColor
|
value >= warnLevel -> R.attr.warnColor
|
||||||
else -> normalColor
|
else -> R.attr.defaultTextColor
|
||||||
})
|
}))
|
||||||
|
|
||||||
fun setColorInverse(view: TextView?, value: Double, warnLevel: Double, urgentLevel: Double) =
|
fun setColorInverse(view: TextView?, value: Double, warnLevel: Double, urgentLevel: Double) =
|
||||||
view?.setTextColor(when {
|
view?.setTextColor( rh.gac( view.context , when {
|
||||||
value <= urgentLevel -> urgentColor
|
value <= urgentLevel -> R.attr.urgentColor
|
||||||
value <= warnLevel -> warnColor
|
value <= warnLevel -> R.attr.warnColor
|
||||||
else -> normalColor
|
else -> R.attr.defaultTextColor
|
||||||
})
|
}))
|
||||||
|
|
||||||
fun setColorByAge(view: TextView?, therapyEvent: TherapyEvent, warnThreshold: Double, urgentThreshold: Double) =
|
fun setColorByAge(view: TextView?, therapyEvent: TherapyEvent, warnThreshold: Double, urgentThreshold: Double) =
|
||||||
view?.setTextColor(when {
|
view?.setTextColor( rh.gac( view.context , when {
|
||||||
therapyEvent.isOlderThan(urgentThreshold) -> rh.gc(R.color.low)
|
therapyEvent.isOlderThan(urgentThreshold) -> R.attr.lowColor
|
||||||
therapyEvent.isOlderThan(warnThreshold) -> rh.gc(R.color.high)
|
therapyEvent.isOlderThan(warnThreshold) -> R.attr.highColor
|
||||||
else -> Color.WHITE
|
else -> R.attr.defaultTextColor
|
||||||
})
|
}))
|
||||||
}
|
}
|
|
@ -3,6 +3,6 @@
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
<solid android:color="?attr/totalBackground"/>
|
<solid android:color="?attr/totalBackground"/>
|
||||||
<stroke android:width="1dp" android:color="?attr/colorOnSecondary"/>
|
<stroke android:width="1dp" android:color="?attr/colorControlNormal"/>
|
||||||
<corners android:radius="4dp" />
|
<corners android:radius="4dp" />
|
||||||
</shape>
|
</shape>
|
|
@ -3,7 +3,7 @@
|
||||||
<item android:bottom="0dp">
|
<item android:bottom="0dp">
|
||||||
<shape
|
<shape
|
||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
<stroke android:width="1dp" android:color="?attr/colorOnSecondary"/>
|
<stroke android:width="1dp" android:color="?attr/colorControlNormal"/>
|
||||||
<solid android:color="@android:color/white" />
|
<solid android:color="@android:color/white" />
|
||||||
<corners android:radius="0dp" />
|
<corners android:radius="0dp" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="@color/extendedBolus" android:pathData="M15.714,7.697l0.353,-0.684c0.18,-0.348 0.043,-0.775 -0.305,-0.955c-0.351,-0.181 -0.775,-0.043 -0.955,0.305l-0.354,0.685c-0.379,-0.148 -0.772,-0.265 -1.18,-0.344V6.106c0.45,-0.061 0.802,-0.431 0.802,-0.897c0,-0.509 -0.412,-0.921 -0.921,-0.921h-2.313c-0.509,0 -0.921,0.413 -0.921,0.921c0,0.467 0.352,0.836 0.802,0.897v0.598c-3.125,0.599 -5.495,3.349 -5.495,6.646c0,3.732 3.037,6.77 6.77,6.77c3.732,0 6.77,-3.037 6.77,-6.77C18.768,10.989 17.551,8.909 15.714,7.697zM11.998,19.119c-3.182,0 -5.77,-2.588 -5.77,-5.77s2.588,-5.77 5.77,-5.77s5.77,2.588 5.77,5.77S15.18,19.119 11.998,19.119z"/>
|
<path android:fillColor="?attr/extBolusColor"
|
||||||
<path android:fillColor="@color/extendedBolus" android:pathData="M12,8.814c-0.086,0 -0.169,0.035 -0.23,0.096s-0.096,0.144 -0.096,0.23v4.198c0,0.08 0.029,0.157 0.083,0.217l2.789,3.14c0.058,0.064 0.139,0.104 0.226,0.108c0.006,0.001 0.013,0.001 0.019,0.001c0.08,0 0.157,-0.029 0.217,-0.083c0.971,-0.866 1.527,-2.095 1.527,-3.372C16.533,10.85 14.5,8.816 12,8.814z"/>
|
android:pathData="M15.714,7.697l0.353,-0.684c0.18,-0.348 0.043,-0.775 -0.305,-0.955c-0.351,-0.181 -0.775,-0.043 -0.955,0.305l-0.354,0.685c-0.379,-0.148 -0.772,-0.265 -1.18,-0.344V6.106c0.45,-0.061 0.802,-0.431 0.802,-0.897c0,-0.509 -0.412,-0.921 -0.921,-0.921h-2.313c-0.509,0 -0.921,0.413 -0.921,0.921c0,0.467 0.352,0.836 0.802,0.897v0.598c-3.125,0.599 -5.495,3.349 -5.495,6.646c0,3.732 3.037,6.77 6.77,6.77c3.732,0 6.77,-3.037 6.77,-6.77C18.768,10.989 17.551,8.909 15.714,7.697zM11.998,19.119c-3.182,0 -5.77,-2.588 -5.77,-5.77s2.588,-5.77 5.77,-5.77s5.77,2.588 5.77,5.77S15.18,19.119 11.998,19.119z"/>
|
||||||
|
<path android:fillColor="?attr/extBolusColor" android:pathData="M12,8.814c-0.086,0 -0.169,0.035 -0.23,0.096s-0.096,0.144 -0.096,0.23v4.198c0,0.08 0.029,0.157 0.083,0.217l2.789,3.14c0.058,0.064 0.139,0.104 0.226,0.108c0.006,0.001 0.013,0.001 0.019,0.001c0.08,0 0.157,-0.029 0.217,-0.083c0.971,-0.866 1.527,-2.095 1.527,-3.372C16.533,10.85 14.5,8.816 12,8.814z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#67DFE8"
|
android:fillColor="?attr/icBolusColor"
|
||||||
android:pathData="M18.501,12.002l-0.428,0.564L8.179,5.064c-0.092,-0.07 -0.212,-0.09 -0.323,-0.055L5.115,5.89L1.571,3.501L4.755,6.36L4.647,9.243c-0.004,0.116 0.047,0.226 0.14,0.296l9.895,7.502l-0.428,0.564c-0.26,0.343 -0.193,0.832 0.15,1.092s0.832,0.193 1.092,-0.15l1.653,-2.18l2.219,1.683l-0.719,0.948c-0.26,0.343 -0.193,0.832 0.15,1.092c0.343,0.26 0.832,0.193 1.092,-0.15l2.379,-3.138c0.26,-0.343 0.193,-0.832 -0.15,-1.092c-0.343,-0.26 -0.832,-0.193 -1.092,0.15l-0.719,0.948l-2.219,-1.683l1.653,-2.18c0.26,-0.343 0.193,-0.832 -0.15,-1.092S18.762,11.659 18.501,12.002zM5.458,6.524l2.44,-0.783l9.748,7.39L17.26,13.64l-5.754,-4.362c-0.091,-0.069 -0.221,-0.053 -0.293,0.035L9.087,11.91l-0.67,-0.508l1.526,-1.833c0.002,-0.002 0.004,-0.005 0.006,-0.008c0.068,-0.09 0.054,-0.219 -0.033,-0.291c-0.09,-0.075 -0.224,-0.063 -0.299,0.027l-1.538,1.848l-0.769,-0.583l1.526,-1.833c0.002,-0.002 0.004,-0.005 0.006,-0.008c0.068,-0.09 0.054,-0.219 -0.033,-0.291c-0.09,-0.075 -0.224,-0.063 -0.299,0.027L6.97,10.305L6.201,9.721l1.526,-1.833C7.728,7.886 7.731,7.882 7.732,7.88c0.068,-0.09 0.054,-0.219 -0.033,-0.291C7.609,7.513 7.475,7.526 7.4,7.616L5.861,9.464L5.362,9.085L5.458,6.524z" />
|
android:pathData="M18.501,12.002l-0.428,0.564L8.179,5.064c-0.092,-0.07 -0.212,-0.09 -0.323,-0.055L5.115,5.89L1.571,3.501L4.755,6.36L4.647,9.243c-0.004,0.116 0.047,0.226 0.14,0.296l9.895,7.502l-0.428,0.564c-0.26,0.343 -0.193,0.832 0.15,1.092s0.832,0.193 1.092,-0.15l1.653,-2.18l2.219,1.683l-0.719,0.948c-0.26,0.343 -0.193,0.832 0.15,1.092c0.343,0.26 0.832,0.193 1.092,-0.15l2.379,-3.138c0.26,-0.343 0.193,-0.832 -0.15,-1.092c-0.343,-0.26 -0.832,-0.193 -1.092,0.15l-0.719,0.948l-2.219,-1.683l1.653,-2.18c0.26,-0.343 0.193,-0.832 -0.15,-1.092S18.762,11.659 18.501,12.002zM5.458,6.524l2.44,-0.783l9.748,7.39L17.26,13.64l-5.754,-4.362c-0.091,-0.069 -0.221,-0.053 -0.293,0.035L9.087,11.91l-0.67,-0.508l1.526,-1.833c0.002,-0.002 0.004,-0.005 0.006,-0.008c0.068,-0.09 0.054,-0.219 -0.033,-0.291c-0.09,-0.075 -0.224,-0.063 -0.299,0.027l-1.538,1.848l-0.769,-0.583l1.526,-1.833c0.002,-0.002 0.004,-0.005 0.006,-0.008c0.068,-0.09 0.054,-0.219 -0.033,-0.291c-0.09,-0.075 -0.224,-0.063 -0.299,0.027L6.97,10.305L6.201,9.721l1.526,-1.833C7.728,7.886 7.731,7.882 7.732,7.88c0.068,-0.09 0.054,-0.219 -0.033,-0.291C7.609,7.513 7.475,7.526 7.4,7.616L5.861,9.464L5.362,9.085L5.458,6.524z" />
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#67E86A" android:pathData="M17.625,15.345h-4.083c-0.063,0 -0.113,0.051 -0.113,0.113v1.292c0,0.063 0.051,0.113 0.113,0.113h4.083c0.063,0 0.113,-0.051 0.113,-0.113v-1.292C17.738,15.396 17.688,15.345 17.625,15.345z"/>
|
<path android:fillColor="?attr/icCalculatorColor"
|
||||||
<path android:fillColor="#67E86A" android:pathData="M16.343,14.036c0,-0.063 -0.051,-0.113 -0.113,-0.113h-1.292c-0.063,0 -0.113,0.051 -0.113,0.113v1.016h1.519V14.036z"/>
|
android:pathData="M17.625,15.345h-4.083c-0.063,0 -0.113,0.051 -0.113,0.113v1.292c0,0.063 0.051,0.113 0.113,0.113h4.083c0.063,0 0.113,-0.051 0.113,-0.113v-1.292C17.738,15.396 17.688,15.345 17.625,15.345z"/>
|
||||||
<path android:fillColor="#67E86A" android:pathData="M14.824,18.119c0,0.063 0.051,0.113 0.113,0.113h1.292c0.063,0 0.113,-0.051 0.113,-0.113v-1.017h-1.519V18.119z"/>
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M16.343,14.036c0,-0.063 -0.051,-0.113 -0.113,-0.113h-1.292c-0.063,0 -0.113,0.051 -0.113,0.113v1.016h1.519V14.036z"/>
|
||||||
<path android:fillColor="#67E86A" android:pathData="M19.836,1.96h-15.1c-0.344,0 -0.624,0.279 -0.624,0.624v18.375c0,0.345 0.279,0.624 0.624,0.624h15.1c0.345,0 0.624,-0.279 0.624,-0.624V2.583C20.46,2.239 20.181,1.96 19.836,1.96zM19.212,20.334H5.36V7.04h13.852V20.334zM19.212,5.793H5.36V3.207h13.852V5.793z"/>
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M14.824,18.119c0,0.063 0.051,0.113 0.113,0.113h1.292c0.063,0 0.113,-0.051 0.113,-0.113v-1.017h-1.519V18.119z"/>
|
||||||
<path android:fillColor="#67E86A" android:pathData="M13.542,11.363h4.083c0.063,0 0.113,-0.051 0.113,-0.113V9.958c0,-0.063 -0.051,-0.113 -0.113,-0.113h-4.083c-0.063,0 -0.113,0.051 -0.113,0.113v1.292C13.429,11.313 13.479,11.363 13.542,11.363z"/>
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M19.836,1.96h-15.1c-0.344,0 -0.624,0.279 -0.624,0.624v18.375c0,0.345 0.279,0.624 0.624,0.624h15.1c0.345,0 0.624,-0.279 0.624,-0.624V2.583C20.46,2.239 20.181,1.96 19.836,1.96zM19.212,20.334H5.36V7.04h13.852V20.334zM19.212,5.793H5.36V3.207h13.852V5.793z"/>
|
||||||
<path android:fillColor="#67E86A" android:pathData="M7.042,11.363h1.283v1.282c0,0.063 0.051,0.113 0.113,0.113h1.292c0.063,0 0.113,-0.051 0.113,-0.113v-1.282h1.283c0.063,0 0.113,-0.051 0.113,-0.113V9.958c0,-0.063 -0.051,-0.113 -0.113,-0.113H9.842V8.563c0,-0.063 -0.051,-0.113 -0.113,-0.113H8.438c-0.063,0 -0.113,0.051 -0.113,0.113v1.283H7.042c-0.063,0 -0.113,0.051 -0.113,0.113v1.292C6.928,11.313 6.979,11.363 7.042,11.363z"/>
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M13.542,11.363h4.083c0.063,0 0.113,-0.051 0.113,-0.113V9.958c0,-0.063 -0.051,-0.113 -0.113,-0.113h-4.083c-0.063,0 -0.113,0.051 -0.113,0.113v1.292C13.429,11.313 13.479,11.363 13.542,11.363z"/>
|
||||||
<path android:fillColor="#67E86A" android:pathData="M10.157,16.078l0.907,-0.907c0.021,-0.021 0.033,-0.05 0.033,-0.08s-0.012,-0.059 -0.033,-0.08l-0.914,-0.913c-0.044,-0.045 -0.116,-0.045 -0.16,0l-0.907,0.907l-0.907,-0.907c-0.044,-0.045 -0.116,-0.045 -0.16,0l-0.913,0.913c-0.044,0.044 -0.044,0.116 0,0.16l0.907,0.907l-0.907,0.907c-0.044,0.044 -0.044,0.116 0,0.16l0.913,0.914c0.021,0.021 0.05,0.033 0.08,0.033s0.059,-0.012 0.08,-0.033l0.907,-0.907l0.907,0.907c0.021,0.021 0.05,0.033 0.08,0.033s0.059,-0.012 0.08,-0.033l0.914,-0.914c0.044,-0.044 0.044,-0.116 0,-0.16L10.157,16.078z"/>
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M7.042,11.363h1.283v1.282c0,0.063 0.051,0.113 0.113,0.113h1.292c0.063,0 0.113,-0.051 0.113,-0.113v-1.282h1.283c0.063,0 0.113,-0.051 0.113,-0.113V9.958c0,-0.063 -0.051,-0.113 -0.113,-0.113H9.842V8.563c0,-0.063 -0.051,-0.113 -0.113,-0.113H8.438c-0.063,0 -0.113,0.051 -0.113,0.113v1.283H7.042c-0.063,0 -0.113,0.051 -0.113,0.113v1.292C6.928,11.313 6.979,11.363 7.042,11.363z"/>
|
||||||
|
<path android:fillColor="?attr/icCalculatorColor" android:pathData="M10.157,16.078l0.907,-0.907c0.021,-0.021 0.033,-0.05 0.033,-0.08s-0.012,-0.059 -0.033,-0.08l-0.914,-0.913c-0.044,-0.045 -0.116,-0.045 -0.16,0l-0.907,0.907l-0.907,-0.907c-0.044,-0.045 -0.116,-0.045 -0.16,0l-0.913,0.913c-0.044,0.044 -0.044,0.116 0,0.16l0.907,0.907l-0.907,0.907c-0.044,0.044 -0.044,0.116 0,0.16l0.913,0.914c0.021,0.021 0.05,0.033 0.08,0.033s0.059,-0.012 0.08,-0.033l0.907,-0.907l0.907,0.907c0.021,0.021 0.05,0.033 0.08,0.033s0.059,-0.012 0.08,-0.033l0.914,-0.914c0.044,-0.044 0.044,-0.116 0,-0.16L10.157,16.078z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M7.305,4.482c1.782,2.914 4.332,5.382 3.916,9.05c-0.256,2.254 -2.529,3.635 -4.783,3.199c-2.145,-0.415 -3.625,-2.546 -3.171,-4.728C3.858,9.168 5.537,6.894 7.305,4.482zM5.08,10.061c-0.212,0.638 -0.489,1.262 -0.621,1.916c-0.205,1.017 -0.065,1.994 0.764,2.731c0.297,0.264 0.68,0.354 1.038,0.077c0.242,-0.187 0.269,-0.46 0.096,-0.692C5.468,12.903 5.032,11.589 5.08,10.061z"
|
android:pathData="M7.305,4.482c1.782,2.914 4.332,5.382 3.916,9.05c-0.256,2.254 -2.529,3.635 -4.783,3.199c-2.145,-0.415 -3.625,-2.546 -3.171,-4.728C3.858,9.168 5.537,6.894 7.305,4.482zM5.08,10.061c-0.212,0.638 -0.489,1.262 -0.621,1.916c-0.205,1.017 -0.065,1.994 0.764,2.731c0.297,0.264 0.68,0.354 1.038,0.077c0.242,-0.187 0.269,-0.46 0.096,-0.692C5.468,12.903 5.032,11.589 5.08,10.061z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/icCalibrationColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M17.959,4.566c1.073,1.453 2.073,2.837 2.489,4.535c0.28,1.143 -0.069,2.1 -1.037,2.763c-0.943,0.645 -1.961,0.655 -2.904,0.009c-0.967,-0.662 -1.318,-1.635 -1.041,-2.769C15.88,7.408 16.875,6.019 17.959,4.566z"
|
android:pathData="M17.959,4.566c1.073,1.453 2.073,2.837 2.489,4.535c0.28,1.143 -0.069,2.1 -1.037,2.763c-0.943,0.645 -1.961,0.655 -2.904,0.009c-0.967,-0.662 -1.318,-1.635 -1.041,-2.769C15.88,7.408 16.875,6.019 17.959,4.566z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/icCalibrationColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M14.82,14.425c0.797,1.094 1.535,2.104 1.819,3.355c0.188,0.826 -0.096,1.498 -0.784,1.965c-0.669,0.454 -1.393,0.467 -2.067,0.014c-0.688,-0.462 -0.985,-1.13 -0.8,-1.959C13.272,16.531 14.004,15.503 14.82,14.425z"
|
android:pathData="M14.82,14.425c0.797,1.094 1.535,2.104 1.819,3.355c0.188,0.826 -0.096,1.498 -0.784,1.965c-0.669,0.454 -1.393,0.467 -2.067,0.014c-0.688,-0.462 -0.985,-1.13 -0.8,-1.959C13.272,16.531 14.004,15.503 14.82,14.425z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/icCalibrationColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,17 +5,17 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M11.206,16.276c0.251,0.308 0.504,0.635 0.459,1.095c-0.02,0.201 0.178,0.295 0.327,0.395c0.265,0.178 0.542,0.34 0.793,0.536c0.408,0.32 0.385,0.624 -0.047,0.896c-0.017,0.011 -0.037,0.016 -0.054,0.026c-1.333,0.78 -1.335,0.782 -2.448,-0.311c-0.215,-0.211 -0.453,-0.389 -0.696,-0.565c-0.365,-0.264 -0.719,-0.395 -1.143,-0.101c-0.277,0.192 -0.624,0.169 -0.934,0.111c-1.354,-0.252 -2.631,-1.535 -2.535,-3.042c0.019,-0.294 0.105,-0.547 0.297,-0.763c0.331,-0.373 0.657,-0.751 1.001,-1.112c0.736,-0.77 1.133,-1.67 1.129,-2.747C7.352,9.78 7.347,8.864 7.824,8.024C8.29,7.202 8.837,6.939 9.766,7.135c1.042,0.219 1.921,0.766 2.751,1.396c1.204,0.914 2.211,2.014 2.978,3.322c0.396,0.675 0.718,1.372 0.734,2.185c0.011,0.586 -0.253,1.005 -0.706,1.303c-0.505,0.331 -1.057,0.532 -1.687,0.526c-0.775,-0.007 -1.55,0.059 -2.314,0.208C11.404,16.097 11.284,16.119 11.206,16.276zM14.578,14.418c0.569,0.014 0.801,-0.217 0.737,-0.695c-0.053,-0.395 -0.183,-0.77 -0.384,-1.124c-0.907,-1.598 -2.196,-2.833 -3.677,-3.881c-0.47,-0.333 -0.977,-0.61 -1.569,-0.705C9.095,7.917 8.867,8.093 8.882,8.694C8.892,9.151 9.077,9.55 9.303,9.927c0.927,1.55 2.165,2.807 3.667,3.802C13.487,14.072 14.032,14.361 14.578,14.418zM13.257,14.946c-2.056,-1.171 -3.673,-2.769 -4.904,-4.794c-0.061,0.218 -0.053,0.408 -0.063,0.597c-0.032,0.619 -0.081,1.262 -0.399,1.789c-0.344,0.571 -0.24,1.045 0.049,1.556c0.411,0.726 0.998,1.233 1.805,1.473c0.216,0.064 0.444,0.108 0.642,-0.002C11.274,15.069 12.238,14.986 13.257,14.946z"
|
android:pathData="M11.206,16.276c0.251,0.308 0.504,0.635 0.459,1.095c-0.02,0.201 0.178,0.295 0.327,0.395c0.265,0.178 0.542,0.34 0.793,0.536c0.408,0.32 0.385,0.624 -0.047,0.896c-0.017,0.011 -0.037,0.016 -0.054,0.026c-1.333,0.78 -1.335,0.782 -2.448,-0.311c-0.215,-0.211 -0.453,-0.389 -0.696,-0.565c-0.365,-0.264 -0.719,-0.395 -1.143,-0.101c-0.277,0.192 -0.624,0.169 -0.934,0.111c-1.354,-0.252 -2.631,-1.535 -2.535,-3.042c0.019,-0.294 0.105,-0.547 0.297,-0.763c0.331,-0.373 0.657,-0.751 1.001,-1.112c0.736,-0.77 1.133,-1.67 1.129,-2.747C7.352,9.78 7.347,8.864 7.824,8.024C8.29,7.202 8.837,6.939 9.766,7.135c1.042,0.219 1.921,0.766 2.751,1.396c1.204,0.914 2.211,2.014 2.978,3.322c0.396,0.675 0.718,1.372 0.734,2.185c0.011,0.586 -0.253,1.005 -0.706,1.303c-0.505,0.331 -1.057,0.532 -1.687,0.526c-0.775,-0.007 -1.55,0.059 -2.314,0.208C11.404,16.097 11.284,16.119 11.206,16.276zM14.578,14.418c0.569,0.014 0.801,-0.217 0.737,-0.695c-0.053,-0.395 -0.183,-0.77 -0.384,-1.124c-0.907,-1.598 -2.196,-2.833 -3.677,-3.881c-0.47,-0.333 -0.977,-0.61 -1.569,-0.705C9.095,7.917 8.867,8.093 8.882,8.694C8.892,9.151 9.077,9.55 9.303,9.927c0.927,1.55 2.165,2.807 3.667,3.802C13.487,14.072 14.032,14.361 14.578,14.418zM13.257,14.946c-2.056,-1.171 -3.673,-2.769 -4.904,-4.794c-0.061,0.218 -0.053,0.408 -0.063,0.597c-0.032,0.619 -0.081,1.262 -0.399,1.789c-0.344,0.571 -0.24,1.045 0.049,1.556c0.411,0.726 0.998,1.233 1.805,1.473c0.216,0.064 0.444,0.108 0.642,-0.002C11.274,15.069 12.238,14.986 13.257,14.946z"
|
||||||
android:fillColor="#CF8BFE"/>
|
android:fillColor="?attr/announcementColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M16.92,11.417c-0.248,0 -0.368,0.005 -0.487,-0.001c-0.156,-0.008 -0.262,-0.092 -0.297,-0.245c-0.037,-0.161 0.051,-0.281 0.186,-0.335c0.294,-0.118 0.596,-0.219 0.898,-0.317c0.245,-0.079 0.496,-0.141 0.743,-0.212c0.48,-0.137 0.537,-0.086 0.689,0.353c0.159,0.461 -0.153,0.519 -0.447,0.573C17.737,11.318 17.264,11.369 16.92,11.417z"
|
android:pathData="M16.92,11.417c-0.248,0 -0.368,0.005 -0.487,-0.001c-0.156,-0.008 -0.262,-0.092 -0.297,-0.245c-0.037,-0.161 0.051,-0.281 0.186,-0.335c0.294,-0.118 0.596,-0.219 0.898,-0.317c0.245,-0.079 0.496,-0.141 0.743,-0.212c0.48,-0.137 0.537,-0.086 0.689,0.353c0.159,0.461 -0.153,0.519 -0.447,0.573C17.737,11.318 17.264,11.369 16.92,11.417z"
|
||||||
android:fillColor="#CF8BFE"/>
|
android:fillColor="?attr/announcementColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M11.785,6.597c0.078,-0.501 0.158,-1.052 0.25,-1.6c0.063,-0.378 0.362,-0.329 0.61,-0.283c0.282,0.052 0.473,0.195 0.346,0.547c-0.182,0.506 -0.335,1.022 -0.505,1.531c-0.072,0.216 -0.175,0.437 -0.45,0.385C11.746,7.123 11.777,6.868 11.785,6.597z"
|
android:pathData="M11.785,6.597c0.078,-0.501 0.158,-1.052 0.25,-1.6c0.063,-0.378 0.362,-0.329 0.61,-0.283c0.282,0.052 0.473,0.195 0.346,0.547c-0.182,0.506 -0.335,1.022 -0.505,1.531c-0.072,0.216 -0.175,0.437 -0.45,0.385C11.746,7.123 11.777,6.868 11.785,6.597z"
|
||||||
android:fillColor="#CF8BFE"/>
|
android:fillColor="?attr/announcementColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M14.693,8.893c-0.307,-0.002 -0.468,-0.26 -0.292,-0.486c0.388,-0.501 0.798,-0.987 1.226,-1.453c0.207,-0.225 0.452,-0.092 0.631,0.079c0.161,0.154 0.301,0.364 0.087,0.569c-0.472,0.453 -0.968,0.879 -1.508,1.251C14.792,8.884 14.725,8.885 14.693,8.893z"
|
android:pathData="M14.693,8.893c-0.307,-0.002 -0.468,-0.26 -0.292,-0.486c0.388,-0.501 0.798,-0.987 1.226,-1.453c0.207,-0.225 0.452,-0.092 0.631,0.079c0.161,0.154 0.301,0.364 0.087,0.569c-0.472,0.453 -0.968,0.879 -1.508,1.251C14.792,8.884 14.725,8.885 14.693,8.893z"
|
||||||
android:fillColor="#CF8BFE"/>
|
android:fillColor="?attr/announcementColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.97,11.989c0,0.14 0.021,0.283 -0.004,0.419c-0.061,0.328 -0.321,0.463 -0.563,0.249c-0.644,-0.568 -1.271,-1.159 -1.812,-1.829c-0.18,-0.223 -0.127,-0.384 0.163,-0.488C11.871,9.941 12.986,10.76 12.97,11.989z"
|
android:pathData="M12.97,11.989c0,0.14 0.021,0.283 -0.004,0.419c-0.061,0.328 -0.321,0.463 -0.563,0.249c-0.644,-0.568 -1.271,-1.159 -1.812,-1.829c-0.18,-0.223 -0.127,-0.384 0.163,-0.488C11.871,9.941 12.986,10.76 12.97,11.989z"
|
||||||
android:fillColor="#CF8BFE"/>
|
android:fillColor="?attr/announcementColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M6.384,15.052c-0.018,-0.323 0.025,-0.625 0.418,-0.671c0.36,-0.042 0.49,0.218 0.531,0.516c0.155,1.131 0.771,1.799 1.92,1.948c0.336,0.043 0.592,0.192 0.528,0.573c-0.059,0.351 -0.373,0.388 -0.654,0.387C7.775,17.801 6.4,16.415 6.384,15.052z"
|
android:pathData="M6.384,15.052c-0.018,-0.323 0.025,-0.625 0.418,-0.671c0.36,-0.042 0.49,0.218 0.531,0.516c0.155,1.131 0.771,1.799 1.92,1.948c0.336,0.043 0.592,0.192 0.528,0.573c-0.059,0.351 -0.373,0.388 -0.654,0.387C7.775,17.801 6.4,16.415 6.384,15.052z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/calibrationButtonColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M18.817,9.875c-0.377,-1.485 -1.932,-3.719 -2.256,-3.719c-0.325,0 -1.884,2.238 -2.26,3.721c-0.251,0.991 0.067,1.842 0.943,2.421c0.855,0.565 1.778,0.556 2.632,-0.008C18.755,11.712 19.071,10.874 18.817,9.875zM17.437,11.623c-0.297,0.196 -0.595,0.295 -0.886,0.295c-0.286,0 -0.577,-0.097 -0.866,-0.287c-0.586,-0.387 -0.779,-0.882 -0.608,-1.558c0.236,-0.933 0.997,-2.169 1.484,-2.813c0.486,0.644 1.244,1.878 1.481,2.812C18.213,10.745 18.021,11.237 17.437,11.623z"
|
android:pathData="M18.817,9.875c-0.377,-1.485 -1.932,-3.719 -2.256,-3.719c-0.325,0 -1.884,2.238 -2.26,3.721c-0.251,0.991 0.067,1.842 0.943,2.421c0.855,0.565 1.778,0.556 2.632,-0.008C18.755,11.712 19.071,10.874 18.817,9.875zM17.437,11.623c-0.297,0.196 -0.595,0.295 -0.886,0.295c-0.286,0 -0.577,-0.097 -0.866,-0.287c-0.586,-0.387 -0.779,-0.882 -0.608,-1.558c0.236,-0.933 0.997,-2.169 1.484,-2.813c0.486,0.644 1.244,1.878 1.481,2.812C18.213,10.745 18.021,11.237 17.437,11.623z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/calibrationButtonColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.737,13.869c-0.726,-2.859 -3.893,-7.275 -4.343,-7.275c-0.45,0 -3.627,4.425 -4.349,7.278c-0.483,1.908 0.128,3.546 1.816,4.66c1.646,1.087 3.422,1.07 5.067,-0.015C13.617,17.403 14.225,15.791 13.737,13.869zM11.487,17.85c-0.694,0.457 -1.405,0.689 -2.112,0.689c-0.698,0 -1.396,-0.227 -2.074,-0.675c-1.389,-0.916 -1.887,-2.193 -1.481,-3.796c0.563,-2.22 3.332,-6.141 3.574,-6.141s3.003,3.917 3.568,6.138C13.368,15.663 12.871,16.937 11.487,17.85z"
|
android:pathData="M13.737,13.869c-0.726,-2.859 -3.893,-7.275 -4.343,-7.275c-0.45,0 -3.627,4.425 -4.349,7.278c-0.483,1.908 0.128,3.546 1.816,4.66c1.646,1.087 3.422,1.07 5.067,-0.015C13.617,17.403 14.225,15.791 13.737,13.869zM11.487,17.85c-0.694,0.457 -1.405,0.689 -2.112,0.689c-0.698,0 -1.396,-0.227 -2.074,-0.675c-1.389,-0.916 -1.887,-2.193 -1.481,-3.796c0.563,-2.22 3.332,-6.141 3.574,-6.141s3.003,3.917 3.568,6.138C13.368,15.663 12.871,16.937 11.487,17.85z"
|
||||||
android:fillColor="@color/calibration"/>
|
android:fillColor="?attr/calibrationButtonColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,5 +4,6 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#FEAD01" android:pathData="M16.074,14.883c-0.332,0.416 -0.691,0.722 -1.09,0.993c-0.378,0.257 -0.843,0.39 -1.203,0.468c-0.688,0.125 -0.25,0.188 0.096,0.657c-1.247,1.781 -3.348,1.9 -5.102,0.991c-0.141,-0.073 -0.272,-0.165 -0.403,-0.255c-0.276,-0.19 -0.398,-0.236 -0.63,0.004c-0.187,0.193 -0.628,0.618 -0.852,0.838L6.4,18.047c0.241,-0.219 0.518,-0.491 0.718,-0.678c0.435,-0.408 0.336,-0.458 -0.011,-0.955c-1.205,-1.725 -0.836,-3.976 0.859,-5.236c0.722,0.462 0.566,0.353 0.801,-0.327c0.251,-0.726 0.677,-1.345 1.325,-1.777c0.659,0.582 0.549,0.316 0.814,-0.351c0.286,-0.721 0.734,-1.309 1.353,-1.806c0.695,0.458 1.014,0.966 1.252,1.538c0.273,0.656 0.379,0.435 0.858,-0.03c1.023,-0.992 2.273,-1.385 3.491,-1.087c0.287,1.586 -0.39,3.005 -1.859,3.932c0.771,0.208 1.5,0.625 2.215,1.468c-0.439,0.643 -1.213,1.259 -1.993,1.39C15.105,14.317 15.734,14.359 16.074,14.883zM17.184,8.469c0.013,-0.442 -0.128,-0.559 -0.51,-0.508c-1.244,0.167 -2.413,1.284 -2.621,2.504c-0.072,0.422 0.15,0.648 0.571,0.551c0.267,-0.062 0.538,-0.144 0.783,-0.265C16.39,10.263 17,9.484 17.184,8.469zM13.259,10.211c0.011,-0.699 -0.231,-1.258 -0.566,-1.784c-0.322,-0.506 -0.546,-0.505 -0.868,-0.011c-0.744,1.138 -0.442,2.461 0.152,3.433c0.19,0.311 0.445,0.313 0.669,0.011C13.017,11.357 13.273,10.801 13.259,10.211zM10.925,17.86c0.517,0 1.245,-0.233 1.618,-0.515c0.317,-0.24 0.344,-0.436 0.03,-0.652c-1.164,-0.802 -2.354,-0.977 -3.585,-0.119c-0.414,0.289 -0.391,0.523 0.063,0.79C9.629,17.703 10.26,17.846 10.925,17.86zM11.109,12.297c0.02,-0.666 -0.231,-1.243 -0.569,-1.786c-0.316,-0.507 -0.532,-0.495 -0.854,0.026c-0.622,1.004 -0.57,2.408 0.126,3.37c0.241,0.334 0.449,0.355 0.707,0.03C10.896,13.459 11.123,12.916 11.109,12.297zM15.068,13.639c0.661,-0.003 1.381,-0.217 1.756,-0.502c0.32,-0.244 0.329,-0.403 0.036,-0.66c-0.936,-0.82 -2.634,-0.874 -3.605,-0.113c-0.351,0.275 -0.358,0.527 0.019,0.737C13.85,13.423 14.46,13.658 15.068,13.639zM7.124,14.258c-0.023,0.548 0.124,1.116 0.447,1.633c0.305,0.489 0.569,0.494 0.893,0.036c0.704,-0.995 0.645,-2.507 -0.135,-3.438c-0.254,-0.303 -0.471,-0.302 -0.713,0.03C7.253,13.017 7.116,13.587 7.124,14.258zM12.831,13.928c-0.667,-0.031 -1.25,0.192 -1.77,0.589c-0.26,0.198 -0.271,0.416 -0.005,0.636c0.852,0.704 2.692,0.765 3.599,0.114c0.367,-0.263 0.376,-0.482 0.005,-0.726C14.106,14.175 13.512,13.911 12.831,13.928z"/>
|
<path android:fillColor="?attr/icBolusCarbsColor"
|
||||||
|
android:pathData="M16.074,14.883c-0.332,0.416 -0.691,0.722 -1.09,0.993c-0.378,0.257 -0.843,0.39 -1.203,0.468c-0.688,0.125 -0.25,0.188 0.096,0.657c-1.247,1.781 -3.348,1.9 -5.102,0.991c-0.141,-0.073 -0.272,-0.165 -0.403,-0.255c-0.276,-0.19 -0.398,-0.236 -0.63,0.004c-0.187,0.193 -0.628,0.618 -0.852,0.838L6.4,18.047c0.241,-0.219 0.518,-0.491 0.718,-0.678c0.435,-0.408 0.336,-0.458 -0.011,-0.955c-1.205,-1.725 -0.836,-3.976 0.859,-5.236c0.722,0.462 0.566,0.353 0.801,-0.327c0.251,-0.726 0.677,-1.345 1.325,-1.777c0.659,0.582 0.549,0.316 0.814,-0.351c0.286,-0.721 0.734,-1.309 1.353,-1.806c0.695,0.458 1.014,0.966 1.252,1.538c0.273,0.656 0.379,0.435 0.858,-0.03c1.023,-0.992 2.273,-1.385 3.491,-1.087c0.287,1.586 -0.39,3.005 -1.859,3.932c0.771,0.208 1.5,0.625 2.215,1.468c-0.439,0.643 -1.213,1.259 -1.993,1.39C15.105,14.317 15.734,14.359 16.074,14.883zM17.184,8.469c0.013,-0.442 -0.128,-0.559 -0.51,-0.508c-1.244,0.167 -2.413,1.284 -2.621,2.504c-0.072,0.422 0.15,0.648 0.571,0.551c0.267,-0.062 0.538,-0.144 0.783,-0.265C16.39,10.263 17,9.484 17.184,8.469zM13.259,10.211c0.011,-0.699 -0.231,-1.258 -0.566,-1.784c-0.322,-0.506 -0.546,-0.505 -0.868,-0.011c-0.744,1.138 -0.442,2.461 0.152,3.433c0.19,0.311 0.445,0.313 0.669,0.011C13.017,11.357 13.273,10.801 13.259,10.211zM10.925,17.86c0.517,0 1.245,-0.233 1.618,-0.515c0.317,-0.24 0.344,-0.436 0.03,-0.652c-1.164,-0.802 -2.354,-0.977 -3.585,-0.119c-0.414,0.289 -0.391,0.523 0.063,0.79C9.629,17.703 10.26,17.846 10.925,17.86zM11.109,12.297c0.02,-0.666 -0.231,-1.243 -0.569,-1.786c-0.316,-0.507 -0.532,-0.495 -0.854,0.026c-0.622,1.004 -0.57,2.408 0.126,3.37c0.241,0.334 0.449,0.355 0.707,0.03C10.896,13.459 11.123,12.916 11.109,12.297zM15.068,13.639c0.661,-0.003 1.381,-0.217 1.756,-0.502c0.32,-0.244 0.329,-0.403 0.036,-0.66c-0.936,-0.82 -2.634,-0.874 -3.605,-0.113c-0.351,0.275 -0.358,0.527 0.019,0.737C13.85,13.423 14.46,13.658 15.068,13.639zM7.124,14.258c-0.023,0.548 0.124,1.116 0.447,1.633c0.305,0.489 0.569,0.494 0.893,0.036c0.704,-0.995 0.645,-2.507 -0.135,-3.438c-0.254,-0.303 -0.471,-0.302 -0.713,0.03C7.253,13.017 7.116,13.587 7.124,14.258zM12.831,13.928c-0.667,-0.031 -1.25,0.192 -1.77,0.589c-0.26,0.198 -0.271,0.416 -0.005,0.636c0.852,0.704 2.692,0.765 3.599,0.114c0.367,-0.263 0.376,-0.482 0.005,-0.726C14.106,14.175 13.512,13.911 12.831,13.928z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M22.44,7.685l-1.772,-1.804L7.299,6.383C5.777,6.404 4.707,7.29 4.373,8.099c-1.247,0.944 -2.605,2.549 -2.668,3.198c-0.035,0.357 0.038,0.638 0.216,0.834c0.104,0.115 0.292,0.251 0.599,0.251h18.345c0.719,0 1.282,-0.721 1.282,-1.642c0,-0.065 -0.011,-0.137 -0.028,-0.213c0.221,-0.181 0.402,-0.429 0.53,-0.737C22.965,9.026 22.875,8.119 22.44,7.685zM5.398,8.111C5.56,7.917 6.176,7.283 7.322,7.267l12.99,-0.488l1.501,1.528c0.139,0.139 0.217,0.666 0.019,1.144c-0.146,0.352 -0.375,0.531 -0.682,0.531h-2.753l-2.385,-0.57H13.83c-0.459,0 -0.699,-0.151 -0.713,-0.449l-0.021,-0.421l-7.942,0C5.177,8.45 5.246,8.294 5.398,8.111zM20.865,11.498l-18.284,0c-0.002,-0.025 -0.002,-0.059 0.002,-0.103c0.061,-0.277 0.881,-1.363 1.879,-2.229C4.61,9.327 4.83,9.423 5.1,9.427h7.216c0.201,0.546 0.748,0.87 1.514,0.87h2.078l2.385,0.57h2.857c0.036,0 0.07,-0.002 0.105,-0.004C21.219,11.258 21.016,11.498 20.865,11.498z"
|
android:pathData="M22.44,7.685l-1.772,-1.804L7.299,6.383C5.777,6.404 4.707,7.29 4.373,8.099c-1.247,0.944 -2.605,2.549 -2.668,3.198c-0.035,0.357 0.038,0.638 0.216,0.834c0.104,0.115 0.292,0.251 0.599,0.251h18.345c0.719,0 1.282,-0.721 1.282,-1.642c0,-0.065 -0.011,-0.137 -0.028,-0.213c0.221,-0.181 0.402,-0.429 0.53,-0.737C22.965,9.026 22.875,8.119 22.44,7.685zM5.398,8.111C5.56,7.917 6.176,7.283 7.322,7.267l12.99,-0.488l1.501,1.528c0.139,0.139 0.217,0.666 0.019,1.144c-0.146,0.352 -0.375,0.531 -0.682,0.531h-2.753l-2.385,-0.57H13.83c-0.459,0 -0.699,-0.151 -0.713,-0.449l-0.021,-0.421l-7.942,0C5.177,8.45 5.246,8.294 5.398,8.111zM20.865,11.498l-18.284,0c-0.002,-0.025 -0.002,-0.059 0.002,-0.103c0.061,-0.277 0.881,-1.363 1.879,-2.229C4.61,9.327 4.83,9.423 5.1,9.427h7.216c0.201,0.546 0.748,0.87 1.514,0.87h2.078l2.385,0.57h2.857c0.036,0 0.07,-0.002 0.105,-0.004C21.219,11.258 21.016,11.498 20.865,11.498z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/cgmInsertColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M15.313,15.801c-0.167,-0.195 -0.463,-0.218 -0.659,-0.052l-2.228,1.903v-4.09c0,-0.259 -0.209,-0.468 -0.468,-0.468s-0.468,0.209 -0.468,0.468v4.09l-2.229,-1.904c-0.196,-0.167 -0.492,-0.145 -0.659,0.052c-0.168,0.196 -0.145,0.491 0.052,0.659l3,2.563c0.023,0.02 0.05,0.03 0.076,0.044c0.018,0.01 0.033,0.023 0.052,0.03c0.057,0.023 0.116,0.038 0.176,0.038s0.12,-0.015 0.176,-0.038c0.019,-0.008 0.034,-0.02 0.052,-0.03c0.025,-0.015 0.053,-0.025 0.076,-0.044l3,-2.563C15.458,16.292 15.481,15.997 15.313,15.801z"
|
android:pathData="M15.313,15.801c-0.167,-0.195 -0.463,-0.218 -0.659,-0.052l-2.228,1.903v-4.09c0,-0.259 -0.209,-0.468 -0.468,-0.468s-0.468,0.209 -0.468,0.468v4.09l-2.229,-1.904c-0.196,-0.167 -0.492,-0.145 -0.659,0.052c-0.168,0.196 -0.145,0.491 0.052,0.659l3,2.563c0.023,0.02 0.05,0.03 0.076,0.044c0.018,0.01 0.033,0.023 0.052,0.03c0.057,0.023 0.116,0.038 0.176,0.038s0.12,-0.015 0.176,-0.038c0.019,-0.008 0.034,-0.02 0.052,-0.03c0.025,-0.015 0.053,-0.025 0.076,-0.044l3,-2.563C15.458,16.292 15.481,15.997 15.313,15.801z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/cgmInsertColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M19.75,12.706c1.526,0 2.769,-1.242 2.769,-2.769s-1.242,-2.769 -2.769,-2.769s-2.769,1.242 -2.769,2.769S18.224,12.706 19.75,12.706zM19.75,8.019c1.058,0 1.919,0.86 1.919,1.918s-0.861,1.918 -1.919,1.918s-1.919,-0.86 -1.919,-1.918S18.692,8.019 19.75,8.019z"
|
android:pathData="M19.75,12.706c1.526,0 2.769,-1.242 2.769,-2.769s-1.242,-2.769 -2.769,-2.769s-2.769,1.242 -2.769,2.769S18.224,12.706 19.75,12.706zM19.75,8.019c1.058,0 1.919,0.86 1.919,1.918s-0.861,1.918 -1.919,1.918s-1.919,-0.86 -1.919,-1.918S18.692,8.019 19.75,8.019z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/exerciseColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M23.841,15.936c-0.039,-0.052 -0.956,-1.265 -2.311,-1.265c-1.007,0 -1.661,0.626 -2.239,1.18c-0.512,0.489 -0.954,0.913 -1.572,0.913h-0.001c-0.504,0 -0.916,-0.294 -1.326,-0.655l2.136,-1.613l-5.841,-7.737l-5.636,4.256c-0.332,0.294 -0.804,1.059 -0.211,1.845c0.274,0.363 0.594,0.472 0.814,0.499c0.524,0.064 0.946,-0.265 0.981,-0.292l3.539,-2.671l0.867,1.148l-5.085,3.838c-0.476,-0.427 -1.015,-0.776 -1.674,-0.776c0,0 -0.001,0 -0.001,0c-1.011,0 -1.87,0.779 -2.627,1.467c-0.452,0.41 -0.965,0.876 -1.248,0.876c-0.549,0 -1.259,-0.787 -1.465,-1.063c-0.14,-0.188 -0.405,-0.227 -0.595,-0.087c-0.188,0.14 -0.228,0.405 -0.088,0.594c0.106,0.145 1.074,1.406 2.147,1.406c0.611,0 1.171,-0.508 1.819,-1.096c0.644,-0.584 1.374,-1.247 2.056,-1.247h0c0.601,0 1.127,0.548 1.684,1.128c0.619,0.645 1.259,1.311 2.128,1.311c0.83,0 1.531,-0.574 2.209,-1.131c0.634,-0.52 1.289,-1.057 1.979,-1.057c0.411,0.001 0.798,0.356 1.244,0.768c0.581,0.534 1.238,1.14 2.193,1.14h0.001c0.96,0 1.598,-0.61 2.16,-1.148c0.529,-0.507 0.986,-0.944 1.651,-0.944c0.923,0 1.621,0.914 1.628,0.924c0.142,0.188 0.407,0.224 0.595,0.085C23.94,16.389 23.98,16.124 23.841,15.936zM11.763,16.105c-0.588,0.482 -1.144,0.938 -1.669,0.938c-0.507,-0.001 -0.997,-0.511 -1.515,-1.05c-0.003,-0.003 -0.006,-0.006 -0.009,-0.009l5.663,-4.275L12.34,9.204l-4.229,3.193c-0.028,0.023 -0.207,0.146 -0.354,0.117c-0.031,-0.004 -0.124,-0.015 -0.238,-0.166c-0.25,-0.332 0.013,-0.619 0.071,-0.675l4.932,-3.722l4.815,6.38l-1.591,1.201c-0.426,-0.366 -0.885,-0.674 -1.466,-0.674C13.286,14.856 12.477,15.52 11.763,16.105z"
|
android:pathData="M23.841,15.936c-0.039,-0.052 -0.956,-1.265 -2.311,-1.265c-1.007,0 -1.661,0.626 -2.239,1.18c-0.512,0.489 -0.954,0.913 -1.572,0.913h-0.001c-0.504,0 -0.916,-0.294 -1.326,-0.655l2.136,-1.613l-5.841,-7.737l-5.636,4.256c-0.332,0.294 -0.804,1.059 -0.211,1.845c0.274,0.363 0.594,0.472 0.814,0.499c0.524,0.064 0.946,-0.265 0.981,-0.292l3.539,-2.671l0.867,1.148l-5.085,3.838c-0.476,-0.427 -1.015,-0.776 -1.674,-0.776c0,0 -0.001,0 -0.001,0c-1.011,0 -1.87,0.779 -2.627,1.467c-0.452,0.41 -0.965,0.876 -1.248,0.876c-0.549,0 -1.259,-0.787 -1.465,-1.063c-0.14,-0.188 -0.405,-0.227 -0.595,-0.087c-0.188,0.14 -0.228,0.405 -0.088,0.594c0.106,0.145 1.074,1.406 2.147,1.406c0.611,0 1.171,-0.508 1.819,-1.096c0.644,-0.584 1.374,-1.247 2.056,-1.247h0c0.601,0 1.127,0.548 1.684,1.128c0.619,0.645 1.259,1.311 2.128,1.311c0.83,0 1.531,-0.574 2.209,-1.131c0.634,-0.52 1.289,-1.057 1.979,-1.057c0.411,0.001 0.798,0.356 1.244,0.768c0.581,0.534 1.238,1.14 2.193,1.14h0.001c0.96,0 1.598,-0.61 2.16,-1.148c0.529,-0.507 0.986,-0.944 1.651,-0.944c0.923,0 1.621,0.914 1.628,0.924c0.142,0.188 0.407,0.224 0.595,0.085C23.94,16.389 23.98,16.124 23.841,15.936zM11.763,16.105c-0.588,0.482 -1.144,0.938 -1.669,0.938c-0.507,-0.001 -0.997,-0.511 -1.515,-1.05c-0.003,-0.003 -0.006,-0.006 -0.009,-0.009l5.663,-4.275L12.34,9.204l-4.229,3.193c-0.028,0.023 -0.207,0.146 -0.354,0.117c-0.031,-0.004 -0.124,-0.015 -0.238,-0.166c-0.25,-0.332 0.013,-0.619 0.071,-0.675l4.932,-3.722l4.815,6.38l-1.591,1.201c-0.426,-0.366 -0.885,-0.674 -1.466,-0.674C13.286,14.856 12.477,15.52 11.763,16.105z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/exerciseColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.909,5.715l-7.634,7.634c-0.061,0.061 -0.102,0.139 -0.118,0.224l-0.911,4.941c-0.025,0.138 0.019,0.279 0.118,0.378c0.099,0.099 0.24,0.143 0.378,0.118l4.941,-0.911c0.085,-0.016 0.163,-0.057 0.224,-0.118l7.634,-7.634c0.445,-0.445 0.444,-1.17 -0.003,-1.617l-3.012,-3.012C15.079,5.271 14.354,5.27 13.909,5.715zM9.891,16.927c0.097,0.097 0.132,0.24 0.091,0.371c-0.018,0.058 -0.05,0.109 -0.091,0.15c-0.053,0.053 -0.121,0.089 -0.197,0.102l-2.462,0.435c-0.244,-0.008 -0.486,-0.103 -0.673,-0.29c-0.187,-0.187 -0.282,-0.429 -0.29,-0.673l0.435,-2.463c0.024,-0.135 0.121,-0.246 0.252,-0.287c0.131,-0.041 0.274,-0.006 0.371,0.091L9.891,16.927zM17.903,9.269c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L17.903,9.269zM16.588,7.933c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L16.588,7.933zM15.273,6.596c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L15.273,6.596z"
|
android:pathData="M13.909,5.715l-7.634,7.634c-0.061,0.061 -0.102,0.139 -0.118,0.224l-0.911,4.941c-0.025,0.138 0.019,0.279 0.118,0.378c0.099,0.099 0.24,0.143 0.378,0.118l4.941,-0.911c0.085,-0.016 0.163,-0.057 0.224,-0.118l7.634,-7.634c0.445,-0.445 0.444,-1.17 -0.003,-1.617l-3.012,-3.012C15.079,5.271 14.354,5.27 13.909,5.715zM9.891,16.927c0.097,0.097 0.132,0.24 0.091,0.371c-0.018,0.058 -0.05,0.109 -0.091,0.15c-0.053,0.053 -0.121,0.089 -0.197,0.102l-2.462,0.435c-0.244,-0.008 -0.486,-0.103 -0.673,-0.29c-0.187,-0.187 -0.282,-0.429 -0.29,-0.673l0.435,-2.463c0.024,-0.135 0.121,-0.246 0.252,-0.287c0.131,-0.041 0.274,-0.006 0.371,0.091L9.891,16.927zM17.903,9.269c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L17.903,9.269zM16.588,7.933c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L16.588,7.933zM15.273,6.596c0.141,0.141 0.141,0.369 0,0.509l-6.746,6.746c-0.141,0.141 -0.369,0.141 -0.509,0l-0.265,-0.265c-0.141,-0.141 -0.141,-0.369 0,-0.509l6.746,-6.746c0.141,-0.141 0.369,-0.141 0.509,0L15.273,6.596z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/noteColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M20.234,10.422c-0.362,0 -0.656,0.294 -0.656,0.656v0.297h-0.469V9.031c0,-0.87 -0.708,-1.578 -1.578,-1.578H4.188c-0.87,0 -1.578,0.708 -1.578,1.578v5.938c0,0.87 0.708,1.578 1.578,1.578h13.344c0.72,0 1.323,-0.488 1.511,-1.149c0.01,0.001 0.018,0.006 0.028,0.006c0.332,0 0.602,-0.297 0.602,-0.664c0,-0.351 -0.25,-0.632 -0.563,-0.655v-1.46h0.469v0.297c0,0.362 0.294,0.656 0.656,0.656s0.656,-0.294 0.656,-0.656v-1.844C20.891,10.716 20.597,10.422 20.234,10.422zM18.109,14.969c0,0.318 -0.26,0.578 -0.578,0.578H4.188c-0.319,0 -0.578,-0.26 -0.578,-0.578V9.031c0,-0.319 0.259,-0.578 0.578,-0.578h13.344c0.318,0 0.578,0.259 0.578,0.578V14.969z"
|
android:pathData="M20.234,10.422c-0.362,0 -0.656,0.294 -0.656,0.656v0.297h-0.469V9.031c0,-0.87 -0.708,-1.578 -1.578,-1.578H4.188c-0.87,0 -1.578,0.708 -1.578,1.578v5.938c0,0.87 0.708,1.578 1.578,1.578h13.344c0.72,0 1.323,-0.488 1.511,-1.149c0.01,0.001 0.018,0.006 0.028,0.006c0.332,0 0.602,-0.297 0.602,-0.664c0,-0.351 -0.25,-0.632 -0.563,-0.655v-1.46h0.469v0.297c0,0.362 0.294,0.656 0.656,0.656s0.656,-0.294 0.656,-0.656v-1.844C20.891,10.716 20.597,10.422 20.234,10.422zM18.109,14.969c0,0.318 -0.26,0.578 -0.578,0.578H4.188c-0.319,0 -0.578,-0.26 -0.578,-0.578V9.031c0,-0.319 0.259,-0.578 0.578,-0.578h13.344c0.318,0 0.578,0.259 0.578,0.578V14.969z"
|
||||||
android:fillColor="#36FF00"/>
|
android:fillColor="?attr/pumpBatteryColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.703,10.273l-3.937,2.922l3.453,-1.218l1.781,1.765l4.438,-3.484l-4.297,1.687z"
|
android:pathData="M9.703,10.273l-3.937,2.922l3.453,-1.218l1.781,1.765l4.438,-3.484l-4.297,1.687z"
|
||||||
android:fillColor="#36FF00"/>
|
android:fillColor="?attr/pumpBatteryColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M23.706,7.373c-0.149,-0.541 -0.728,-0.854 -1.294,-0.699L19.87,7.373c-0.325,-0.913 -1.301,-1.438 -2.255,-1.175l-3.008,0.826c-0.954,0.262 -1.525,1.212 -1.338,2.163l-2.542,0.698c-0.499,0.137 -0.799,0.593 -0.767,1.07c-1.696,0.439 -3.037,0.067 -4.101,-0.248c-1.047,-0.309 -1.951,-0.578 -2.713,0.152c-1.307,1.253 -0.369,2.87 0.384,4.17c0.501,0.863 1.019,1.757 0.766,2.3c-0.519,1.124 -2.729,1.128 -3.537,1.033c-0.203,-0.022 -0.392,0.122 -0.417,0.328c-0.024,0.206 0.123,0.391 0.329,0.414c0.086,0.01 1.376,0.152 2.554,-0.172c0.734,-0.202 1.424,-0.585 1.753,-1.292c0.416,-0.896 -0.173,-1.912 -0.797,-2.987c-0.844,-1.456 -1.336,-2.47 -0.515,-3.257c0.426,-0.409 0.972,-0.272 1.977,0.026c1.128,0.334 2.648,0.808 4.674,0.215c0.255,0.206 0.598,0.304 0.949,0.207l5.63,-1.547l2.016,7.338l0.127,-1.203l-1.718,-6.252l5.63,-1.547C23.517,8.479 23.855,7.914 23.706,7.373z"
|
android:pathData="M23.706,7.373c-0.149,-0.541 -0.728,-0.854 -1.294,-0.699L19.87,7.373c-0.325,-0.913 -1.301,-1.438 -2.255,-1.175l-3.008,0.826c-0.954,0.262 -1.525,1.212 -1.338,2.163l-2.542,0.698c-0.499,0.137 -0.799,0.593 -0.767,1.07c-1.696,0.439 -3.037,0.067 -4.101,-0.248c-1.047,-0.309 -1.951,-0.578 -2.713,0.152c-1.307,1.253 -0.369,2.87 0.384,4.17c0.501,0.863 1.019,1.757 0.766,2.3c-0.519,1.124 -2.729,1.128 -3.537,1.033c-0.203,-0.022 -0.392,0.122 -0.417,0.328c-0.024,0.206 0.123,0.391 0.329,0.414c0.086,0.01 1.376,0.152 2.554,-0.172c0.734,-0.202 1.424,-0.585 1.753,-1.292c0.416,-0.896 -0.173,-1.912 -0.797,-2.987c-0.844,-1.456 -1.336,-2.47 -0.515,-3.257c0.426,-0.409 0.972,-0.272 1.977,0.026c1.128,0.334 2.648,0.808 4.674,0.215c0.255,0.206 0.598,0.304 0.949,0.207l5.63,-1.547l2.016,7.338l0.127,-1.203l-1.718,-6.252l5.63,-1.547C23.517,8.479 23.855,7.914 23.706,7.373z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/pumpCanulaColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.042,18.479m-0.979,0a0.979,0.979 0,1 1,1.958 0a0.979,0.979 0,1 1,-1.958 0"
|
android:pathData="M12.042,18.479m-0.979,0a0.979,0.979 0,1 1,1.958 0a0.979,0.979 0,1 1,-1.958 0"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/questionColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M12,16.126c-0.392,0 -0.708,-0.317 -0.708,-0.709c0,-2.548 1.188,-3.437 2.142,-4.151c0.8,-0.599 1.378,-1.032 1.378,-2.432c0,-1.931 -1.854,-2.531 -2.53,-2.531c-1.456,0 -2.631,0.873 -3.225,2.393C8.914,9.06 8.501,9.241 8.138,9.098C7.773,8.955 7.594,8.544 7.736,8.18c0.806,-2.063 2.505,-3.294 4.545,-3.294c1.592,0 3.948,1.255 3.948,3.948c0,2.11 -1.079,2.917 -1.946,3.566c-0.88,0.659 -1.574,1.178 -1.574,3.017C12.709,15.809 12.392,16.126 12,16.126z"
|
android:pathData="M12,16.126c-0.392,0 -0.708,-0.317 -0.708,-0.709c0,-2.548 1.188,-3.437 2.142,-4.151c0.8,-0.599 1.378,-1.032 1.378,-2.432c0,-1.931 -1.854,-2.531 -2.53,-2.531c-1.456,0 -2.631,0.873 -3.225,2.393C8.914,9.06 8.501,9.241 8.138,9.098C7.773,8.955 7.594,8.544 7.736,8.18c0.806,-2.063 2.505,-3.294 4.545,-3.294c1.592,0 3.948,1.255 3.948,3.948c0,2.11 -1.079,2.917 -1.946,3.566c-0.88,0.659 -1.574,1.178 -1.574,3.017C12.709,15.809 12.392,16.126 12,16.126z"
|
||||||
android:fillColor="#FEAF05"/>
|
android:fillColor="?attr/questionColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M18.783,12.728c-0.1,-2.66 -0.143,-5.908 0.243,-7.753l0.001,-0.001c0,0 -0.001,0 -0.001,0c0,0 0,-0.001 0,-0.001l-0.001,0.001c-1.845,0.386 -5.093,0.343 -7.753,0.243l-0.351,2.225c0,0 2.111,0.12 4.003,0.146L4.229,18.283l1.488,1.488L16.412,9.076c0.026,1.892 0.146,4.003 0.146,4.003L18.783,12.728z"
|
android:pathData="M18.783,12.728c-0.1,-2.66 -0.143,-5.908 0.243,-7.753l0.001,-0.001c0,0 -0.001,0 -0.001,0c0,0 0,-0.001 0,-0.001l-0.001,0.001c-1.845,0.386 -5.093,0.343 -7.753,0.243l-0.351,2.225c0,0 2.111,0.12 4.003,0.146L4.229,18.283l1.488,1.488L16.412,9.076c0.026,1.892 0.146,4.003 0.146,4.003L18.783,12.728z"
|
||||||
android:fillColor="@color/white"/>
|
android:fillColor="?attr/icCheckboxTrendColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
android:pathData="M24,9.343l-5.781,-3.968l-1.328,6.688l2.102,-1.757c0.014,0.056 0.03,0.111 0.043,0.168c0.116,0.512 0.183,1.042 0.183,1.589c0,3.952 -3.204,7.156 -7.156,7.156s-7.156,-3.204 -7.156,-7.156s3.204,-7.156 7.156,-7.156c1.072,0 2.085,0.242 2.998,0.665c0.325,0.151 0.639,0.321 0.936,0.517l0.002,-0.002l-0.352,-1.784l1.876,-0.538c-1.567,-1.033 -3.442,-1.639 -5.46,-1.639c-5.488,0 -9.938,4.449 -9.938,9.938S6.574,22 12.063,22S22,17.551 22,12.063c0,-0.759 -0.093,-1.496 -0.254,-2.206c-0.04,-0.176 -0.085,-0.35 -0.134,-0.523L24,9.343L24,9.343z"
|
||||||
android:fillColor="@color/loopClosed"/>
|
android:fillColor="?attr/loopClosed"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.069,3.578c-4.48,0 -8.144,3.518 -8.398,7.936L2.71,10.552c-0.268,-0.267 -0.699,-0.267 -0.966,0c-0.267,0.267 -0.267,0.699 0,0.966l2.103,2.102c0.133,0.133 0.308,0.2 0.483,0.2c0.175,0 0.35,-0.067 0.483,-0.2l2.102,-2.102c0.267,-0.267 0.267,-0.699 0,-0.966c-0.267,-0.267 -0.699,-0.267 -0.966,0L5.04,11.461c0.277,-3.64 3.32,-6.518 7.03,-6.518c3.891,0 7.057,3.166 7.057,7.057c0,3.891 -3.166,7.057 -7.057,7.057c-1.921,0 -3.719,-0.762 -5.062,-2.148c-0.263,-0.27 -0.695,-0.276 -0.966,-0.015c-0.271,0.262 -0.278,0.695 -0.015,0.966c1.603,1.652 3.749,2.562 6.043,2.562c4.644,0 8.423,-3.779 8.423,-8.423S16.714,3.578 12.069,3.578z"
|
android:pathData="M12.069,3.578c-4.48,0 -8.144,3.518 -8.398,7.936L2.71,10.552c-0.268,-0.267 -0.699,-0.267 -0.966,0c-0.267,0.267 -0.267,0.699 0,0.966l2.103,2.102c0.133,0.133 0.308,0.2 0.483,0.2c0.175,0 0.35,-0.067 0.483,-0.2l2.102,-2.102c0.267,-0.267 0.267,-0.699 0,-0.966c-0.267,-0.267 -0.699,-0.267 -0.966,0L5.04,11.461c0.277,-3.64 3.32,-6.518 7.03,-6.518c3.891,0 7.057,3.166 7.057,7.057c0,3.891 -3.166,7.057 -7.057,7.057c-1.921,0 -3.719,-0.762 -5.062,-2.148c-0.263,-0.27 -0.695,-0.276 -0.966,-0.015c-0.271,0.262 -0.278,0.695 -0.015,0.966c1.603,1.652 3.749,2.562 6.043,2.562c4.644,0 8.423,-3.779 8.423,-8.423S16.714,3.578 12.069,3.578z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/pumpHistoryColor"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M12.069,12.683h3.814c0.377,0 0.683,-0.306 0.683,-0.683s-0.305,-0.683 -0.683,-0.683h-3.131V6.915c0,-0.377 -0.306,-0.683 -0.683,-0.683s-0.683,0.306 -0.683,0.683V12C11.387,12.377 11.692,12.683 12.069,12.683z"
|
android:pathData="M12.069,12.683h3.814c0.377,0 0.683,-0.306 0.683,-0.683s-0.305,-0.683 -0.683,-0.683h-3.131V6.915c0,-0.377 -0.306,-0.683 -0.683,-0.683s-0.683,0.306 -0.683,0.683V12C11.387,12.377 11.692,12.683 12.069,12.683z"
|
||||||
android:fillColor="#67DFE8"/>
|
android:fillColor="?attr/pumpHistoryColor"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:viewportWidth="24"
|
android:viewportWidth="24"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<path android:fillColor="#FEAF05" android:pathData="M10.751,6.59c-0.561,0.69 -0.796,1.057 -1.25,1.797c-2.517,0.238 -3.932,2.751 -3.379,4.664c0.244,0.843 0.779,1.476 1.498,1.958c2.348,1.573 6.243,1.429 8.487,-0.306c1.187,-0.918 1.723,-2.084 1.334,-3.576c-0.412,-1.58 -1.445,-2.585 -3.039,-2.87c-1.112,-0.199 -1.973,0.37 -2.558,1.313c-0.494,0.796 -0.72,1.616 -1.628,2.345c-0.389,-0.431 -0.458,-0.961 -0.483,-1.481c-0.12,-2.486 2.019,-4.439 4.595,-4.213c2.365,0.207 4.466,1.956 5.114,4.256c0.611,2.172 -0.226,4.432 -2.19,5.909c-2.995,2.253 -7.895,2.327 -10.943,0.165c-2.057,-1.459 -2.88,-3.881 -2.099,-6.18C5.023,7.978 7.368,6.304 9.77,6.4C10.072,6.412 10.365,6.459 10.751,6.59z"/>
|
<path android:fillColor="?attr/icQuickWizardColor"
|
||||||
<path android:fillColor="#FEAF06" android:pathData="M7.141,13.406c0.526,-0.103 1.178,-0.22 1.665,-0.322c1.522,-0.319 2.625,-1.229 3.273,-2.678c0.289,-0.647 0.702,-1.125 1.448,-1.42c0.418,0.811 0.454,1.641 0.223,2.493c-0.284,1.049 -0.889,1.863 -1.819,2.429c-0.616,0.376 -1.284,0.638 -1.966,0.867C8.814,15.163 7.797,14.773 7.141,13.406z"/>
|
android:pathData="M10.751,6.59c-0.561,0.69 -0.796,1.057 -1.25,1.797c-2.517,0.238 -3.932,2.751 -3.379,4.664c0.244,0.843 0.779,1.476 1.498,1.958c2.348,1.573 6.243,1.429 8.487,-0.306c1.187,-0.918 1.723,-2.084 1.334,-3.576c-0.412,-1.58 -1.445,-2.585 -3.039,-2.87c-1.112,-0.199 -1.973,0.37 -2.558,1.313c-0.494,0.796 -0.72,1.616 -1.628,2.345c-0.389,-0.431 -0.458,-0.961 -0.483,-1.481c-0.12,-2.486 2.019,-4.439 4.595,-4.213c2.365,0.207 4.466,1.956 5.114,4.256c0.611,2.172 -0.226,4.432 -2.19,5.909c-2.995,2.253 -7.895,2.327 -10.943,0.165c-2.057,-1.459 -2.88,-3.881 -2.099,-6.18C5.023,7.978 7.368,6.304 9.77,6.4C10.072,6.412 10.365,6.459 10.751,6.59z"/>
|
||||||
<path android:fillColor="#FEAF06" android:pathData="M12.313,14.203c0.734,-0.537 1.25,-1.089 1.469,-1.612c0.894,0.159 1.92,0.314 2.804,0.471C16.036,14.799 13.922,15.203 12.313,14.203z"/>
|
<path android:fillColor="?attr/icQuickWizardColor" android:pathData="M7.141,13.406c0.526,-0.103 1.178,-0.22 1.665,-0.322c1.522,-0.319 2.625,-1.229 3.273,-2.678c0.289,-0.647 0.702,-1.125 1.448,-1.42c0.418,0.811 0.454,1.641 0.223,2.493c-0.284,1.049 -0.889,1.863 -1.819,2.429c-0.616,0.376 -1.284,0.638 -1.966,0.867C8.814,15.163 7.797,14.773 7.141,13.406z"/>
|
||||||
<path android:fillColor="#FEAF06" android:pathData="M2.377,13.882c0.179,-0.123 0.756,-0.189 1.192,-0.123c0.259,0.631 0.587,1.225 1.108,1.923c-0.572,0.116 -1.037,0.253 -1.567,0.224c-0.493,-0.027 -0.993,-0.353 -1.063,-0.989C2.013,14.61 2.047,14.109 2.377,13.882z"/>
|
<path android:fillColor="?attr/icQuickWizardColor" android:pathData="M12.313,14.203c0.734,-0.537 1.25,-1.089 1.469,-1.612c0.894,0.159 1.92,0.314 2.804,0.471C16.036,14.799 13.922,15.203 12.313,14.203z"/>
|
||||||
<path android:fillColor="#FEAF06" android:pathData="M19.143,15.22c0.196,-0.497 0.362,-0.961 0.561,-1.411c0.235,-0.531 0.618,-0.76 1.121,-0.681c0.419,0.066 0.575,0.376 0.644,0.756c0.098,0.541 -0.078,0.989 -0.529,1.213C20.38,15.377 19.787,15.293 19.143,15.22z"/>
|
<path android:fillColor="?attr/icQuickWizardColor" android:pathData="M2.377,13.882c0.179,-0.123 0.756,-0.189 1.192,-0.123c0.259,0.631 0.587,1.225 1.108,1.923c-0.572,0.116 -1.037,0.253 -1.567,0.224c-0.493,-0.027 -0.993,-0.353 -1.063,-0.989C2.013,14.61 2.047,14.109 2.377,13.882z"/>
|
||||||
|
<path android:fillColor="?attr/icQuickWizardColor" android:pathData="M19.143,15.22c0.196,-0.497 0.362,-0.961 0.561,-1.411c0.235,-0.531 0.618,-0.76 1.121,-0.681c0.419,0.066 0.575,0.376 0.644,0.756c0.098,0.541 -0.078,0.989 -0.529,1.213C20.38,15.377 19.787,15.293 19.143,15.22z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
android:viewportHeight="24">
|
android:viewportHeight="24">
|
||||||
<path
|
<path
|
||||||
android:pathData="M7.242,17.689c-0.005,0 -0.011,0 -0.017,0c-0.695,-0.013 -1.318,-0.829 -1.709,-2.24c-0.285,-1.029 -0.542,-2.103 -0.792,-3.141c-0.156,-0.65 -0.313,-1.301 -0.476,-1.945L4.14,9.929c-0.369,-1.486 -0.75,-3.024 -1.746,-3.197c-0.116,-0.02 -0.193,-0.13 -0.173,-0.246s0.129,-0.189 0.246,-0.173C3.735,6.534 4.15,8.208 4.552,9.827l0.108,0.432c0.164,0.646 0.321,1.298 0.478,1.951c0.249,1.035 0.506,2.104 0.789,3.127c0.322,1.163 0.834,1.92 1.307,1.929c0.002,0 0.005,0 0.008,0c0.443,0 0.905,-0.656 1.269,-1.804c0.188,-0.592 0.349,-1.229 0.504,-1.847l0.124,-0.487c0.138,-0.536 0.268,-1.08 0.398,-1.624c0.267,-1.114 0.542,-2.265 0.878,-3.332c0.373,-1.182 0.928,-1.836 1.565,-1.842c0.003,0 0.005,0 0.008,0c0.639,0 1.208,0.65 1.603,1.832c0.278,0.833 0.514,1.729 0.74,2.598l0.177,0.671c0.147,0.553 0.288,1.112 0.43,1.672c0.24,0.956 0.489,1.945 0.769,2.879c0.229,0.77 0.619,1.26 1.017,1.28c0.356,0.043 0.729,-0.362 1.011,-1.041c0.271,-0.651 0.521,-1.41 0.761,-2.318c0.333,-1.265 0.648,-2.547 0.964,-3.829c0.146,-0.592 0.291,-1.184 0.438,-1.773c0.281,-1.125 0.812,-1.774 1.62,-1.983c0.111,-0.028 0.229,0.04 0.259,0.153c0.029,0.114 -0.039,0.229 -0.153,0.259c-0.652,0.168 -1.069,0.7 -1.313,1.674c-0.147,0.589 -0.293,1.181 -0.438,1.772c-0.316,1.284 -0.633,2.568 -0.966,3.836c-0.245,0.928 -0.5,1.704 -0.779,2.374c-0.487,1.17 -1.097,1.32 -1.426,1.302c-0.59,-0.03 -1.114,-0.622 -1.402,-1.584c-0.281,-0.941 -0.531,-1.936 -0.773,-2.896c-0.14,-0.558 -0.28,-1.115 -0.427,-1.666l-0.178,-0.673c-0.225,-0.861 -0.458,-1.751 -0.731,-2.57c-0.323,-0.966 -0.772,-1.541 -1.201,-1.541c-0.001,0 -0.002,0 -0.004,0c-0.425,0.003 -0.86,0.581 -1.164,1.544c-0.331,1.052 -0.605,2.196 -0.87,3.303c-0.131,0.546 -0.262,1.092 -0.399,1.63l-0.124,0.486c-0.158,0.623 -0.32,1.268 -0.512,1.871C8.367,17.32 7.706,17.689 7.242,17.689z"
|
android:pathData="M7.242,17.689c-0.005,0 -0.011,0 -0.017,0c-0.695,-0.013 -1.318,-0.829 -1.709,-2.24c-0.285,-1.029 -0.542,-2.103 -0.792,-3.141c-0.156,-0.65 -0.313,-1.301 -0.476,-1.945L4.14,9.929c-0.369,-1.486 -0.75,-3.024 -1.746,-3.197c-0.116,-0.02 -0.193,-0.13 -0.173,-0.246s0.129,-0.189 0.246,-0.173C3.735,6.534 4.15,8.208 4.552,9.827l0.108,0.432c0.164,0.646 0.321,1.298 0.478,1.951c0.249,1.035 0.506,2.104 0.789,3.127c0.322,1.163 0.834,1.92 1.307,1.929c0.002,0 0.005,0 0.008,0c0.443,0 0.905,-0.656 1.269,-1.804c0.188,-0.592 0.349,-1.229 0.504,-1.847l0.124,-0.487c0.138,-0.536 0.268,-1.08 0.398,-1.624c0.267,-1.114 0.542,-2.265 0.878,-3.332c0.373,-1.182 0.928,-1.836 1.565,-1.842c0.003,0 0.005,0 0.008,0c0.639,0 1.208,0.65 1.603,1.832c0.278,0.833 0.514,1.729 0.74,2.598l0.177,0.671c0.147,0.553 0.288,1.112 0.43,1.672c0.24,0.956 0.489,1.945 0.769,2.879c0.229,0.77 0.619,1.26 1.017,1.28c0.356,0.043 0.729,-0.362 1.011,-1.041c0.271,-0.651 0.521,-1.41 0.761,-2.318c0.333,-1.265 0.648,-2.547 0.964,-3.829c0.146,-0.592 0.291,-1.184 0.438,-1.773c0.281,-1.125 0.812,-1.774 1.62,-1.983c0.111,-0.028 0.229,0.04 0.259,0.153c0.029,0.114 -0.039,0.229 -0.153,0.259c-0.652,0.168 -1.069,0.7 -1.313,1.674c-0.147,0.589 -0.293,1.181 -0.438,1.772c-0.316,1.284 -0.633,2.568 -0.966,3.836c-0.245,0.928 -0.5,1.704 -0.779,2.374c-0.487,1.17 -1.097,1.32 -1.426,1.302c-0.59,-0.03 -1.114,-0.622 -1.402,-1.584c-0.281,-0.941 -0.531,-1.936 -0.773,-2.896c-0.14,-0.558 -0.28,-1.115 -0.427,-1.666l-0.178,-0.673c-0.225,-0.861 -0.458,-1.751 -0.731,-2.57c-0.323,-0.966 -0.772,-1.541 -1.201,-1.541c-0.001,0 -0.002,0 -0.004,0c-0.425,0.003 -0.86,0.581 -1.164,1.544c-0.331,1.052 -0.605,2.196 -0.87,3.303c-0.131,0.546 -0.262,1.092 -0.399,1.63l-0.124,0.486c-0.158,0.623 -0.32,1.268 -0.512,1.871C8.367,17.32 7.706,17.689 7.242,17.689z"
|
||||||
android:fillColor="@color/inrange"/>
|
android:fillColor="?attr/bgInRange"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M21.569,12.709h-4.772c-0.392,0 -0.709,-0.317 -0.709,-0.709V9.177H7.927l0,2.823c0,0.392 -0.317,0.709 -0.708,0.709H2.431c-0.392,0 -0.708,-0.317 -0.708,-0.709s0.317,-0.708 0.708,-0.708H6.51l0,-2.823c0,-0.392 0.317,-0.708 0.708,-0.708h9.578c0.392,0 0.709,0.317 0.709,0.708v2.823h4.063c0.392,0 0.709,0.317 0.709,0.708S21.961,12.709 21.569,12.709z"
|
android:pathData="M21.569,12.709h-4.772c-0.392,0 -0.709,-0.317 -0.709,-0.709V9.177H7.927l0,2.823c0,0.392 -0.317,0.709 -0.708,0.709H2.431c-0.392,0 -0.708,-0.317 -0.708,-0.709s0.317,-0.708 0.708,-0.708H6.51l0,-2.823c0,-0.392 0.317,-0.708 0.708,-0.708h9.578c0.392,0 0.709,0.317 0.709,0.708v2.823h4.063c0.392,0 0.709,0.317 0.709,0.708S21.961,12.709 21.569,12.709z"
|
||||||
android:fillColor="@color/tempTargetConfirmation"/>
|
android:fillColor="?attr/tempTargetConfirmation"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -179,7 +179,7 @@
|
||||||
|
|
||||||
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/reload"
|
android:id="@+id/reload"
|
||||||
style="@style/ButtonSmallFontStyle"
|
style="?android:attr/buttonStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
|
|
|
@ -460,6 +460,11 @@
|
||||||
<string name="formatPercent">%1$.0f%%</string>
|
<string name="formatPercent">%1$.0f%%</string>
|
||||||
<string name="basal">Bazál</string>
|
<string name="basal">Bazál</string>
|
||||||
<string name="basalpct">Bazál %</string>
|
<string name="basalpct">Bazál %</string>
|
||||||
|
<string name="count_selected">Vybráno: %1$d</string>
|
||||||
|
<string name="sort_label">Seřadit</string>
|
||||||
|
<string name="remove_items">Odebrat položky</string>
|
||||||
|
<string name="sort_items">Seřadit položky</string>
|
||||||
|
<string name="remove_selected_items">Odebrat vybrané položky</string>
|
||||||
<plurals name="days">
|
<plurals name="days">
|
||||||
<item quantity="one">%1$d den</item>
|
<item quantity="one">%1$d den</item>
|
||||||
<item quantity="few">%1$d dnů</item>
|
<item quantity="few">%1$d dnů</item>
|
||||||
|
|
|
@ -460,6 +460,11 @@
|
||||||
<string name="formatPercent">%1$.0f%%</string>
|
<string name="formatPercent">%1$.0f%%</string>
|
||||||
<string name="basal">Basal</string>
|
<string name="basal">Basal</string>
|
||||||
<string name="basalpct">Basal %</string>
|
<string name="basalpct">Basal %</string>
|
||||||
|
<string name="count_selected">%1$d seleccionados</string>
|
||||||
|
<string name="sort_label">Ordenar</string>
|
||||||
|
<string name="remove_items">Eliminar elementos</string>
|
||||||
|
<string name="sort_items">Ordenar elementos</string>
|
||||||
|
<string name="remove_selected_items">Eliminar los elementos seleccionados</string>
|
||||||
<plurals name="days">
|
<plurals name="days">
|
||||||
<item quantity="one">%1$d día</item>
|
<item quantity="one">%1$d día</item>
|
||||||
<item quantity="other">%1$d días</item>
|
<item quantity="other">%1$d días</item>
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
<color name="mdtp_line_dark">#808080</color>
|
<color name="mdtp_line_dark">#808080</color>
|
||||||
<color name="colorLightGray">#d8d8d8</color>
|
<color name="colorLightGray">#d8d8d8</color>
|
||||||
<color name="cardColorBackground">#212121</color>
|
<color name="cardColorBackground">#212121</color>
|
||||||
<color name="black_overlay">#66000000</color>
|
|
||||||
<color name="gray">#BBBBBB</color>
|
<color name="gray">#BBBBBB</color>
|
||||||
<color name="black">#FF000000</color>
|
<color name="black">#FF000000</color>
|
||||||
<color name="white">#FFFFFFFF</color>
|
<color name="white">#FFFFFFFF</color>
|
||||||
|
@ -172,6 +171,7 @@
|
||||||
<color name="info">#77dd77</color>
|
<color name="info">#77dd77</color>
|
||||||
<color name="error_background">#66FC0000</color>
|
<color name="error_background">#66FC0000</color>
|
||||||
<color name="ok_background">@color/colorPrimaryDark</color>
|
<color name="ok_background">@color/colorPrimaryDark</color>
|
||||||
|
<color name="dummy_background">#7DFF0000</color>
|
||||||
|
|
||||||
<color name="tempTargetBackground">#77dd77</color>
|
<color name="tempTargetBackground">#77dd77</color>
|
||||||
<color name="exercise">#67DFE8</color>
|
<color name="exercise">#67DFE8</color>
|
||||||
|
@ -204,17 +204,83 @@
|
||||||
|
|
||||||
<color name="splashBackground">#000000</color>
|
<color name="splashBackground">#000000</color>
|
||||||
|
|
||||||
|
<color name="extBolusStop">#FEAF05</color>
|
||||||
|
<color name="actionBasal">#CF8BFE</color>
|
||||||
|
<color name="pumpCanula">#67dfe8</color>
|
||||||
|
<color name="cgmInsert">#67dfe8</color>
|
||||||
|
<color name="pumpBattery">#36FF00</color>
|
||||||
|
<color name="note">#FEAF05</color>
|
||||||
|
<color name="announcement">#CF8BFE</color>
|
||||||
|
<color name="question">#FEAF05</color>
|
||||||
|
<color name="pumpHistory">#67DFE8</color>
|
||||||
|
|
||||||
<!-- Gray colors -->
|
<!-- Gray colors -->
|
||||||
<color name="darkgray">#323232</color>
|
<color name="darkgray">#323232</color>
|
||||||
<color name="darkgrayVariant">#424242</color>
|
<color name="darkgrayVariant">#424242</color>
|
||||||
<color name="objectivesBackground">#3C3C3C</color>
|
<color name="objectivesBackground">#3C3C3C</color>
|
||||||
<color name="plastic_grey">#666666</color>
|
<color name="plastic_grey">#666666</color>
|
||||||
|
<color name="byodagray">#999999</color>
|
||||||
<color name="sphere_plastic_grey">#8c8c8c</color>
|
<color name="sphere_plastic_grey">#8c8c8c</color>
|
||||||
<color name="lightSandGray">#72000000</color>
|
<color name="lightSandGray">#72000000</color>
|
||||||
<color name="sandGray">#c8666666</color>
|
<color name="sandGray">#c8666666</color>
|
||||||
<color name="treatment">#B2B2B2</color>
|
<color name="midgray">#B2B2B2</color>
|
||||||
<color name="lightgray">#4dB1B1B1</color>
|
<color name="lightgray">#4dB1B1B1</color>
|
||||||
<color name="mdtp_button_selected">#33969696</color>
|
<color name="mdtp_button_selected">#33969696</color>
|
||||||
<color name="plastic">#EBEBEA</color>
|
<color name="plastic">#EBEBEA</color>
|
||||||
|
|
||||||
|
<!-- dash and eros colors -->
|
||||||
|
<color name="omni_yellow">#FFFF00</color>
|
||||||
|
<color name="omni_cyan">#00FFFF</color>
|
||||||
|
<color name="omni_green">#00FF00</color>
|
||||||
|
|
||||||
|
<!-- Button icons - general -->
|
||||||
|
<color name="pod_icon_outline">#9E9E9E</color>
|
||||||
|
|
||||||
|
<!-- Omnipod Wizard -->
|
||||||
|
<color name="omnipod_wizard_progress_bar">#0099CC</color>
|
||||||
|
<color name="omnipod_wizard_finish_button">#ff669900</color>
|
||||||
|
<color name="icon_omnipod_wizard_success">#77DD77</color>
|
||||||
|
|
||||||
|
<!-- Omnipod tab - Button icons -->
|
||||||
|
<color name="ic_omnipod_overview_acknowledge_alerts">#FF4444</color>
|
||||||
|
<color name="ic_omnipod_overview_acknowledge_alerts_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management">#4CAF50</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management_graph">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_refresh_pod_status">#42A5F5</color>
|
||||||
|
<color name="ic_omnipod_overview_refresh_pod_status_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_resume_delivery">#67E86A</color>
|
||||||
|
<color name="ic_omnipod_overview_resume_delivery_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_set_time">#B39DDB</color>
|
||||||
|
<color name="ic_omnipod_overview_set_time_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_suspend_delivery">#ffbf00</color>
|
||||||
|
<color name="ic_omnipod_overview_suspend_delivery_outline">@color/pod_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Pod Management - Button icons -->
|
||||||
|
<color name="ic_pod_management_activate_pod">#67E86A</color>
|
||||||
|
<color name="ic_pod_management_activate_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_deactivate_pod">#FF4444</color>
|
||||||
|
<color name="ic_pod_management_deactivate_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_discard_pod">#85F803</color>
|
||||||
|
<color name="ic_pod_management_discard_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_play_test_beep">#ffbf00</color>
|
||||||
|
<color name="ic_pod_management_play_test_beep_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_pulse_log">#4DD0E1</color>
|
||||||
|
<color name="ic_pod_management_pulse_log_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_pod_history">#FB8C00</color>
|
||||||
|
<color name="ic_pod_management_pod_history_outline">@color/pod_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Button icons - general -->
|
||||||
|
<color name="rl_icon_outline">#b9d2d2</color>
|
||||||
|
<color name="rl_board_shape">#66BB6A</color>
|
||||||
|
<color name="rl_antenna_shape">#FF7043</color>
|
||||||
|
|
||||||
|
<!-- Actions tab - Button icons -->
|
||||||
|
<color name="ic_pod_activity_reset_rileylink_config">@color/rl_board_shape</color>
|
||||||
|
<color name="ic_pod_activity_reset_rileylink_config_outline">@color/rl_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Pod Management - Button icons -->
|
||||||
|
<color name="ic_pod_management_rl_stats">@color/rl_board_shape</color>
|
||||||
|
<color name="ic_pod_management_rl_stats_outline">@color/rl_icon_outline</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
<item name="notificationLow">@color/notificationLow</item>
|
<item name="notificationLow">@color/notificationLow</item>
|
||||||
<item name="notificationInfo">@color/notificationInfo</item>
|
<item name="notificationInfo">@color/notificationInfo</item>
|
||||||
<item name="notificationAnnouncement">@color/notificationAnnouncement</item>
|
<item name="notificationAnnouncement">@color/notificationAnnouncement</item>
|
||||||
|
|
||||||
<item name="actionModeCloseDrawable">@drawable/ic_close</item>
|
<item name="actionModeCloseDrawable">@drawable/ic_close</item>
|
||||||
<!---bolus color -->
|
<!---bolus color -->
|
||||||
<item name="bolusColor">@color/bolus</item>
|
<item name="bolusColor">@color/bolus</item>
|
||||||
|
@ -47,14 +46,10 @@
|
||||||
<item name="setTempButton">@color/colorSetTempButton</item>
|
<item name="setTempButton">@color/colorSetTempButton</item>
|
||||||
<!-- Card Item-->
|
<!-- Card Item-->
|
||||||
<item name="cardItemBackgroundColor">@color/cardColorBackground</item>
|
<item name="cardItemBackgroundColor">@color/cardColorBackground</item>
|
||||||
<!-- Carbs -->
|
|
||||||
<item name="carbsColor">@color/carbs</item>
|
|
||||||
<!-- Exercise -->
|
<!-- Exercise -->
|
||||||
<item name="exerciseColor">@color/exercise</item>
|
<item name="exerciseColor">@color/exercise</item>
|
||||||
<!-- BG low -->
|
<!-- BG low -->
|
||||||
<item name="lowColor">@color/low</item>
|
<item name="lowColor">@color/low</item>
|
||||||
<!-- Temp Target -->
|
|
||||||
<item name="tempTargetConfirmation">@color/tempTargetConfirmation</item>
|
|
||||||
<!-- Treatments -->
|
<!-- Treatments -->
|
||||||
<item name="setExtendedButtonColor">@color/colorSetExtendedButton</item>
|
<item name="setExtendedButtonColor">@color/colorSetExtendedButton</item>
|
||||||
<item name="activeColor">@color/colorActive</item>
|
<item name="activeColor">@color/colorActive</item>
|
||||||
|
@ -121,11 +116,11 @@
|
||||||
<item name="viewPortbackgroundColor">@color/white_alpha_20</item>
|
<item name="viewPortbackgroundColor">@color/white_alpha_20</item>
|
||||||
<item name="tempTargetBackgroundColor">@color/tempTargetBackground</item>
|
<item name="tempTargetBackgroundColor">@color/tempTargetBackground</item>
|
||||||
<!---CGM source-->
|
<!---CGM source-->
|
||||||
<item name="cgmdexColor">@color/colorLightGray</item>
|
<item name="cgmdexColor">@color/byodagray</item>
|
||||||
<item name="cgmxdripColor">@color/colorCalibrationButton</item>
|
<item name="cgmxdripColor">@color/colorCalibrationButton</item>
|
||||||
<!---BG color-->
|
<!---BG color-->
|
||||||
<item name="bgLow">@color/low</item>
|
<item name="bgLow">@color/low</item>
|
||||||
<item name="bgHigh">@color/high</item>
|
<item name="highColor">@color/high</item>
|
||||||
<item name="bgInRange">@color/inrange</item>
|
<item name="bgInRange">@color/inrange</item>
|
||||||
<!---Profile Helper -->
|
<!---Profile Helper -->
|
||||||
<item name="helperProfileColor">@color/helperProfile</item>
|
<item name="helperProfileColor">@color/helperProfile</item>
|
||||||
|
@ -142,6 +137,72 @@
|
||||||
<item name="infoColor">@color/info</item>
|
<item name="infoColor">@color/info</item>
|
||||||
<!---Bolus wizard -->
|
<!---Bolus wizard -->
|
||||||
<item name="cobAlertColor">@color/cobAlert</item>
|
<item name="cobAlertColor">@color/cobAlert</item>
|
||||||
|
<!---Fill dialog -->
|
||||||
|
<item name="actionsConfirmColor">@color/actionsConfirm</item>
|
||||||
|
<!-- dash and eros colors -->
|
||||||
|
<item name="omniMagentaColor">@color/prediction</item>
|
||||||
|
<item name="omniYellowColor">@color/omni_yellow</item>
|
||||||
|
<item name="omniCyanColor">@color/omni_cyan</item>
|
||||||
|
<item name="omniGreenColor">@color/omni_green</item>
|
||||||
|
<item name="omniGrayColor">@color/midgray</item>
|
||||||
|
<item name="omniWizardFinishButtonColor">@color/omnipod_wizard_finish_button</item>
|
||||||
|
<!---Warning Colors : WarnColors.kt-->
|
||||||
|
<item name="warnColor">@color/omni_yellow</item>
|
||||||
|
<item name="urgentColor">@color/alarm</item>
|
||||||
|
<!---Automation -->
|
||||||
|
<item name="userAction">@color/mdtp_line_dark</item>
|
||||||
|
<item name="validActions">@color/ribbonDefault</item>
|
||||||
|
<item name="actionsError">@color/errorAlertBackground</item>
|
||||||
|
<item name="automationBackgroundColor">@color/black</item>
|
||||||
|
<item name="automationOverlayColor">@color/black_alpha_40</item>
|
||||||
|
<!---BG source -->
|
||||||
|
<item name="bgsourceError">@color/errorAlertBackground</item>
|
||||||
|
<!---TDD-statistics -->
|
||||||
|
<item name="tddHeaderBackground">@android:color/darker_gray</item>
|
||||||
|
<item name="mainTableBackground">@android:color/transparent</item>
|
||||||
|
<item name="dummyBackground">@color/dummy_background</item>
|
||||||
|
<!-- Icon Colors -->
|
||||||
|
<item name="icCheckboxTrendColor">@color/white</item>
|
||||||
|
<!-- Overview Buttons -->
|
||||||
|
<item name="icBolusColor">@color/colorInsulinButton</item>
|
||||||
|
<item name="icBolusCarbsColor">@color/colorCarbsButton</item>
|
||||||
|
<item name="icCalculatorColor">@color/colorCalculatorButton</item>
|
||||||
|
<item name="icQuickWizardColor">@color/colorQuickWizardButton</item>
|
||||||
|
<item name="icCalibrationColor">@color/colorCalibrationButton</item>
|
||||||
|
<item name="icTreatmentColor">@color/colorTreatmentButton</item>
|
||||||
|
<!-- IOB -->
|
||||||
|
<item name="iobColor">@color/iob</item>
|
||||||
|
<!-- Basal -->
|
||||||
|
<item name="basal">@color/basal</item>
|
||||||
|
<!-- Carbs -->
|
||||||
|
<item name="carbsColor">@color/carbs</item>
|
||||||
|
<!-- Temp Target -->
|
||||||
|
<item name="tempTargetConfirmation">@color/tempTargetConfirmation</item>
|
||||||
|
<!---Loop Icon-->
|
||||||
|
<!---Loop Paused Icon Color-->
|
||||||
|
<item name="loopPaused">@color/loopSuspended</item>
|
||||||
|
<!---Loop Closed Icon Color-->
|
||||||
|
<item name="loopClosed">@color/loopClosed</item>
|
||||||
|
<!---Loop Disabled Icon Color-->
|
||||||
|
<item name="loopDisabled">@color/loopDisabled</item>
|
||||||
|
<!---Loop Disconnected Icon Color-->
|
||||||
|
<item name="loopDisconnected">@color/loopDisconnected</item>
|
||||||
|
<!---Loop Opened Icon Color-->
|
||||||
|
<item name="loopOpened">@color/loopOpened</item>
|
||||||
|
<!---Loop Super Bolus Icon Color-->
|
||||||
|
<item name="loopSuperBolus">@color/carbs</item>
|
||||||
|
<!---Action Icons Color-->
|
||||||
|
<item name="extBolusColor">@color/extendedBolus</item>
|
||||||
|
<item name="extBolusStopColor">@color/extBolusStop</item>
|
||||||
|
<item name="basalstartColor">@color/actionBasal</item>
|
||||||
|
<item name="basalCancelColor">@color/actionBasal</item>
|
||||||
|
<item name="pumpCanulaColor">@color/pumpCanula</item>
|
||||||
|
<item name="cgmInsertColor">@color/cgmInsert</item>
|
||||||
|
<item name="pumpBatteryColor">@color/pumpBattery</item>
|
||||||
|
<item name="noteColor">@color/note</item>
|
||||||
|
<item name="announcementColor">@color/announcement</item>
|
||||||
|
<item name="questionColor">@color/question</item>
|
||||||
|
<item name="pumpHistoryColor">@color/pumpHistory</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.MaterialComponents.DayNight.DarkActionBar" parent="Theme.MaterialComponents.DayNight.Bridge"/>
|
<style name="Theme.MaterialComponents.DayNight.DarkActionBar" parent="Theme.MaterialComponents.DayNight.Bridge"/>
|
||||||
|
|
|
@ -460,6 +460,11 @@
|
||||||
<string name="formatPercent">%1$.0f%%</string>
|
<string name="formatPercent">%1$.0f%%</string>
|
||||||
<string name="basal">Basal</string>
|
<string name="basal">Basal</string>
|
||||||
<string name="basalpct">Basal %</string>
|
<string name="basalpct">Basal %</string>
|
||||||
|
<string name="count_selected">%1$d valgt</string>
|
||||||
|
<string name="sort_label">Sorter</string>
|
||||||
|
<string name="remove_items">Slett elementer</string>
|
||||||
|
<string name="sort_items">Sorter elementer</string>
|
||||||
|
<string name="remove_selected_items">Slett valgte elementer</string>
|
||||||
<plurals name="days">
|
<plurals name="days">
|
||||||
<item quantity="one">%1$d dag</item>
|
<item quantity="one">%1$d dag</item>
|
||||||
<item quantity="other">%1$d dager</item>
|
<item quantity="other">%1$d dager</item>
|
||||||
|
|
|
@ -460,6 +460,11 @@
|
||||||
<string name="formatPercent">%1$.0f%%</string>
|
<string name="formatPercent">%1$.0f%%</string>
|
||||||
<string name="basal">Bazal</string>
|
<string name="basal">Bazal</string>
|
||||||
<string name="basalpct">Bazal %</string>
|
<string name="basalpct">Bazal %</string>
|
||||||
|
<string name="count_selected">%1$d seçildi</string>
|
||||||
|
<string name="sort_label">Sırala</string>
|
||||||
|
<string name="remove_items">Öğeleri kaldır</string>
|
||||||
|
<string name="sort_items">Öğeleri Sırala</string>
|
||||||
|
<string name="remove_selected_items">Seçilen öğeleri kaldır</string>
|
||||||
<plurals name="days">
|
<plurals name="days">
|
||||||
<item quantity="one">%1$d gün</item>
|
<item quantity="one">%1$d gün</item>
|
||||||
<item quantity="other">%1$d gün</item>
|
<item quantity="other">%1$d gün</item>
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
<attr name="cgmxdripColor" format="reference|color" />
|
<attr name="cgmxdripColor" format="reference|color" />
|
||||||
<!---BG color-->
|
<!---BG color-->
|
||||||
<attr name="bgLow" format="reference|color" />
|
<attr name="bgLow" format="reference|color" />
|
||||||
<attr name="bgHigh" format="reference|color" />
|
<attr name="highColor" format="reference|color" />
|
||||||
<attr name="bgInRange" format="reference|color" />
|
<attr name="bgInRange" format="reference|color" />
|
||||||
<!---Profile Helper -->
|
<!---Profile Helper -->
|
||||||
<attr name="helperProfileColor" format="reference|color" />
|
<attr name="helperProfileColor" format="reference|color" />
|
||||||
|
@ -109,6 +109,10 @@
|
||||||
<attr name="errorBackgroundColor" format="reference|color" />
|
<attr name="errorBackgroundColor" format="reference|color" />
|
||||||
<!---Warning -->
|
<!---Warning -->
|
||||||
<attr name="warningColor" format="reference|color" />
|
<attr name="warningColor" format="reference|color" />
|
||||||
|
<!---Warning Colors : WarnColors.kt-->
|
||||||
|
<attr name="normalColor" format="reference|color" />
|
||||||
|
<attr name="warnColor" format="reference|color" />
|
||||||
|
<attr name="urgentColor" format="reference|color" />
|
||||||
<!---TextColor -->
|
<!---TextColor -->
|
||||||
<attr name="defaultTextColor" format="reference|color" />
|
<attr name="defaultTextColor" format="reference|color" />
|
||||||
<!---Profile viewer TempBasal -->
|
<!---Profile viewer TempBasal -->
|
||||||
|
@ -116,4 +120,63 @@
|
||||||
<attr name="infoColor" format="reference|color" />
|
<attr name="infoColor" format="reference|color" />
|
||||||
<!---Bolus wizard -->
|
<!---Bolus wizard -->
|
||||||
<attr name="cobAlertColor" format="reference|color" />
|
<attr name="cobAlertColor" format="reference|color" />
|
||||||
|
<!---Fill dialog -->
|
||||||
|
<attr name="actionsConfirmColor" format="reference|color" />
|
||||||
|
<!-- dash and eros colors -->
|
||||||
|
<attr name="omniMagentaColor" format="reference|color" />
|
||||||
|
<attr name="omniYellowColor" format="reference|color" />
|
||||||
|
<attr name="omniCyanColor" format="reference|color" />
|
||||||
|
<attr name="omniGreenColor" format="reference|color" />
|
||||||
|
<attr name="omniGrayColor" format="reference|color" />
|
||||||
|
<attr name="omniWizardFinishButtonColor" format="reference|color" />
|
||||||
|
<!---Automation -->
|
||||||
|
<attr name="userAction" format="reference|color" />
|
||||||
|
<attr name="validActions" format="reference|color" />
|
||||||
|
<attr name="actionsError" format="reference|color" />
|
||||||
|
<attr name="automationBackgroundColor" format="reference|color" />
|
||||||
|
<attr name="automationOverlayColor" format="reference|color" />
|
||||||
|
<!---BG source -->
|
||||||
|
<attr name="bgsourceError" format="reference|color" />
|
||||||
|
<!---TDD-statistics -->
|
||||||
|
<attr name="tddHeaderBackground" format="reference|color" />
|
||||||
|
<attr name="mainTableBackground" format="reference|color" />
|
||||||
|
<attr name="dummyBackground" format="reference|color" />
|
||||||
|
<!-- Icon Colors -->
|
||||||
|
<attr name="icCheckboxTrendColor" format="reference|color" />
|
||||||
|
<!-- Overview Buttons -->
|
||||||
|
<attr name="icBolusColor" format="reference|color" />
|
||||||
|
<attr name="icBolusCarbsColor" format="reference|color" />
|
||||||
|
<attr name="icCalculatorColor" format="reference|color" />
|
||||||
|
<attr name="icQuickWizardColor" format="reference|color" />
|
||||||
|
<attr name="icCalibrationColor" format="reference|color" />
|
||||||
|
<attr name="icTreatmentColor" format="reference|color" />
|
||||||
|
<!-- IOB -->
|
||||||
|
<attr name="iobColor" format="reference|color" />
|
||||||
|
<!-- Basal -->
|
||||||
|
<attr name="basal" format="reference|color" />
|
||||||
|
<!---Loop Icon-->
|
||||||
|
<!---Loop Paused Icon Color-->
|
||||||
|
<attr name="loopPaused" format="reference|color" />
|
||||||
|
<!---Loop Closed Icon Color-->
|
||||||
|
<attr name="loopClosed" format="reference|color" />
|
||||||
|
<!---Loop Disabled Icon Color-->
|
||||||
|
<attr name="loopDisabled" format="reference|color" />
|
||||||
|
<!---Loop Disconnected Icon Color-->
|
||||||
|
<attr name="loopDisconnected" format="reference|color" />
|
||||||
|
<!---Loop Opened Icon Color-->
|
||||||
|
<attr name="loopOpened" format="reference|color" />
|
||||||
|
<!---Loop Super Bolus Icon Color-->
|
||||||
|
<attr name="loopSuperBolus" format="reference|color" />
|
||||||
|
<!---Extended Bolus Icon Color-->
|
||||||
|
<attr name="extBolusColor" format="reference|color" />
|
||||||
|
<attr name="extBolusStopColor" format="reference|color" />
|
||||||
|
<attr name="basalstartColor" format="reference|color" />
|
||||||
|
<attr name="basalCancelColor" format="reference|color" />
|
||||||
|
<attr name="pumpCanulaColor" format="reference|color" />
|
||||||
|
<attr name="cgmInsertColor" format="reference|color" />
|
||||||
|
<attr name="pumpBatteryColor" format="reference|color" />
|
||||||
|
<attr name="noteColor" format="reference|color" />
|
||||||
|
<attr name="announcementColor" format="reference|color" />
|
||||||
|
<attr name="questionColor" format="reference|color" />
|
||||||
|
<attr name="pumpHistoryColor" format="reference|color" />
|
||||||
</resources>
|
</resources>
|
|
@ -9,7 +9,6 @@
|
||||||
<color name="mdtp_line_dark">#808080</color>
|
<color name="mdtp_line_dark">#808080</color>
|
||||||
<color name="colorLightGray">#d8d8d8</color>
|
<color name="colorLightGray">#d8d8d8</color>
|
||||||
<color name="cardColorBackground">@color/lightgray</color>
|
<color name="cardColorBackground">@color/lightgray</color>
|
||||||
<color name="black_overlay">#66000000</color>
|
|
||||||
<color name="gray">#BBBBBB</color>
|
<color name="gray">#BBBBBB</color>
|
||||||
<color name="black">#FF000000</color>
|
<color name="black">#FF000000</color>
|
||||||
<color name="white">#FFFFFFFF</color>
|
<color name="white">#FFFFFFFF</color>
|
||||||
|
@ -33,11 +32,11 @@
|
||||||
<color name="background_light">#FFFFFF</color>
|
<color name="background_light">#FFFFFF</color>
|
||||||
|
|
||||||
<!-- Tabs-->
|
<!-- Tabs-->
|
||||||
<color name="tabText">#d0d0d0</color>
|
<color name="tabText">@color/black_alpha_90</color>
|
||||||
<color name="tabSelectedText">@color/white</color>
|
<color name="tabSelectedText">@color/black_alpha_90</color>
|
||||||
|
|
||||||
<!-- Buttons-->
|
<!-- Buttons-->
|
||||||
<color name="buttonBackground">#555555</color>
|
<color name="buttonBackground">#888888</color>
|
||||||
<color name="buttonText">#ffffff</color>
|
<color name="buttonText">#ffffff</color>
|
||||||
<color name="okButtonText">@color/colorAccent</color>
|
<color name="okButtonText">@color/colorAccent</color>
|
||||||
<color name="okButtonSelected">#33969696</color>
|
<color name="okButtonSelected">#33969696</color>
|
||||||
|
@ -49,7 +48,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Fragments-->
|
<!-- Fragments-->
|
||||||
<color name="pumpStatusBackground">#505050</color>
|
<color name="pumpStatusBackground">#CCCCCC</color>
|
||||||
|
|
||||||
<!-- Dialogs-->
|
<!-- Dialogs-->
|
||||||
<color name="dialog_title_background">#CCCCCC</color>
|
<color name="dialog_title_background">#CCCCCC</color>
|
||||||
|
@ -81,9 +80,9 @@
|
||||||
<!-- BgReading-->
|
<!-- BgReading-->
|
||||||
<color name="inrange">#00FF00</color>
|
<color name="inrange">#00FF00</color>
|
||||||
<color name="low">#FF0000</color>
|
<color name="low">#FF0000</color>
|
||||||
<color name="high">#FFFF00</color>
|
<color name="high">#FFFB8C00</color>
|
||||||
<color name="iob">#1e88e5</color>
|
<color name="iob">#1e88e5</color>
|
||||||
<color name="extendedBolus">#67DFE8</color>
|
<color name="extendedBolus">#1e88e5</color>
|
||||||
<color name="iobPredAS">#1ea3e5</color>
|
<color name="iobPredAS">#1ea3e5</color>
|
||||||
<color name="cob">#FFFB8C00</color>
|
<color name="cob">#FFFB8C00</color>
|
||||||
<color name="carbs">#FFFB8C00</color>
|
<color name="carbs">#FFFB8C00</color>
|
||||||
|
@ -150,9 +149,9 @@
|
||||||
|
|
||||||
<color name="ribbonWarning">#f4d700</color>
|
<color name="ribbonWarning">#f4d700</color>
|
||||||
<color name="ribbonCritical">#ff0400</color>
|
<color name="ribbonCritical">#ff0400</color>
|
||||||
<color name="ribbonTextDefault">#000000</color>
|
<color name="ribbonTextDefault">#FFFFFF</color>
|
||||||
<color name="ribbonTextWarning">#303030</color>
|
<color name="ribbonTextWarning">#303030</color>
|
||||||
<color name="tempTargetConfirmation">#77dd77</color>
|
<color name="tempTargetConfirmation">#6BD16B</color>
|
||||||
|
|
||||||
<color name="prediction">#ff00ff</color>
|
<color name="prediction">#ff00ff</color>
|
||||||
<color name="iobPred">#00d2d2</color>
|
<color name="iobPred">#00d2d2</color>
|
||||||
|
@ -173,22 +172,23 @@
|
||||||
<color name="info">#77dd77</color>
|
<color name="info">#77dd77</color>
|
||||||
<color name="error_background">#66FC0000</color>
|
<color name="error_background">#66FC0000</color>
|
||||||
<color name="ok_background">@color/white</color>
|
<color name="ok_background">@color/white</color>
|
||||||
|
<color name="dummy_background">#7DFF0000</color>
|
||||||
|
|
||||||
<color name="tempTargetBackground">#77dd77</color>
|
<color name="tempTargetBackground">#77dd77</color>
|
||||||
<color name="exercise">#67DFE8</color>
|
<color name="exercise">#42A5F5</color>
|
||||||
|
|
||||||
<color name="action">#ffffbb33</color>
|
<color name="action">#ffffbb33</color>
|
||||||
<color name="alarm">#ffff4444</color>
|
<color name="alarm">#ffff4444</color>
|
||||||
|
|
||||||
<color name="cardObjectiveText">#779ECB</color>
|
<color name="cardObjectiveText">#779ECB</color>
|
||||||
|
|
||||||
<color name="colorAcceptTempButton">#f4d700</color>
|
<color name="colorAcceptTempButton">#ffffbb33</color>
|
||||||
<color name="colorTreatmentButton">#67dfe8</color>
|
<color name="colorTreatmentButton">#67dfe8</color>
|
||||||
<color name="colorInsulinButton">#67dfe8</color>
|
<color name="colorInsulinButton">#67dfe8</color>
|
||||||
<color name="colorCarbsButton">#ffae01</color>
|
<color name="colorCarbsButton">#E19701</color>
|
||||||
<color name="colorCalibrationButton">#e93057</color>
|
<color name="colorCalibrationButton">#e93057</color>
|
||||||
<color name="colorCalculatorButton">#67e86a</color>
|
<color name="colorCalculatorButton">#66BB6A</color>
|
||||||
<color name="colorQuickWizardButton">#ffae01</color>
|
<color name="colorQuickWizardButton">#E19701</color>
|
||||||
<color name="colorSetTempButton">#FF478EFF</color>
|
<color name="colorSetTempButton">#FF478EFF</color>
|
||||||
<color name="colorSetExtendedButton">#FFDD7792</color>
|
<color name="colorSetExtendedButton">#FFDD7792</color>
|
||||||
<color name="colorProfileSwitchButton">#ca77dd</color>
|
<color name="colorProfileSwitchButton">#ca77dd</color>
|
||||||
|
@ -205,17 +205,96 @@
|
||||||
|
|
||||||
<color name="splashBackground">#FFFFFF</color>
|
<color name="splashBackground">#FFFFFF</color>
|
||||||
|
|
||||||
|
<color name="extBolusStop">#FEAF05</color>
|
||||||
|
<color name="actionBasal">#CF8BFE</color>
|
||||||
|
<color name="pumpCanula">#42A5F5</color>
|
||||||
|
<color name="cgmInsert">#42A5F5</color>
|
||||||
|
<color name="pumpBattery">#66BB6A</color>
|
||||||
|
<color name="note">#FEAF05</color>
|
||||||
|
<color name="announcement">#CF8BFE</color>
|
||||||
|
<color name="question">#FEAF05</color>
|
||||||
|
<color name="pumpHistory">#42A5F5</color>
|
||||||
|
|
||||||
<!-- Gray colors -->
|
<!-- Gray colors -->
|
||||||
<color name="darkgray">#323232</color>
|
<color name="darkgray">#323232</color>
|
||||||
<color name="darkgrayVariant">#424242</color>
|
<color name="darkgrayVariant">#424242</color>
|
||||||
<color name="objectivesBackground">#3C3C3C</color>
|
<color name="objectivesBackground">#3C3C3C</color>
|
||||||
<color name="plastic_grey">#666666</color>
|
<color name="plastic_grey">#666666</color>
|
||||||
|
<color name="byodagray">#777777</color>
|
||||||
<color name="sphere_plastic_grey">#8c8c8c</color>
|
<color name="sphere_plastic_grey">#8c8c8c</color>
|
||||||
<color name="lightSandGray">#72000000</color>
|
<color name="lightSandGray">#72000000</color>
|
||||||
<color name="sandGray">#c8666666</color>
|
<color name="sandGray">#c8666666</color>
|
||||||
<color name="treatment">#B2B2B2</color>
|
<color name="midgray">#B2B2B2</color>
|
||||||
<color name="lightgray">#4dB1B1B1</color>
|
<color name="lightgray">#4dB1B1B1</color>
|
||||||
<color name="mdtp_button_selected">#33969696</color>
|
<color name="mdtp_button_selected">#33969696</color>
|
||||||
<color name="plastic">#EBEBEA</color>
|
<color name="plastic">#EBEBEA</color>
|
||||||
|
|
||||||
|
<!-- dash and eros colors -->
|
||||||
|
<color name="omni_yellow">#FFFF00</color>
|
||||||
|
<color name="omni_cyan">#00FFFF</color>
|
||||||
|
<color name="omni_green">#00FF00</color>
|
||||||
|
|
||||||
|
<!-- Button icons - general -->
|
||||||
|
<color name="pod_icon_outline">#9E9E9E</color>
|
||||||
|
|
||||||
|
<!-- Omnipod Wizard -->
|
||||||
|
<color name="omnipod_wizard_progress_bar">#0099CC</color>
|
||||||
|
<color name="omnipod_wizard_finish_button">#ff669900</color>
|
||||||
|
<color name="icon_omnipod_wizard_success">#77DD77</color>
|
||||||
|
|
||||||
|
<!-- Omnipod tab - Button icons -->
|
||||||
|
<color name="ic_omnipod_overview_acknowledge_alerts">#FF4444</color>
|
||||||
|
<color name="ic_omnipod_overview_acknowledge_alerts_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management">#4CAF50</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management_graph">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_pod_management_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_refresh_pod_status">#42A5F5</color>
|
||||||
|
<color name="ic_omnipod_overview_refresh_pod_status_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_resume_delivery">#67E86A</color>
|
||||||
|
<color name="ic_omnipod_overview_resume_delivery_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_set_time">#B39DDB</color>
|
||||||
|
<color name="ic_omnipod_overview_set_time_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_omnipod_overview_suspend_delivery">#ffbf00</color>
|
||||||
|
<color name="ic_omnipod_overview_suspend_delivery_outline">@color/pod_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Pod Management - Button icons -->
|
||||||
|
<color name="ic_pod_management_activate_pod">#67E86A</color>
|
||||||
|
<color name="ic_pod_management_activate_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_deactivate_pod">#FF4444</color>
|
||||||
|
<color name="ic_pod_management_deactivate_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_discard_pod">#85F803</color>
|
||||||
|
<color name="ic_pod_management_discard_pod_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_play_test_beep">#ffbf00</color>
|
||||||
|
<color name="ic_pod_management_play_test_beep_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_pulse_log">#4DD0E1</color>
|
||||||
|
<color name="ic_pod_management_pulse_log_outline">@color/pod_icon_outline</color>
|
||||||
|
<color name="ic_pod_management_pod_history">#FB8C00</color>
|
||||||
|
<color name="ic_pod_management_pod_history_outline">@color/pod_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Button icons - general -->
|
||||||
|
<color name="rl_icon_outline">#b9d2d2</color>
|
||||||
|
<color name="rl_board_shape">#66BB6A</color>
|
||||||
|
<color name="rl_antenna_shape">#FF7043</color>
|
||||||
|
|
||||||
|
<!-- Actions tab - Button icons -->
|
||||||
|
<color name="ic_pod_activity_reset_rileylink_config">@color/rl_board_shape</color>
|
||||||
|
<color name="ic_pod_activity_reset_rileylink_config_outline">@color/rl_icon_outline</color>
|
||||||
|
|
||||||
|
<!-- Pod Management - Button icons -->
|
||||||
|
<color name="ic_pod_management_rl_stats">@color/rl_board_shape</color>
|
||||||
|
<color name="ic_pod_management_rl_stats_outline">@color/rl_icon_outline</color>
|
||||||
|
|
||||||
|
<!---Example light theme colors -->
|
||||||
|
<color name="aaps_theme_light_primary">#1D5FA5</color>
|
||||||
|
<color name="aaps_theme_light_onPrimary">#FFFFFF</color>
|
||||||
|
<color name="aaps_theme_light_secondary">#5954A8</color>
|
||||||
|
<color name="aaps_theme_light_onSecondary">#FFFFFF</color>
|
||||||
|
<color name="aaps_theme_light_error">#B3261E</color>
|
||||||
|
<color name="aaps_theme_light_onError">#FFFFFF</color>
|
||||||
|
<color name="aaps_theme_light_background">#FFFBFE</color>
|
||||||
|
<color name="aaps_theme_light_onBackground">#1C1B1F</color>
|
||||||
|
<color name="aaps_theme_light_surface">#FFFBFE</color>
|
||||||
|
<color name="aaps_theme_light_onSurface">#1C1B1F</color>
|
||||||
|
<color name="aaps_theme_light_surfaceVariant">#E7E0EC</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -2,25 +2,31 @@
|
||||||
<resources xmlns:ns2="http://schemas.android.com/tools">
|
<resources xmlns:ns2="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
|
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
|
||||||
<item name="colorPrimary">@color/colorPrimary</item>
|
<!---Example light theme colors -->
|
||||||
|
<item name="colorPrimary">@color/plastic</item>
|
||||||
|
<item name="colorOnPrimary">@color/aaps_theme_light_onPrimary</item>
|
||||||
|
<item name="colorSecondary">@color/aaps_theme_light_secondary</item>
|
||||||
|
<item name="colorOnSecondary">@color/aaps_theme_light_onSecondary</item>
|
||||||
|
<item name="colorError">@color/aaps_theme_light_error</item>
|
||||||
|
<item name="colorOnError">@color/aaps_theme_light_onError</item>
|
||||||
|
<item name="android:colorBackground">@color/aaps_theme_light_background</item>
|
||||||
|
<item name="colorOnBackground">@color/aaps_theme_light_onBackground</item>
|
||||||
|
<item name="colorSurface">@color/aaps_theme_light_surface</item>
|
||||||
|
<item name="colorOnSurface">@color/aaps_theme_light_onSurface</item>
|
||||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="colorAccent">@android:color/holo_blue_light</item>
|
<item name="colorAccent">@color/aaps_theme_light_secondary</item>
|
||||||
<item name="dialogTitleBackground">@color/dialog_title_background</item>
|
<item name="dialogTitleBackground">@color/dialog_title_background</item>
|
||||||
<item name="dialogTitleColor">@color/dialog_title_color</item>
|
<item name="dialogTitleColor">@color/dialog_title_color</item>
|
||||||
<item name="dialogTitleIconTint">@color/dialog_title_icon_tint</item>
|
<item name="dialogTitleIconTint">@color/dialog_title_icon_tint</item>
|
||||||
<!-- New MaterialComponents attributes. -->
|
<!-- New MaterialComponents attributes. -->
|
||||||
<item name="colorSecondary">@android:color/holo_blue_light</item>
|
|
||||||
<item name="colorPrimaryVariant">@color/primaryLightColorDefault</item>
|
<item name="colorPrimaryVariant">@color/primaryLightColorDefault</item>
|
||||||
<item name="colorSecondaryVariant">@color/secondaryLightColorDefault</item>
|
<item name="colorSecondaryVariant">@color/secondaryLightColorDefault</item>
|
||||||
<item name="colorOnPrimary">@color/primaryTextColorDefault</item>
|
|
||||||
<item name="colorSurface">@color/white</item>
|
|
||||||
<item name="colorOnSurface">@color/gray</item>
|
|
||||||
<item name="colorOnSecondary">@color/black</item>
|
|
||||||
<item name="colorOnBackground">@color/white</item>
|
|
||||||
<item name="colorOnError">@color/black</item>
|
|
||||||
<item name="scrimBackground">@color/white</item>
|
<item name="scrimBackground">@color/white</item>
|
||||||
<item name="popupMenuStyle">@style/Widget.MaterialComponents.PopupMenu</item>
|
<item name="popupMenuStyle">@style/Widget.MaterialComponents.PopupMenu</item>
|
||||||
<item name="actionOverflowMenuStyle">@style/Widget.MaterialComponents.PopupMenu.Overflow</item>
|
<item name="actionOverflowMenuStyle">@style/Widget.MaterialComponents.PopupMenu.Overflow</item>
|
||||||
|
<!---Text Colors -->
|
||||||
|
<item name="android:textColorPrimary">@color/black</item>
|
||||||
|
<item name="android:textColor">@color/black</item>
|
||||||
<!---Notification -->
|
<!---Notification -->
|
||||||
<item name="notificationUrgent">@color/notificationUrgent</item>
|
<item name="notificationUrgent">@color/notificationUrgent</item>
|
||||||
<item name="notificationNormal">@color/notificationNormal</item>
|
<item name="notificationNormal">@color/notificationNormal</item>
|
||||||
|
@ -46,14 +52,10 @@
|
||||||
<item name="setTempButton">@color/colorSetTempButton</item>
|
<item name="setTempButton">@color/colorSetTempButton</item>
|
||||||
<!-- Card Item-->
|
<!-- Card Item-->
|
||||||
<item name="cardItemBackgroundColor">@color/cardColorBackground</item>
|
<item name="cardItemBackgroundColor">@color/cardColorBackground</item>
|
||||||
<!-- Carbs -->
|
|
||||||
<item name="carbsColor">@color/carbs</item>
|
|
||||||
<!-- Exercise -->
|
<!-- Exercise -->
|
||||||
<item name="exerciseColor">@color/exercise</item>
|
<item name="exerciseColor">@color/exercise</item>
|
||||||
<!-- BG low -->
|
<!-- BG low -->
|
||||||
<item name="lowColor">@color/low</item>
|
<item name="lowColor">@color/low</item>
|
||||||
<!-- Temp Target -->
|
|
||||||
<item name="tempTargetConfirmation">@color/tempTargetConfirmation</item>
|
|
||||||
<!-- Treatments -->
|
<!-- Treatments -->
|
||||||
<item name="setExtendedButtonColor">@color/colorSetExtendedButton</item>
|
<item name="setExtendedButtonColor">@color/colorSetExtendedButton</item>
|
||||||
<item name="activeColor">@color/colorActive</item>
|
<item name="activeColor">@color/colorActive</item>
|
||||||
|
@ -120,12 +122,12 @@
|
||||||
<item name="viewPortbackgroundColor">@color/white_alpha_20</item>
|
<item name="viewPortbackgroundColor">@color/white_alpha_20</item>
|
||||||
<item name="tempTargetBackgroundColor">@color/tempTargetBackground</item>
|
<item name="tempTargetBackgroundColor">@color/tempTargetBackground</item>
|
||||||
<!---CGM source-->
|
<!---CGM source-->
|
||||||
<item name="cgmdexColor">@color/colorLightGray</item>
|
<item name="cgmdexColor">@color/byodagray</item>
|
||||||
<item name="cgmxdripColor">@color/colorCalibrationButton</item>
|
<item name="cgmxdripColor">@color/colorCalibrationButton</item>
|
||||||
<!---BG color-->
|
<!---BG color-->
|
||||||
<item name="bgLow">@color/low</item>
|
<item name="bgLow">@color/low</item>
|
||||||
<item name="bgHigh">@color/high</item>
|
<item name="highColor">@color/high</item>
|
||||||
<item name="bgInRange">@color/inrange</item>
|
<item name="bgInRange">@color/tempTargetConfirmation</item>
|
||||||
<!---Profile Helper -->
|
<!---Profile Helper -->
|
||||||
<item name="helperProfileColor">@color/helperProfile</item>
|
<item name="helperProfileColor">@color/helperProfile</item>
|
||||||
<item name="examinedProfileColor">@color/examinedProfile</item>
|
<item name="examinedProfileColor">@color/examinedProfile</item>
|
||||||
|
@ -141,6 +143,73 @@
|
||||||
<item name="infoColor">@color/info</item>
|
<item name="infoColor">@color/info</item>
|
||||||
<!---Bolus wizard -->
|
<!---Bolus wizard -->
|
||||||
<item name="cobAlertColor">@color/cobAlert</item>
|
<item name="cobAlertColor">@color/cobAlert</item>
|
||||||
|
<!---Fill dialog -->
|
||||||
|
<item name="actionsConfirmColor">@color/actionsConfirm</item>
|
||||||
|
<!-- dash and eros colors -->
|
||||||
|
<item name="omniMagentaColor">@color/prediction</item>
|
||||||
|
<item name="omniYellowColor">@color/omni_yellow</item>
|
||||||
|
<item name="omniCyanColor">@color/omni_cyan</item>
|
||||||
|
<item name="omniGreenColor">@color/omni_green</item>
|
||||||
|
<item name="omniGrayColor">@color/midgray</item>
|
||||||
|
<item name="omniWizardFinishButtonColor">@color/omnipod_wizard_finish_button</item>
|
||||||
|
<!---Warning Colors : WarnColors.kt-->
|
||||||
|
<item name="warnColor">@color/high</item>
|
||||||
|
<item name="urgentColor">@color/alarm</item>
|
||||||
|
<!---Automation -->
|
||||||
|
<item name="userAction">@color/mdtp_line_dark</item>
|
||||||
|
<item name="validActions">@color/ribbonDefault</item>
|
||||||
|
<item name="actionsError">@color/errorAlertBackground</item>
|
||||||
|
<item name="automationBackgroundColor">@color/black</item>
|
||||||
|
<item name="automationOverlayColor">@color/black_alpha_40</item>
|
||||||
|
<!---BG source -->
|
||||||
|
<item name="bgsourceError">@color/errorAlertBackground</item>
|
||||||
|
<!---TDD-statistics -->
|
||||||
|
<item name="tddHeaderBackground">@android:color/darker_gray</item>
|
||||||
|
<item name="mainTableBackground">@android:color/transparent</item>
|
||||||
|
<item name="dummyBackground">@color/dummy_background</item>
|
||||||
|
<!-- Icon Colors -->
|
||||||
|
<!-- Trend Arrow -->
|
||||||
|
<item name="icCheckboxTrendColor">@color/plastic_grey</item>
|
||||||
|
<!-- Overview Buttons -->
|
||||||
|
<item name="icBolusColor">@color/bolus</item>
|
||||||
|
<item name="icBolusCarbsColor">@color/colorCarbsButton</item>
|
||||||
|
<item name="icCalculatorColor">@color/colorCalculatorButton</item>
|
||||||
|
<item name="icQuickWizardColor">@color/colorQuickWizardButton</item>
|
||||||
|
<item name="icCalibrationColor">@color/colorCalibrationButton</item>
|
||||||
|
<item name="icTreatmentColor">@color/bolus</item>
|
||||||
|
<!-- IOB -->
|
||||||
|
<item name="iobColor">@color/iob</item>
|
||||||
|
<!-- Basal -->
|
||||||
|
<item name="basal">@color/basal</item>
|
||||||
|
<!-- Carbs -->
|
||||||
|
<item name="carbsColor">@color/carbs</item>
|
||||||
|
<!-- Temp Target -->
|
||||||
|
<item name="tempTargetConfirmation">@color/tempTargetConfirmation</item>
|
||||||
|
<!---Loop Icon-->
|
||||||
|
<!---Loop Paused Icon Color-->
|
||||||
|
<item name="loopPaused">@color/loopSuspended</item>
|
||||||
|
<!---Loop Closed Icon Color-->
|
||||||
|
<item name="loopClosed">@color/loopClosed</item>
|
||||||
|
<!---Loop Disabled Icon Color-->
|
||||||
|
<item name="loopDisabled">@color/loopDisabled</item>
|
||||||
|
<!---Loop Disconnected Icon Color-->
|
||||||
|
<item name="loopDisconnected">@color/loopDisconnected</item>
|
||||||
|
<!---Loop Opened Icon Color-->
|
||||||
|
<item name="loopOpened">@color/loopOpened</item>
|
||||||
|
<!---Loop Super Bolus Icon Color-->
|
||||||
|
<item name="loopSuperBolus">@color/carbs</item>
|
||||||
|
<!---Action Icons Color-->
|
||||||
|
<item name="extBolusColor">@color/extendedBolus</item>
|
||||||
|
<item name="extBolusStopColor">@color/extBolusStop</item>
|
||||||
|
<item name="basalstartColor">@color/actionBasal</item>
|
||||||
|
<item name="basalCancelColor">@color/actionBasal</item>
|
||||||
|
<item name="pumpCanulaColor">@color/pumpCanula</item>
|
||||||
|
<item name="cgmInsertColor">@color/cgmInsert</item>
|
||||||
|
<item name="pumpBatteryColor">@color/pumpBattery</item>
|
||||||
|
<item name="noteColor">@color/note</item>
|
||||||
|
<item name="announcementColor">@color/announcement</item>
|
||||||
|
<item name="questionColor">@color/question</item>
|
||||||
|
<item name="pumpHistoryColor">@color/pumpHistory</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.MaterialComponents.DayNight.DarkActionBar" parent="Theme.MaterialComponents.DayNight.Bridge"/>
|
<style name="Theme.MaterialComponents.DayNight.DarkActionBar" parent="Theme.MaterialComponents.DayNight.Bridge"/>
|
||||||
|
|
|
@ -38,7 +38,6 @@ import javax.inject.Inject
|
||||||
|
|
||||||
class DanaHistoryActivity : NoSplashAppCompatActivity() {
|
class DanaHistoryActivity : NoSplashAppCompatActivity() {
|
||||||
|
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var profileFunction: ProfileFunction
|
@Inject lateinit var profileFunction: ProfileFunction
|
||||||
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
||||||
@Inject lateinit var activePlugin: ActivePlugin
|
@Inject lateinit var activePlugin: ActivePlugin
|
||||||
|
|
|
@ -26,7 +26,6 @@ import kotlin.math.min
|
||||||
|
|
||||||
class DanaUserOptionsActivity : NoSplashAppCompatActivity() {
|
class DanaUserOptionsActivity : NoSplashAppCompatActivity() {
|
||||||
|
|
||||||
@Inject lateinit var rxBus: RxBus
|
|
||||||
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
@Inject lateinit var fabricPrivacy: FabricPrivacy
|
||||||
@Inject lateinit var context: Context
|
@Inject lateinit var context: Context
|
||||||
@Inject lateinit var danaPump: DanaPump
|
@Inject lateinit var danaPump: DanaPump
|
||||||
|
|
|
@ -10,7 +10,7 @@ class MsgCheckValue_k(
|
||||||
) : MessageBase(injector) {
|
) : MessageBase(injector) {
|
||||||
|
|
||||||
init {
|
init {
|
||||||
SetCommand(0xF0F1)
|
setCommand(0xF0F1)
|
||||||
aapsLogger.debug(LTag.PUMPCOMM, "New message")
|
aapsLogger.debug(LTag.PUMPCOMM, "New message")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ class MsgInitConnStatusBasic_k(
|
||||||
) : MessageBase(injector) {
|
) : MessageBase(injector) {
|
||||||
|
|
||||||
init {
|
init {
|
||||||
SetCommand(0x0303)
|
setCommand(0x0303)
|
||||||
aapsLogger.debug(LTag.PUMPCOMM, "New message")
|
aapsLogger.debug(LTag.PUMPCOMM, "New message")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue