Skip to content

Commit

Permalink
WD|Fix modules fragments #4
Browse files Browse the repository at this point in the history
  • Loading branch information
baksosapi committed Nov 8, 2017
1 parent 127d62d commit a87ad9d
Show file tree
Hide file tree
Showing 37 changed files with 3,736 additions and 441 deletions.
23 changes: 2 additions & 21 deletions opensrp-bidan/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,27 +120,8 @@
android:screenOrientation="landscape"
android:theme="@style/BidanAppTheme"
/>
<activity android:name=".activity.KISmartRegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppThemeNoActionBarAndTitle"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".activity.KIAnakSmartRegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppThemeNoActionBarAndTitle"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".activity.KIANCSmartRegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppThemeNoActionBarAndTitle"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".activity.KIPNCSmartRegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppThemeNoActionBarAndTitle"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".activity.KBSmartRegisterActivity"

<activity android:name=".activity.KIbuSmartRegisterActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@style/AppThemeNoActionBarAndTitle"
Expand Down
4 changes: 2 additions & 2 deletions opensrp-bidan/src/main/assets/json.form/child_enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"openmrs_entity_id": "ZEIR_ID",
"type": "barcode",
"barcode_type": "qrcode",
"hint": "Child's ZEIR ID *",
"hint": "Child's BIDAN ID *",
"scanButtonText": "Scan QR Code",
"value": "0",
"v_numeric": {
Expand All @@ -95,7 +95,7 @@
},
"v_required": {
"value": "true",
"err": "Please enter the Child's ZEIR ID"
"err": "Please enter the Child's BIDAN ID"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"openmrs_entity_id": "",
"type": "barcode",
"barcode_type": "qrcode",
"hint": "ZEIR ID *",
"hint": "BIDAN ID *",
"scanButtonText": "Scan QR Code",
"read_only": true,
"value": "",
"v_required": {
"value": "true",
"err": "Enter the child's ZEIR ID"
"err": "Enter the child's BIDAN ID"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ private void profileWidget() {
}

profileage.setText(String.format("%s: %s", getString(R.string.age), formattedAge));
profileZeirID.setText(String.format("%s: %s", getString(R.string.label_zeir), childId));
profileZeirID.setText(String.format("%s: %s", getString(R.string.label_opensrp), childId));
profilename.setText(name);
updateGenderViews();
Gender gender = Gender.UNKNOWN;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private void updateChildIdViews() {
TextView nameTV = (TextView) findViewById(R.id.name_tv);
nameTV.setText(name);
TextView childIdTV = (TextView) findViewById(R.id.child_id_tv);
childIdTV.setText(String.format("%s: %s", getString(R.string.label_zeir), childId));
childIdTV.setText(String.format("%s: %s", getString(R.string.label_opensrp), childId));

Utils.startAsyncTask(new GetSiblingsTask(), null);
}
Expand Down
Loading

0 comments on commit a87ad9d

Please sign in to comment.