diff --git a/app/src/main/java/net/underdesk/circolapp/IntroActivity.kt b/app/src/main/java/net/underdesk/circolapp/IntroActivity.kt index eb2620b..4dcf5a2 100644 --- a/app/src/main/java/net/underdesk/circolapp/IntroActivity.kt +++ b/app/src/main/java/net/underdesk/circolapp/IntroActivity.kt @@ -24,7 +24,9 @@ class IntroActivity : AppIntro2() { title = getString(R.string.title_intro), description = getString(R.string.activity_intro_welcome_description), imageDrawable = R.mipmap.ic_launcher, - backgroundColor = ContextCompat.getColor(this, R.color.colorPrimary) + backgroundColor = ContextCompat.getColor(this, R.color.colorPrimary), + titleColor = ContextCompat.getColor(this, R.color.colorOnPrimary), + descriptionColor = ContextCompat.getColor(this, R.color.colorOnPrimary) ) ) addSlide(LegalFragment.newInstance()) @@ -33,7 +35,9 @@ class IntroActivity : AppIntro2() { AppIntroFragment.newInstance( title = getString(R.string.activity_intro_last_slide_title), description = getString(R.string.activity_intro_last_slide_description), - backgroundColor = ContextCompat.getColor(this, R.color.colorPrimary) + backgroundColor = ContextCompat.getColor(this, R.color.colorPrimary), + titleColor = ContextCompat.getColor(this, R.color.colorOnPrimary), + descriptionColor = ContextCompat.getColor(this, R.color.colorOnPrimary) ) ) } diff --git a/app/src/main/res/layout/fragment_legal.xml b/app/src/main/res/layout/fragment_legal.xml index 13e5a58..9ecdf11 100644 --- a/app/src/main/res/layout/fragment_legal.xml +++ b/app/src/main/res/layout/fragment_legal.xml @@ -17,6 +17,7 @@ android:layout_marginEnd="8dp" android:layout_marginBottom="8dp" android:textAlignment="center" + android:textColor="@color/colorOnPrimary" app:layout_constraintBottom_toTopOf="@+id/legal_checkbox" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -31,6 +32,7 @@ android:layout_marginStart="24dp" android:layout_marginEnd="24dp" android:layout_marginBottom="16dp" + android:textColor="@color/colorOnPrimary" android:text="@string/activity_intro_legal_checkbox" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/app/src/main/res/layout/fragment_school_selection.xml b/app/src/main/res/layout/fragment_school_selection.xml index a38b6c6..00c689d 100644 --- a/app/src/main/res/layout/fragment_school_selection.xml +++ b/app/src/main/res/layout/fragment_school_selection.xml @@ -22,7 +22,8 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_chainStyle="spread" style="@style/AppIntroDefaultHeading" - android:text="@string/activity_intro_school_selection_title" /> + android:text="@string/activity_intro_school_selection_title" + android:textColor="@color/colorOnPrimary" /> + android:text="@string/activity_intro_school_selection_description" + android:textColor="@color/colorOnPrimary" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_attachment.xml b/app/src/main/res/layout/item_attachment.xml index 4fb07b5..b24aa4d 100644 --- a/app/src/main/res/layout/item_attachment.xml +++ b/app/src/main/res/layout/item_attachment.xml @@ -33,7 +33,7 @@ android:layout_marginTop="4dp" android:adjustViewBounds="true" android:src="@drawable/baseline_visibility_24" - android:tint="@color/colorAccent" + android:tint="@color/colorSecondary" android:contentDescription="@string/image_view_attachment" app:layout_constraintEnd_toStartOf="@+id/attachment_download_button" app:layout_constraintTop_toBottomOf="@+id/attachment_divider" /> @@ -46,7 +46,7 @@ android:layout_marginTop="4dp" android:adjustViewBounds="true" android:src="@drawable/baseline_get_app_24" - android:tint="@color/colorAccent" + android:tint="@color/colorSecondary" android:contentDescription="@string/image_download_attachment" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/attachment_divider" /> diff --git a/app/src/main/res/layout/item_circular.xml b/app/src/main/res/layout/item_circular.xml index c57ea68..048bd8f 100644 --- a/app/src/main/res/layout/item_circular.xml +++ b/app/src/main/res/layout/item_circular.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 780e337..f71d69c 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -1,7 +1,10 @@ #9FA8DA - #6F79A8 - #81D4FA - #4BA3C7 + #6f79a8 + #000000 + #81D4FA + #4ba3c7 + #000000 + #121212 \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index d480a06..11cb2b7 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,8 +1,11 @@ #3F51B5 - #303F9F - #03A9F4 - #007AC1 + #002984 + #FFFFFF + #03A9F4 + #007AC1 + #000000 + #FFFFFFì #BDBDBD diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index ac56e86..b032d66 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,14 +1,16 @@ -