diff --git a/app/src/main/res/layout/fragment_my_repositories.xml b/app/src/main/res/layout/fragment_my_repositories.xml index a5321ad9..f079ce0f 100644 --- a/app/src/main/res/layout/fragment_my_repositories.xml +++ b/app/src/main/res/layout/fragment_my_repositories.xml @@ -14,7 +14,7 @@ android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/colorPrimary" + android:background="?attr/primaryBackgroundColor" android:padding="4dp" android:scrollbars="vertical" /> @@ -47,7 +47,7 @@ android:layout_height="match_parent" android:layout_margin="15dp" android:text="@string/noData" - android:textColor="@color/white" + android:textColor="?attr/primaryTextColor" android:gravity="center" android:textSize="20sp" android:visibility="gone" /> diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index 7202296d..37325ca1 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -2,12 +2,12 @@ + android:background="?attr/primaryBackgroundColor"> + android:background="?attr/primaryBackgroundColor" > @@ -28,7 +28,7 @@ android:layout_margin="15dp" android:gravity="center" android:text="@string/noData" - android:textColor="@color/white" + android:textColor="?attr/primaryTextColor" android:textSize="20sp" android:visibility="gone" /> diff --git a/app/src/main/res/layout/layout_settings_appearance.xml b/app/src/main/res/layout/layout_settings_appearance.xml index ddcf6a23..57beb3e6 100644 --- a/app/src/main/res/layout/layout_settings_appearance.xml +++ b/app/src/main/res/layout/layout_settings_appearance.xml @@ -4,7 +4,7 @@ android:layout_height="wrap_content" android:id="@+id/layoutTime" android:orientation="vertical" - android:background="@color/colorPrimary"> + android:background="?attr/primaryBackgroundColor"> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/selectedTextColor"/> @@ -61,7 +62,7 @@ android:layout_marginStart="44dp" android:layout_marginEnd="4dp" android:text="@string/settingsIssueBadgeHeaderText" - android:textColor="@color/white"/> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/selectedTextColor"/> @@ -121,7 +122,7 @@ android:layout_marginStart="44dp" android:layout_marginEnd="4dp" android:text="@string/settingsHomeScreenHeaderText" - android:textColor="@color/white"/> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/selectedTextColor"/> @@ -151,7 +152,7 @@ android:layout_marginStart="44dp" android:layout_marginEnd="4dp" android:text="@string/settingsCustomFontHeaderText" - android:textColor="@color/white"/> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/selectedTextColor"/> diff --git a/app/src/main/res/layout/layout_settings_languages.xml b/app/src/main/res/layout/layout_settings_languages.xml index 41a0453f..cae6160c 100644 --- a/app/src/main/res/layout/layout_settings_languages.xml +++ b/app/src/main/res/layout/layout_settings_languages.xml @@ -4,7 +4,7 @@ android:layout_height="wrap_content" android:orientation="vertical" android:layout_below="@+id/translationDivider" - android:background="@color/colorPrimary"> + android:background="?attr/primaryBackgroundColor"> + android:textColor="?attr/primaryTextColor"/> + android:textColor="?attr/selectedTextColor"/> + android:background="?attr/primaryBackgroundColor" > @@ -101,7 +100,7 @@ android:gravity="center_vertical" android:layout_gravity="center_vertical" android:text="@string/repoWatchers" - android:textColor="@color/colorWhite" + android:textColor="?attr/primaryTextColor" android:textSize="16sp" /> @@ -98,7 +97,7 @@ android:gravity="center_vertical" android:layout_gravity="center_vertical" android:text="@string/repoWatchers" - android:textColor="@color/colorWhite" + android:textColor="?attr/primaryTextColor" android:textSize="14sp" /> + \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index ed64bb5f..08d65633 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -12,6 +12,7 @@ @color/inputBackground @color/colorWhite @style/AppThemeCheckBoxStyle + @color/darkGreen @@ -25,6 +26,7 @@ @color/lightThemeInputBackground @color/lightThemeInputTextColor @style/AppThemeLightCheckBoxStyle + @color/darkGreen