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