Skip to content

Commit

Permalink
-change in the date picker color
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-dimagi committed Dec 11, 2024
1 parent 180db27 commit dde40f5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/res/layout/list_gregorian_widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>

<EditText
Expand All @@ -72,6 +74,8 @@
android:layout_height="wrap_content"
android:text="-"
android:textSize="@dimen/text_largest"
style="@style/CommCare.Button.Default"
android:backgroundTint="@color/cc_brand_color"
android:textColor="@color/white"
android:background="@drawable/date_button_bottom"
android:elevation="@dimen/button_elevation" />
Expand All @@ -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" />
Expand All @@ -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" />

</LinearLayout>
Expand All @@ -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" />

<EditText
Expand All @@ -160,6 +170,8 @@
android:layout_marginLeft="5dp"
android:text="-"
android:textSize="@dimen/text_largest"
style="@style/CommCare.Button.Default"
android:backgroundTint="@color/cc_brand_color"
android:textColor="@color/white"
android:background="@drawable/date_button_bottom"
android:elevation="@dimen/button_elevation"
Expand Down
18 changes: 18 additions & 0 deletions app/res/layout/universal_date_widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
android:id="@+id/dayupbtn"
android:layout_width="50dp"
android:layout_height="wrap_content"
style="@style/CommCare.Button.Default"
android:backgroundTint="@color/cc_brand_color"
android:textColor="@color/white"
android:background="@drawable/date_button_top"
android:text="+"
android:textSize="@dimen/text_largest"/>
Expand All @@ -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"/>

Expand All @@ -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" />

Expand Down Expand Up @@ -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" />

Expand All @@ -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" />

Expand Down Expand Up @@ -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" />
</RelativeLayout>
Expand Down

0 comments on commit dde40f5

Please sign in to comment.