Skip to content

Commit

Permalink
added custom color
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppp15 committed Jan 3, 2025
1 parent acdd61f commit 5f5f820
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
11 changes: 5 additions & 6 deletions app/src/main/res/layout/fragment_team.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/padding_normal"
android:background="@color/dashboard_item_alternative"
android:layout_marginStart="8dp">

<TextView
android:id="@+id/name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/name_normal"
android:textColor="@color/daynight_textColor"
android:textColor="@color/teams_heading"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand All @@ -75,7 +74,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/created_on"
android:textColor="@color/daynight_textColor"
android:textColor="@color/teams_heading"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@id/type"
app:layout_constraintStart_toEndOf="@id/name"
Expand All @@ -88,7 +87,7 @@
android:gravity="center"
android:padding="@dimen/padding_small"
android:text="Type"
android:textColor="@color/daynight_textColor"
android:textColor="@color/teams_heading"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@id/no_of_visits"
app:layout_constraintStart_toEndOf="@id/created"
Expand All @@ -100,7 +99,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/total_visits"
android:textColor="@color/daynight_textColor"
android:textColor="@color/teams_heading"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@id/ltButtons"
app:layout_constraintHorizontal_weight="1"
Expand All @@ -115,7 +114,7 @@
android:paddingStart="0dp"
android:paddingEnd="12dp"
android:text="@string/action"
android:textColor="@color/daynight_textColor"
android:textColor="@color/teams_heading"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/no_of_visits"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@
<color name="multi_select_grey">#2E2E2E</color>
<color name="background_color">#000000</color>
<color name="text_color">#FFFFFF</color>
<color name="teams_heading">@color/md_blue_700</color>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@
<color name="multi_select_grey">@color/md_grey_300</color>
<color name="background_color">#FFFFFF</color>
<color name="text_color">#000000</color>
<color name="teams_heading">#000000</color>
</resources>

0 comments on commit 5f5f820

Please sign in to comment.