-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WD| Setup on Kohort ANC Detail activity #4
- Loading branch information
Showing
18 changed files
with
4,218 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
376 changes: 376 additions & 0 deletions
376
...-cloudant/src/main/java/org/smartregister/bidan_cloudant/activity/KANCDetailActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
371 changes: 371 additions & 0 deletions
371
...loudant/src/main/java/org/smartregister/bidan_cloudant/activity/KChildDetailActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
371 changes: 371 additions & 0 deletions
371
...n-cloudant/src/main/java/org/smartregister/bidan_cloudant/activity/KFPDetailActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
371 changes: 371 additions & 0 deletions
371
...oudant/src/main/java/org/smartregister/bidan_cloudant/activity/KMotherDetailActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
371 changes: 371 additions & 0 deletions
371
...-cloudant/src/main/java/org/smartregister/bidan_cloudant/activity/KPNCDetailActivity.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 126 additions & 0 deletions
126
bidan-cloudant/src/main/res/layout/anc_detail_activity.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:background="@color/client_list_header_dark_grey"> | ||
|
||
<include layout="@layout/motherdetail_nav_bar"/> | ||
|
||
<ImageView | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/smart_register_client_divider_height" | ||
android:src="@color/smart_register_client_divider_color" | ||
android:id="@+id/imageView5" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/linearLayout" | ||
android:layout_width="match_parent" | ||
android:layout_height="32dp" | ||
android:weightSum="4" | ||
android:orientation="horizontal"> | ||
|
||
<org.ei.opensrp.view.customControls.CustomFontTextView | ||
android:layout_weight="1.05" | ||
android:layout_width="0dp" | ||
|
||
android:layout_height="match_parent" | ||
android:text="@string/basic_information" | ||
android:id="@+id/child_detail_information" | ||
style="@style/CustomFontTextViewStyle.ListView.Medium" | ||
android:layout_gravity="center_vertical" | ||
|
||
android:textColor="@color/alert_urgent_red" | ||
android:layout_marginLeft="5dp" | ||
android:layout_marginTop="2dp" | ||
android:layout_marginBottom="2dp" | ||
android:textStyle="bold" | ||
android:textSize="16sp" /> | ||
|
||
|
||
|
||
<org.ei.opensrp.view.customControls.CustomFontTextView | ||
android:layout_weight="0.87" | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:text="@string/risk" | ||
android:id="@+id/detail_today" | ||
style="@style/CustomFontTextViewStyle.ListView.Medium" | ||
android:layout_gravity="center_vertical" | ||
android:textColor="@color/light_blue" | ||
android:layout_marginLeft="5dp" | ||
android:layout_marginTop="2dp" | ||
android:textStyle="bold" | ||
android:textSize="16sp" /> | ||
<org.ei.opensrp.view.customControls.CustomFontTextView | ||
android:layout_weight="0.98" | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:text="Birth Plan" | ||
android:id="@+id/detail_l" | ||
style="@style/CustomFontTextViewStyle.ListView.Medium" | ||
android:layout_gravity="center_vertical" | ||
android:textColor="@color/pnc_circle_green" | ||
android:layout_marginLeft="5dp" | ||
android:layout_marginTop="2dp" | ||
android:textStyle="bold" | ||
android:textSize="16sp" /> | ||
|
||
</LinearLayout> | ||
|
||
<ImageView | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/smart_register_client_divider_height" | ||
android:src="@color/smart_register_client_divider_color" | ||
android:id="@+id/imageView4" /> | ||
|
||
<include | ||
layout="@layout/ki_detail_profile" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
||
<ImageView | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/smart_register_client_divider_height" | ||
android:src="@color/smart_register_client_divider_color" | ||
android:id="@+id/imageView3" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/clients_header_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/list_header_height" | ||
android:layout_marginLeft="@dimen/list_view_margin_left_and_right" | ||
android:layout_marginRight="@dimen/list_view_margin_left_and_right" | ||
android:orientation="horizontal"> | ||
|
||
<org.ei.opensrp.view.customControls.CustomFontTextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/elco_details_summary" | ||
android:id="@+id/mother_summary" | ||
style="@style/CustomFontTextViewStyle.ListView.Medium" | ||
android:layout_gravity="center_vertical" | ||
android:textColor="@color/text_black" | ||
android:textStyle="bold" | ||
android:textSize="20sp" /> | ||
|
||
</LinearLayout> | ||
|
||
<ImageView | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/smart_register_client_divider_height" | ||
android:src="@color/smart_register_client_divider_color"/> | ||
|
||
<include android:id="@+id/id1" | ||
layout="@layout/anc_detail_data_layout" | ||
/> | ||
<include | ||
android:id="@+id/id2" | ||
layout="@layout/risk_detail_data_layout" | ||
android:visibility="gone"/> | ||
<include | ||
android:id="@+id/id3" | ||
layout="@layout/birthplan_detail_data_layout" | ||
android:visibility="gone"/> | ||
</LinearLayout> |
Oops, something went wrong.