diff --git a/app/res/drawable-large/commcare_logo.png b/app/res/drawable-large/commcare_logo.png deleted file mode 100644 index c7970c0bec..0000000000 Binary files a/app/res/drawable-large/commcare_logo.png and /dev/null differ diff --git a/app/res/drawable/commcare_by_dimagi.xml b/app/res/drawable/commcare_by_dimagi.xml new file mode 100644 index 0000000000..2e5e014834 --- /dev/null +++ b/app/res/drawable/commcare_by_dimagi.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + diff --git a/app/res/drawable/commcare_logo.png b/app/res/drawable/commcare_logo.png deleted file mode 100644 index b3ec53544f..0000000000 Binary files a/app/res/drawable/commcare_logo.png and /dev/null differ diff --git a/app/res/drawable/home_incomplete.xml b/app/res/drawable/home_incomplete.xml index b7481fda92..b5115fbd1c 100644 --- a/app/res/drawable/home_incomplete.xml +++ b/app/res/drawable/home_incomplete.xml @@ -1,12 +1,10 @@ - - + android:width="167dp" + android:height="168dp" + android:viewportWidth="167" + android:viewportHeight="168"> + diff --git a/app/res/drawable/home_logout.xml b/app/res/drawable/home_logout.xml index 39e7ef5bf8..a5e310ef93 100644 --- a/app/res/drawable/home_logout.xml +++ b/app/res/drawable/home_logout.xml @@ -1,15 +1,12 @@ - - - + android:width="748dp" + android:height="748dp" + android:viewportWidth="748" + android:viewportHeight="748"> + + diff --git a/app/res/drawable/home_saved.xml b/app/res/drawable/home_saved.xml index 80def3660e..25b33040c4 100644 --- a/app/res/drawable/home_saved.xml +++ b/app/res/drawable/home_saved.xml @@ -1,12 +1,5 @@ - - - + + diff --git a/app/res/drawable/home_start.xml b/app/res/drawable/home_start.xml index 1241219c2b..c66a93bd48 100644 --- a/app/res/drawable/home_start.xml +++ b/app/res/drawable/home_start.xml @@ -1,9 +1,15 @@ - - - - - - + + + + diff --git a/app/res/drawable/home_sync.xml b/app/res/drawable/home_sync.xml index 07d6596a72..42b25c3333 100644 --- a/app/res/drawable/home_sync.xml +++ b/app/res/drawable/home_sync.xml @@ -1,9 +1,21 @@ - + android:width="748dp" + android:height="664dp" + android:viewportWidth="748" + android:viewportHeight="664"> + + + + + diff --git a/app/res/drawable/install_start.xml b/app/res/drawable/install_start.xml index 1b9ebaf11d..0a4839930a 100644 --- a/app/res/drawable/install_start.xml +++ b/app/res/drawable/install_start.xml @@ -1,9 +1,13 @@ + - - + android:height="156dp" + android:viewportHeight="156" + android:viewportWidth="155" + android:width="155dp"> + + + + + \ No newline at end of file diff --git a/app/res/drawable/install_stop.xml b/app/res/drawable/install_stop.xml index c5147ad783..ef2b97a49f 100644 --- a/app/res/drawable/install_stop.xml +++ b/app/res/drawable/install_stop.xml @@ -1,9 +1,9 @@ - + android:width="232dp" + android:height="232dp" + android:viewportWidth="232" + android:viewportHeight="232"> + diff --git a/app/res/drawable/startup_barcode.xml b/app/res/drawable/startup_barcode.xml index 7b955103b1..d65cfcfec4 100644 --- a/app/res/drawable/startup_barcode.xml +++ b/app/res/drawable/startup_barcode.xml @@ -1,78 +1,24 @@ - - - - - - - - - - - - - - - - - - - - - - - - + android:width="342dp" + android:height="394dp" + android:viewportWidth="342" + android:viewportHeight="394"> + + + + + + diff --git a/app/res/drawable/startup_url.xml b/app/res/drawable/startup_url.xml index fa08e75f9f..442e6b7bd9 100644 --- a/app/res/drawable/startup_url.xml +++ b/app/res/drawable/startup_url.xml @@ -1,12 +1,12 @@ - - + android:width="400dp" + android:height="325dp" + android:viewportWidth="400" + android:viewportHeight="325"> + + diff --git a/app/res/layout/activity_crash_warning.xml b/app/res/layout/activity_crash_warning.xml index 5b7206eff0..31cf7fda08 100644 --- a/app/res/layout/activity_crash_warning.xml +++ b/app/res/layout/activity_crash_warning.xml @@ -22,7 +22,7 @@ android:paddingLeft="@dimen/content_min_margin" android:paddingTop="@dimen/content_min_margin" android:scaleType="fitCenter" - app:srcCompat="@drawable/commcare_logo" + app:srcCompat="@drawable/commcare_by_dimagi" android:layout_marginEnd="@dimen/content_min_margin" android:paddingStart="@dimen/content_min_margin" /> diff --git a/app/res/layout/activity_report_problem.xml b/app/res/layout/activity_report_problem.xml index d5b815a465..35648f2e81 100644 --- a/app/res/layout/activity_report_problem.xml +++ b/app/res/layout/activity_report_problem.xml @@ -20,7 +20,7 @@ android:paddingTop="@dimen/content_min_margin" android:scaleType="fitCenter" android:adjustViewBounds="true" - app:srcCompat="@drawable/commcare_logo" + app:srcCompat="@drawable/commcare_by_dimagi" android:layout_marginEnd="@dimen/content_min_margin" android:paddingStart="@dimen/content_min_margin"> diff --git a/app/res/layout/app_manager.xml b/app/res/layout/app_manager.xml index 5811cdbdc3..a0af3a65b6 100644 --- a/app/res/layout/app_manager.xml +++ b/app/res/layout/app_manager.xml @@ -10,7 +10,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true" - android:paddingTop="@dimen/activity_vertical_margin" + android:padding="@dimen/activity_vertical_margin" android:id="@+id/screen_manager_banner_pane"> diff --git a/app/res/layout/connection_diagnostic.xml b/app/res/layout/connection_diagnostic.xml index d94b34f28c..3e3e9631fd 100644 --- a/app/res/layout/connection_diagnostic.xml +++ b/app/res/layout/connection_diagnostic.xml @@ -16,17 +16,11 @@ + android:padding="16dp" + app:srcCompat="@drawable/commcare_by_dimagi" + /> diff --git a/app/res/layout/install_confirm_fragment.xml b/app/res/layout/install_confirm_fragment.xml index 9074e446ff..cfbd735eca 100644 --- a/app/res/layout/install_confirm_fragment.xml +++ b/app/res/layout/install_confirm_fragment.xml @@ -25,24 +25,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> - - + + android:layout_width="wrap_content" + android:layout_height="170dp"> + android:layout_width="130dp" + android:layout_centerHorizontal="true" + android:paddingVertical="24dp" + android:layout_height="150dp"/> diff --git a/app/res/values/colors.xml b/app/res/values/colors.xml index 5f9214660f..0b3bdd1533 100644 --- a/app/res/values/colors.xml +++ b/app/res/values/colors.xml @@ -61,6 +61,7 @@ #AAE3ECFF #BF3D3D #F57E20 + #E44434 #5C4033 @@ -146,4 +147,12 @@ #005ab2 #d0e3ff + + #6AB849 + #1B998B + #5D70D2 + #3b4fb6 + #373534 + + diff --git a/app/src/org/commcare/activities/HomeButtons.java b/app/src/org/commcare/activities/HomeButtons.java index ca6cb6957f..a9904f9472 100644 --- a/app/src/org/commcare/activities/HomeButtons.java +++ b/app/src/org/commcare/activities/HomeButtons.java @@ -51,7 +51,7 @@ public static HomeCardDisplayData[] buildButtonData(StandardHomeActivity activit HomeCardDisplayData.homeCardDataWithStaticText(Localization.get(homeMessageKey), R.color.white, R.drawable.home_start, - R.color.cc_attention_positive_color, + R.color.start_home_button, getStartButtonListener(activity)), HomeCardDisplayData.homeCardDataWithStaticText(Localization.get("training.root.title"), R.color.white, R.drawable.home_training, R.color.cc_dark_cool_accent_color, @@ -59,19 +59,19 @@ public static HomeCardDisplayData[] buildButtonData(StandardHomeActivity activit HomeCardDisplayData.homeCardDataWithStaticText(Localization.get("home.forms.saved"), R.color.white, R.drawable.home_saved, - R.color.cc_light_cool_accent_color, + R.color.start_save_button, getViewOldFormsListener(activity)), HomeCardDisplayData.homeCardDataWithDynamicText(Localization.get("home.forms.incomplete"), R.color.white, R.drawable.home_incomplete, - R.color.solid_dark_orange, + R.color.red_incomplete, getIncompleteButtonListener(activity), null, getIncompleteButtonTextSetter(activity)), HomeCardDisplayData.homeCardDataWithNotification(Localization.get(syncKey), R.color.white, R.color.white, R.drawable.home_sync, - R.color.cc_brand_color, - R.color.cc_brand_text, + R.color.start_sync_button, + R.color.start_sync_dark_button, getSyncButtonListener(activity), getSyncButtonSubTextListener(activity), getSyncButtonTextSetter(activity)), @@ -80,7 +80,7 @@ public static HomeCardDisplayData[] buildButtonData(StandardHomeActivity activit getReportButtonListener(activity)), HomeCardDisplayData.homeCardDataWithNotification(Localization.get(logoutMessageKey), R.color.white, R.color.white, - R.drawable.home_logout, R.color.cc_neutral_color, R.color.cc_neutral_text, + R.drawable.home_logout, R.color.start_logout_button, R.color.cc_neutral_text, getLogoutButtonListener(activity), null, getLogoutButtonTextSetter(activity)), diff --git a/app/src/org/commcare/activities/LoginActivityUIController.java b/app/src/org/commcare/activities/LoginActivityUIController.java index e955a7721a..1c2562d9b0 100644 --- a/app/src/org/commcare/activities/LoginActivityUIController.java +++ b/app/src/org/commcare/activities/LoginActivityUIController.java @@ -474,7 +474,7 @@ private void updateBanner() { ImageView topBannerImageView = banner.findViewById(R.id.main_top_banner); if (!CustomBanner.useCustomBannerFitToActivity(activity, topBannerImageView, CustomBanner.Banner.LOGIN)) { - topBannerImageView.setImageResource(R.drawable.commcare_logo); + topBannerImageView.setImageResource(R.drawable.commcare_by_dimagi); } } diff --git a/app/src/org/commcare/adapters/HomeScreenAdapter.java b/app/src/org/commcare/adapters/HomeScreenAdapter.java index 1add94c1ef..ad37fe0e5a 100755 --- a/app/src/org/commcare/adapters/HomeScreenAdapter.java +++ b/app/src/org/commcare/adapters/HomeScreenAdapter.java @@ -108,7 +108,7 @@ private void bindHeader(HeaderViewHolder headerHolder) { boolean noCustomBanner = !CustomBanner.useCustomBanner(context, screenHeight, screenWidth, headerHolder.headerImage, CustomBanner.Banner.HOME); if (noCustomBanner) { - headerHolder.headerImage.setImageResource(R.drawable.commcare_logo); + headerHolder.headerImage.setImageResource(R.drawable.commcare_by_dimagi); } }