diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java index c85117cfc6..d990b218d4 100644 --- a/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/application/ChwApplicationFlv.java @@ -161,4 +161,18 @@ public boolean showIconsForChildrenUnderTwoAndGirlsAgeNineToEleven(){ public boolean showBottomNavigation() { return false; } + + @Override + public boolean disableChildRegistrationTitleGoBack() { + return true; + } + + public boolean showReportsDescription() { + return true; + } + + @Override + public boolean showReportsDivider() { + return true; + } } diff --git a/opensrp-chw/src/lmh/java/org/smartregister/chw/fragment/BaseHomeVisitImmunizationFragmentFlv.java b/opensrp-chw/src/lmh/java/org/smartregister/chw/fragment/BaseHomeVisitImmunizationFragmentFlv.java index f1a505d05d..16ae4d30cf 100644 --- a/opensrp-chw/src/lmh/java/org/smartregister/chw/fragment/BaseHomeVisitImmunizationFragmentFlv.java +++ b/opensrp-chw/src/lmh/java/org/smartregister/chw/fragment/BaseHomeVisitImmunizationFragmentFlv.java @@ -2,9 +2,11 @@ import android.os.Bundle; import android.view.View; +import android.widget.DatePicker; import androidx.annotation.NonNull; import androidx.annotation.Nullable; +import androidx.annotation.VisibleForTesting; import org.smartregister.chw.anc.contract.BaseAncHomeVisitContract; import org.smartregister.chw.anc.domain.VaccineDisplay; @@ -42,7 +44,17 @@ public static BaseHomeVisitImmunizationFragmentFlv getInstance(final BaseAncHome @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { - DatePickerUtils.themeDatePicker(singleDatePicker, new char[]{'d', 'm', 'y'}); + callDatePickerUtilsThemeDatePicker(singleDatePicker, new char[]{'d', 'm', 'y'}); super.onViewCreated(view, savedInstanceState); } + + @VisibleForTesting + void callDatePickerUtilsThemeDatePicker(DatePicker datePicker, char[] ymdOrder){ + DatePickerUtils.themeDatePicker(datePicker, ymdOrder); + } + + @Override + protected void setDatePickerTheme(DatePicker picker) { + callDatePickerUtilsThemeDatePicker(picker, new char[]{'d', 'm', 'y'}); + } } diff --git a/opensrp-chw/src/lmh/res/drawable/ic_navigate_next_grey_24dp.xml b/opensrp-chw/src/lmh/res/drawable/ic_navigate_next_grey_24dp.xml new file mode 100644 index 0000000000..c809dbee8f --- /dev/null +++ b/opensrp-chw/src/lmh/res/drawable/ic_navigate_next_grey_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_receive.xml b/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_receive.xml new file mode 100644 index 0000000000..e1a5381c8c --- /dev/null +++ b/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_receive.xml @@ -0,0 +1,10 @@ + + + diff --git a/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_send.xml b/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_send.xml new file mode 100644 index 0000000000..558afc034d --- /dev/null +++ b/opensrp-chw/src/lmh/res/drawable/ic_transfer_data_send.xml @@ -0,0 +1,10 @@ + + + diff --git a/opensrp-chw/src/lmh/res/drawable/p2p_card_text_color_selector.xml b/opensrp-chw/src/lmh/res/drawable/p2p_card_text_color_selector.xml new file mode 100644 index 0000000000..c58a8cb97e --- /dev/null +++ b/opensrp-chw/src/lmh/res/drawable/p2p_card_text_color_selector.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/opensrp-chw/src/lmh/res/layout/fragment_mode_select.xml b/opensrp-chw/src/lmh/res/layout/fragment_mode_select.xml new file mode 100644 index 0000000000..f04c2bb05e --- /dev/null +++ b/opensrp-chw/src/lmh/res/layout/fragment_mode_select.xml @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + +