Minor Eros stuff
This commit is contained in:
parent
fa05163019
commit
c05dcbd8db
|
@ -11,7 +11,7 @@ import info.nightscout.androidaps.danar.di.DanaRModule
|
|||
import info.nightscout.androidaps.danars.di.DanaRSModule
|
||||
import info.nightscout.androidaps.database.DatabaseModule
|
||||
import info.nightscout.androidaps.plugins.pump.common.dagger.RileyLinkModule
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.eros.dagger.OmnipodModule
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.eros.dagger.OmnipodErosModule
|
||||
import javax.inject.Singleton
|
||||
|
||||
@Singleton
|
||||
|
@ -32,7 +32,7 @@ import javax.inject.Singleton
|
|||
WizardModule::class,
|
||||
RileyLinkModule::class,
|
||||
MedtronicModule::class,
|
||||
OmnipodModule::class,
|
||||
OmnipodErosModule::class,
|
||||
APSModule::class,
|
||||
PreferencesModule::class,
|
||||
OverviewModule::class,
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
|
||||
<activity android:name="info.nightscout.androidaps.plugins.pump.omnipod.eros.ui.PodManagementActivity" />
|
||||
<activity android:name="info.nightscout.androidaps.plugins.pump.omnipod.eros.ui.PodHistoryActivity" />
|
||||
<activity android:name="info.nightscout.androidaps.plugins.pump.omnipod.eros.ui.wizard.activation.PodActivationWizardActivity" />
|
||||
<activity android:name="info.nightscout.androidaps.plugins.pump.omnipod.eros.ui.wizard.deactivation.PodDeactivationWizardActivity" />
|
||||
<activity android:name=".ui.PodManagementActivity" />
|
||||
<activity android:name=".ui.PodHistoryActivity" />
|
||||
<activity android:name=".ui.wizard.activation.PodActivationWizardActivity" />
|
||||
<activity android:name=".ui.wizard.deactivation.PodDeactivationWizardActivity" />
|
||||
</application>
|
||||
</manifest>
|
|
@ -14,7 +14,7 @@ import info.nightscout.androidaps.plugins.pump.omnipod.eros.ui.wizard.deactivati
|
|||
|
||||
@Module
|
||||
@Suppress("unused")
|
||||
abstract class OmnipodModule {
|
||||
abstract class OmnipodErosModule {
|
||||
|
||||
// Activities
|
||||
@ContributesAndroidInjector
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".eros.ui.OmnipodOverviewFragment">
|
||||
tools:context=".ui.OmnipodOverviewFragment">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/omnipod_pod_management"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
tools:context=".ui.PodManagementActivity">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
|
@ -54,7 +56,6 @@
|
|||
android:text="@string/omnipod_pod_management_heading_actions" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/action_buttons_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
|
@ -115,7 +116,7 @@
|
|||
android:drawableTop="@drawable/ic_pod_management_discard_pod"
|
||||
android:text="@string/omnipod_pod_management_button_discard_pod"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone"/>
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -155,7 +156,7 @@
|
|||
android:drawableTop="@drawable/ic_pod_management_rl_stats"
|
||||
android:text="@string/omnipod_pod_management_button_riley_link_stats"
|
||||
android:textAllCaps="false"
|
||||
android:visibility="gone"/>
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Reference in a new issue