Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android studio svg to xml convert #1824

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ test/
mail/
mail2/
failedmails/
**/you/res/drawable-anydpi/
**/light/res/drawable-anydpi/
**/dark/res/drawable-anydpi/

.idea/
.externalNativeBuild/
Expand Down
14 changes: 14 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apply plugin: 'com.android.application'

// build.gradle in the 'app' module

android {
compileSdkVersion 33

Expand All @@ -23,9 +25,21 @@ android {
applicationIdSuffix '.debug'
}
}
applicationVariants.all { variant ->

if (variant.flavorName == "you" || variant.flavorName == "youPlay") {
variant.preBuildProvider.get().dependsOn(":preparehelper:runyou")
} else if (variant.flavorName == "light" || variant.flavorName == "lightPlay") {
variant.preBuildProvider.get().dependsOn(":preparehelper:runlight")
}else if (variant.flavorName == "dark" || variant.flavorName == "darkPlay") {
variant.preBuildProvider.get().dependsOn(":preparehelper:rundark")
}
// Add more conditions for additional flavors
}
}



flavorDimensions "variant"
productFlavors {
dark {
Expand Down
11 changes: 0 additions & 11 deletions app/src/light/res/drawable-nodpi-v26/clock.xml

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/light/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@
<color name="wallpaperToolbar">#000000</color>

<!-- Clock -->
<color name="clockColor">#FFFFFF</color>
<color name="clockColor">#000000</color>
</resources>
73 changes: 0 additions & 73 deletions app/src/you/res/drawable-anydpi-v26/_0h_h1.xml

This file was deleted.

43 changes: 0 additions & 43 deletions app/src/you/res/drawable-anydpi-v26/_0h_n0.xml

This file was deleted.

79 changes: 0 additions & 79 deletions app/src/you/res/drawable-anydpi-v26/_10000_sentences.xml

This file was deleted.

61 changes: 0 additions & 61 deletions app/src/you/res/drawable-anydpi-v26/_104ua.xml

This file was deleted.

37 changes: 0 additions & 37 deletions app/src/you/res/drawable-anydpi-v26/_1111.xml

This file was deleted.

Loading