WeekDayPicker -> automations

This commit is contained in:
Milos Kozak 2022-11-09 10:48:59 +01:00
parent f43e090296
commit 1c95cb107d
8 changed files with 16 additions and 13 deletions

View file

@ -11,6 +11,7 @@ apply from: "${project.rootDir}/core/android_module_dependencies.gradle"
apply from: "${project.rootDir}/core/allopen_dependencies.gradle"
apply from: "${project.rootDir}/core/test_dependencies.gradle"
apply from: "${project.rootDir}/core/jacoco_global.gradle"
android {
namespace 'info.nightscout.automation'
}
@ -22,4 +23,6 @@ dependencies {
implementation project(':app-wear-shared:rx')
implementation project(':app-wear-shared:shared')
implementation project(':interfaces')
api "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
}

View file

@ -2,7 +2,7 @@ package info.nightscout.automation.elements
import android.widget.LinearLayout
import androidx.annotation.StringRes
import info.nightscout.androidaps.utils.ui.WeekdayPicker
import info.nightscout.automation.ui.WeekdayPicker
import info.nightscout.automation.R
import java.util.Calendar

View file

@ -1,4 +1,4 @@
package info.nightscout.androidaps.utils.ui
package info.nightscout.automation.ui
import android.content.Context
import android.util.AttributeSet
@ -6,9 +6,9 @@ import android.view.LayoutInflater
import android.widget.Checkable
import androidx.appcompat.widget.AppCompatCheckedTextView
import androidx.constraintlayout.widget.ConstraintLayout
import info.nightscout.androidaps.core.databinding.WeekdayPickerBinding
import info.nightscout.automation.databinding.WeekdayPickerBinding
import info.nightscout.shared.extensions.toVisibility
import java.util.*
import java.util.Calendar
class WeekdayPicker constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0

View file

@ -126,4 +126,13 @@
<string name="remove_sort">Remove/sort</string>
<string name="stop_processing">Stop processing</string>
<!-- WeekdayPicker -->
<string name="monday_short">M</string>
<string name="tuesday_short">T</string>
<string name="wednesday_short">W</string>
<string name="thursday_short">T</string>
<string name="friday_short">F</string>
<string name="saturday_short">S</string>
<string name="sunday_short">S</string>
</resources>

View file

@ -434,15 +434,6 @@
<!-- Permissions -->
<string name="alert_dialog_storage_permission_text">Please reboot your phone or restart AAPS from the System Settings \notherwise Android APS will not have logging (important to track and verify that the algorithms are working correctly)!</string>
<!-- WeekdayPicker -->
<string name="monday_short">M</string>
<string name="tuesday_short">T</string>
<string name="wednesday_short">W</string>
<string name="thursday_short">T</string>
<string name="friday_short">F</string>
<string name="saturday_short">S</string>
<string name="sunday_short">S</string>
<!-- User Entry -->
<string name="uel_bolus">BOLUS</string>
<string name="uel_bolus_calculator">BOLUS CALCULATOR</string>