diff --git a/opensrp-chw-core/build.gradle b/opensrp-chw-core/build.gradle index f95bc57b41..6487d64687 100644 --- a/opensrp-chw-core/build.gradle +++ b/opensrp-chw-core/build.gradle @@ -89,7 +89,7 @@ dependencies { exclude group: 'com.android.support', module: 'appcompat-v7' } - api('org.smartregister:opensrp-client-family:1.2.18-SNAPSHOT@aar') { + api('org.smartregister:opensrp-client-family:1.2.20-SNAPSHOT@aar') { transitive = true exclude group: 'org.smartregister', module: 'opensrp-client-core' exclude group: 'org.smartregister', module: 'opensrp-client-native-form' diff --git a/opensrp-chw-core/src/main/java/org/smartregister/chw/core/provider/CoreRegisterProvider.java b/opensrp-chw-core/src/main/java/org/smartregister/chw/core/provider/CoreRegisterProvider.java index 258e370c6a..6a53d3362c 100644 --- a/opensrp-chw-core/src/main/java/org/smartregister/chw/core/provider/CoreRegisterProvider.java +++ b/opensrp-chw-core/src/main/java/org/smartregister/chw/core/provider/CoreRegisterProvider.java @@ -62,7 +62,7 @@ public void getView(Cursor cursor, SmartRegisterClient client, RegisterViewHolde private void updatePncAncIcons(RegisterViewHolder viewHolder, int womanCount, String register) { for (int i = 1; i <= womanCount; i++) { ImageView imageView = new ImageView(context); - imageView.setImageResource(CoreConstants.TABLE_NAME.ANC_MEMBER.equals(register) ? R.mipmap.ic_anc_pink : R.mipmap.row_pnc); + imageView.setImageResource(CoreConstants.TABLE_NAME.ANC_MEMBER.equals(register) ? R.mipmap.ic_anc_pink : org.smartregister.family.R.mipmap.row_pnc); LinearLayout linearLayout = (LinearLayout) viewHolder.memberIcon; linearLayout.addView(imageView); } diff --git a/opensrp-chw-core/src/main/res/drawable-hdpi/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable-hdpi/rowavatar_child.png new file mode 100644 index 0000000000..a41cd0c691 Binary files /dev/null and b/opensrp-chw-core/src/main/res/drawable-hdpi/rowavatar_child.png differ diff --git a/opensrp-chw-core/src/main/res/drawable-ldpi/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable-ldpi/rowavatar_child.png new file mode 100644 index 0000000000..a41cd0c691 Binary files /dev/null and b/opensrp-chw-core/src/main/res/drawable-ldpi/rowavatar_child.png differ diff --git a/opensrp-chw-core/src/main/res/drawable-mdpi/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable-mdpi/rowavatar_child.png index 974f1ab029..a41cd0c691 100644 Binary files a/opensrp-chw-core/src/main/res/drawable-mdpi/rowavatar_child.png and b/opensrp-chw-core/src/main/res/drawable-mdpi/rowavatar_child.png differ diff --git a/opensrp-chw-core/src/main/res/drawable-xhdpi/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable-xhdpi/rowavatar_child.png index 911f79c013..a41cd0c691 100644 Binary files a/opensrp-chw-core/src/main/res/drawable-xhdpi/rowavatar_child.png and b/opensrp-chw-core/src/main/res/drawable-xhdpi/rowavatar_child.png differ diff --git a/opensrp-chw-core/src/main/res/drawable-xxxhdpi/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable-xxxhdpi/rowavatar_child.png new file mode 100644 index 0000000000..a41cd0c691 Binary files /dev/null and b/opensrp-chw-core/src/main/res/drawable-xxxhdpi/rowavatar_child.png differ diff --git a/opensrp-chw-core/src/main/res/drawable/rowavatar_child.png b/opensrp-chw-core/src/main/res/drawable/rowavatar_child.png deleted file mode 100644 index d7e20745e6..0000000000 Binary files a/opensrp-chw-core/src/main/res/drawable/rowavatar_child.png and /dev/null differ diff --git a/opensrp-chw-core/src/main/res/mipmap-mdpi/row_pnc.png b/opensrp-chw-core/src/main/res/mipmap-mdpi/row_pnc.png deleted file mode 100644 index d92c91c81f..0000000000 Binary files a/opensrp-chw-core/src/main/res/mipmap-mdpi/row_pnc.png and /dev/null differ