From dde40f5a95968898ec31b5c73e3904af82c62666 Mon Sep 17 00:00:00 2001 From: parthmittal Date: Wed, 11 Dec 2024 18:40:31 +0530 Subject: [PATCH] -change in the date picker color --- app/res/layout/list_gregorian_widget.xml | 12 ++++++++++++ app/res/layout/universal_date_widget.xml | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/app/res/layout/list_gregorian_widget.xml b/app/res/layout/list_gregorian_widget.xml index 789faae704..08b04e69ee 100644 --- a/app/res/layout/list_gregorian_widget.xml +++ b/app/res/layout/list_gregorian_widget.xml @@ -52,6 +52,8 @@ android:textSize="@dimen/text_largest" android:textColor="@color/white" android:background="@drawable/date_button_top" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" android:elevation="@dimen/button_elevation"/> @@ -95,6 +99,8 @@ android:text="+" android:textSize="@dimen/text_largest" android:textColor="@color/white" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" android:background="@drawable/date_button_top" android:elevation="@dimen/button_elevation" android:layout_marginStart="5dp" /> @@ -115,6 +121,8 @@ android:background="@drawable/date_button_bottom" android:textColor="@color/white" android:elevation="@dimen/button_elevation" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" android:layout_marginStart="5dp" /> @@ -137,6 +145,8 @@ android:background="@drawable/date_button_top" android:textColor="@color/white" android:elevation="@dimen/button_elevation" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" android:layout_marginStart="5dp" /> @@ -37,6 +40,9 @@ android:layout_height="wrap_content" android:layout_below="@id/daytxt" android:background="@drawable/date_button_bottom" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" + android:textColor="@color/white" android:text="-" android:textSize="@dimen/text_largest"/> @@ -49,6 +55,9 @@ android:background="@drawable/date_button_top" android:text="+" android:textSize="@dimen/text_largest" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" + android:textColor="@color/white" android:layout_toEndOf="@id/dayupbtn" android:layout_marginStart="5dp" /> @@ -76,6 +85,9 @@ android:background="@drawable/date_button_bottom" android:text="-" android:textSize="@dimen/text_largest" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" + android:textColor="@color/white" android:layout_toEndOf="@id/daydownbtn" android:layout_marginStart="5dp" /> @@ -88,6 +100,9 @@ android:background="@drawable/date_button_top" android:text="+" android:textSize="@dimen/text_largest" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" + android:textColor="@color/white" android:layout_toEndOf="@id/monthupbtn" android:layout_marginStart="5dp" /> @@ -115,6 +130,9 @@ android:background="@drawable/date_button_bottom" android:text="-" android:textSize="@dimen/text_largest" + style="@style/CommCare.Button.Default" + android:backgroundTint="@color/cc_brand_color" + android:textColor="@color/white" android:layout_toEndOf="@id/monthdownbtn" android:layout_marginStart="5dp" />