Skip to content

Commit

Permalink
change icons for reports and 'add new family'
Browse files Browse the repository at this point in the history
  • Loading branch information
LZRS committed Oct 5, 2021
1 parent c8afc0a commit 121a0e4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public List<NavigationOption> getNavigationItems() {

if (navigationOptions.size() == 0) {
navigationOptions.add(new NavigationOption(R.mipmap.sidemenu_families, R.mipmap.sidemenu_families, R.string.menu_all_families, Constants.DrawerMenu.ALL_FAMILIES, 0));
navigationOptions.add(new NavigationOption(R.drawable.ic_input_add, R.drawable.ic_input_add, R.string.menu_add_new_family, "Add New Family", -1));
navigationOptions.add(new NavigationOption(R.drawable.ic_add_new_family_white, R.drawable.ic_add_new_family_white, R.string.menu_add_new_family, "Add New Family", -1));
navigationOptions.add(new NavigationOption(R.mipmap.sidemenu_children, R.mipmap.sidemenu_children, R.string.menu_child_clients, Constants.DrawerMenu.CHILD_CLIENTS, 0));
navigationOptions.add(new NavigationOption(R.mipmap.ic_jobaids, R.mipmap.ic_jobaids, R.string.reports, "Reports", -1));
navigationOptions.add(new NavigationOption(R.drawable.ic_reports, R.drawable.ic_reports, R.string.reports, "Reports", -1));
}

return navigationOptions;
Expand Down
9 changes: 9 additions & 0 deletions opensrp-chw/src/lmh/res/drawable/ic_add_new_family_white.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M18,13h-5v5c0,0.55 -0.45,1 -1,1s-1,-0.45 -1,-1v-5H6c-0.55,0 -1,-0.45 -1,-1s0.45,-1 1,-1h5V6c0,-0.55 0.45,-1 1,-1s1,0.45 1,1v5h5c0.55,0 1,0.45 1,1s-0.45,1 -1,1z"
android:fillColor="#FFFFFF"/>
</vector>
14 changes: 14 additions & 0 deletions opensrp-chw/src/lmh/res/drawable/ic_reports.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M6.5,18C6.1022,18 5.7206,18.158 5.4393,18.4393C5.158,18.7206 5,19.1022 5,19.5C5,20.0523 4.5523,20.5 4,20.5C3.4477,20.5 3,20.0523 3,19.5C3,18.5717 3.3688,17.6815 4.0251,17.0251C4.6815,16.3687 5.5717,16 6.5,16H20C20.5523,16 21,16.4477 21,17C21,17.5523 20.5523,18 20,18H6.5Z"
android:fillColor="#BFBFBF"
android:fillType="evenOdd"/>
<path
android:pathData="M6.5,3C6.1022,3 5.7206,3.158 5.4393,3.4393C5.158,3.7206 5,4.1022 5,4.5V19.5C5,19.8978 5.158,20.2794 5.4393,20.5607C5.7206,20.842 6.1022,21 6.5,21H19V3H6.5ZM6.5,1H20C20.5523,1 21,1.4477 21,2V22C21,22.5523 20.5523,23 20,23H6.5C5.5717,23 4.6815,22.6313 4.0251,21.9749C3.3688,21.3185 3,20.4283 3,19.5V4.5C3,3.5717 3.3688,2.6815 4.0251,2.0251C4.6815,1.3687 5.5717,1 6.5,1Z"
android:fillColor="#BFBFBF"
android:fillType="evenOdd"/>
</vector>

0 comments on commit 121a0e4

Please sign in to comment.