-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from Kotlin-Android-Open-Source/fix/UI_xml_format
fix(ui): wrong color in dark mode and format .xml files
- Loading branch information
Showing
39 changed files
with
461 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
name: Qodana | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', '**.MD' ] | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', '**.MD' ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: JetBrains/[email protected] | ||
with: | ||
linter: jetbrains/qodana-jvm-android:latest | ||
fail-threshold: 10 | ||
name: Qodana | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', '**.MD' ] | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md', '**.MD' ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: JetBrains/[email protected] | ||
with: | ||
linter: jetbrains/qodana-jvm-android:latest | ||
fail-threshold: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/build | ||
.gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.hoc.flowmvi.core_ui"> | ||
package="com.hoc.flowmvi.core_ui"> | ||
|
||
<application> | ||
<application> | ||
|
||
<meta-data | ||
android:name="preloaded_fonts" | ||
android:resource="@array/preloaded_fonts" /> | ||
<meta-data | ||
android:name="preloaded_fonts" | ||
android:resource="@array/preloaded_fonts" /> | ||
|
||
</application> | ||
</application> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<font-family xmlns:app="http://schemas.android.com/apk/res-auto" | ||
app:fontProviderAuthority="com.google.android.gms.fonts" | ||
app:fontProviderPackage="com.google.android.gms" | ||
app:fontProviderQuery="Noto Sans" | ||
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs"> | ||
</font-family> | ||
app:fontProviderAuthority="com.google.android.gms.fonts" | ||
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs" | ||
app:fontProviderPackage="com.google.android.gms" | ||
app:fontProviderQuery="Noto Sans"></font-family> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
<resources> | ||
<style name="AppTheme" parent="Theme.Material3.DayNight"> | ||
<item name="colorPrimary">@color/md_theme_light_primary</item> | ||
<item name="colorOnPrimary">@color/md_theme_light_onPrimary</item> | ||
<item name="colorPrimaryContainer">@color/md_theme_light_primaryContainer</item> | ||
<item name="colorOnPrimaryContainer">@color/md_theme_light_onPrimaryContainer</item> | ||
<item name="colorSecondary">@color/md_theme_light_secondary</item> | ||
<item name="colorOnSecondary">@color/md_theme_light_onSecondary</item> | ||
<item name="colorSecondaryContainer">@color/md_theme_light_secondaryContainer</item> | ||
<item name="colorOnSecondaryContainer">@color/md_theme_light_onSecondaryContainer</item> | ||
<item name="colorTertiary">@color/md_theme_light_tertiary</item> | ||
<item name="colorOnTertiary">@color/md_theme_light_onTertiary</item> | ||
<item name="colorTertiaryContainer">@color/md_theme_light_tertiaryContainer</item> | ||
<item name="colorOnTertiaryContainer">@color/md_theme_light_onTertiaryContainer</item> | ||
<item name="colorError">@color/md_theme_light_error</item> | ||
<item name="colorErrorContainer">@color/md_theme_light_errorContainer</item> | ||
<item name="colorOnError">@color/md_theme_light_onError</item> | ||
<item name="colorOnErrorContainer">@color/md_theme_light_onErrorContainer</item> | ||
<item name="android:colorBackground">@color/md_theme_light_background</item> | ||
<item name="colorOnBackground">@color/md_theme_light_onBackground</item> | ||
<item name="colorSurface">@color/md_theme_light_surface</item> | ||
<item name="colorOnSurface">@color/md_theme_light_onSurface</item> | ||
<item name="colorSurfaceVariant">@color/md_theme_light_surfaceVariant</item> | ||
<item name="colorOnSurfaceVariant">@color/md_theme_light_onSurfaceVariant</item> | ||
<item name="colorOutline">@color/md_theme_light_outline</item> | ||
<item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item> | ||
<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item> | ||
<item name="colorPrimaryInverse">@color/md_theme_light_primaryInverse</item> | ||
</style> | ||
|
||
<style name="AppTheme" parent="Theme.Material3.DayNight"> | ||
<item name="colorPrimary">@color/md_theme_light_primary</item> | ||
<item name="colorOnPrimary">@color/md_theme_light_onPrimary</item> | ||
<item name="colorPrimaryContainer">@color/md_theme_light_primaryContainer</item> | ||
<item name="colorOnPrimaryContainer">@color/md_theme_light_onPrimaryContainer</item> | ||
<item name="colorSecondary">@color/md_theme_light_secondary</item> | ||
<item name="colorOnSecondary">@color/md_theme_light_onSecondary</item> | ||
<item name="colorSecondaryContainer">@color/md_theme_light_secondaryContainer</item> | ||
<item name="colorOnSecondaryContainer">@color/md_theme_light_onSecondaryContainer</item> | ||
<item name="colorTertiary">@color/md_theme_light_tertiary</item> | ||
<item name="colorOnTertiary">@color/md_theme_light_onTertiary</item> | ||
<item name="colorTertiaryContainer">@color/md_theme_light_tertiaryContainer</item> | ||
<item name="colorOnTertiaryContainer">@color/md_theme_light_onTertiaryContainer</item> | ||
<item name="colorError">@color/md_theme_light_error</item> | ||
<item name="colorErrorContainer">@color/md_theme_light_errorContainer</item> | ||
<item name="colorOnError">@color/md_theme_light_onError</item> | ||
<item name="colorOnErrorContainer">@color/md_theme_light_onErrorContainer</item> | ||
<item name="android:colorBackground">@color/md_theme_light_background</item> | ||
<item name="colorOnBackground">@color/md_theme_light_onBackground</item> | ||
<item name="colorSurface">@color/md_theme_light_surface</item> | ||
<item name="colorOnSurface">@color/md_theme_light_onSurface</item> | ||
<item name="colorSurfaceVariant">@color/md_theme_light_surfaceVariant</item> | ||
<item name="colorOnSurfaceVariant">@color/md_theme_light_onSurfaceVariant</item> | ||
<item name="colorOutline">@color/md_theme_light_outline</item> | ||
<item name="colorOnSurfaceInverse">@color/md_theme_light_inverseOnSurface</item> | ||
<item name="colorSurfaceInverse">@color/md_theme_light_inverseSurface</item> | ||
<item name="colorPrimaryInverse">@color/md_theme_light_primaryInverse</item> | ||
</style> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.hoc.flowmvi.data"> | ||
<manifest package="com.hoc.flowmvi.data"> | ||
|
||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.