Add color values for Omnipod button icon colors

This commit is contained in:
Bart Sopers 2020-11-23 15:46:24 +01:00
parent 79d218504e
commit cba6b83a27
17 changed files with 38 additions and 18 deletions

View file

@ -43,7 +43,7 @@ abstract class WizardFragmentBase : DaggerFragment() {
if (nextPage == null) {
omnipod_wizard_button_next.text = getString(R.string.omnipod_wizard_button_finish)
omnipod_wizard_button_next.backgroundTintList = ColorStateList.valueOf(resources.getColor(R.color.review_green, context?.theme))
omnipod_wizard_button_next.backgroundTintList = ColorStateList.valueOf(resources.getColor(R.color.omnipod_wizard_finish_button, context?.theme))
}
updateProgressIndication()

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_acknowledge_alerts"
android:viewportWidth="75"
android:viewportHeight="75">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_activate_pod"
android:viewportWidth="310"
android:viewportHeight="310">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_deactivate_pod"
android:viewportWidth="310"
android:viewportHeight="310">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_discard_pod"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_play_test_beep"
android:viewportWidth="75"
android:viewportHeight="75">

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_pod_history"
android:viewportWidth="484"
android:viewportHeight="484">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_pod_management"
android:viewportWidth="490"
android:viewportHeight="490">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_pulse_log"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_refresh_pod_status"
android:viewportWidth="492.883"
android:viewportHeight="492.883">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_resume_delivery"
android:viewportWidth="330"
android:viewportHeight="330">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_rl_stats"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_set_time"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="72dp"
android:height="72dp"
android:tint="@color/toastOk"
android:tint="@color/ic_success"
android:viewportWidth="24"
android:viewportHeight="24">
<path

View file

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="48dp"
android:height="48dp"
android:tint="#FFFFFFFF"
android:tint="@color/ic_suspend_delivery"
android:viewportWidth="30.05"
android:viewportHeight="30.05">
<path

View file

@ -11,6 +11,6 @@
android:layout_height="wrap_content"
android:indeterminate="false"
android:progress="0"
android:progressTint="@color/omnipodWizardProgressBar"
android:progressTint="@color/omnipod_wizard_progress_bar"
android:scaleY=".5" />
</LinearLayout>

View file

@ -1,5 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="omnipodWizardProgressBar">#0099CC</color>
<color name="review_green">#ff669900</color>
<!-- Omnipod Wizard -->
<color name="omnipod_wizard_progress_bar">#0099CC</color>
<color name="omnipod_wizard_finish_button">#ff669900</color>
<color name="ic_success">#77DD77</color>
<!-- Omnipod tab - Button icons -->
<color name="ic_refresh_pod_status">#FFFFFFFF</color>
<color name="ic_pod_management">#FFFFFFFF</color>
<color name="ic_acknowledge_alerts">#FFFFFFFF</color>
<color name="ic_set_time">#FFFFFFFF</color>
<color name="ic_resume_delivery">#FFFFFFFF</color>
<color name="ic_suspend_delivery">#FFFFFFFF</color>
<!-- Pod Management - Button icons -->
<color name="ic_activate_pod">#FFFFFFFF</color>
<color name="ic_deactivate_pod">#FFFFFFFF</color>
<color name="ic_discard_pod">#FFFFFFFF</color>
<color name="ic_play_test_beep">#FFFFFFFF</color>
<color name="ic_pulse_log">#FFFFFFFF</color>
<color name="ic_pod_history">#FFFFFFFF</color>
<color name="ic_rl_stats">#FFFFFFFF</color>
</resources>