Clean up icons

This commit is contained in:
Victor Shcherb 2020-04-21 17:22:38 +02:00
parent 53032da478
commit 44ef28c053
2 changed files with 24 additions and 9 deletions

9
OsmAnd/.gitignore vendored
View file

@ -28,11 +28,10 @@ res/drawable-large-hdpi/widget_*
res/drawable-large-xhdpi/widget_*
# rendering-styles/style-icons/
res/drawable/mx_*
res/drawable-hdpi/mx_*
res/drawable-mdpi/mx_*
res/drawable-xhdpi/mx_*
res/drawable-xxhdpi/mx_*
h_*
g_*
mm_*
mx_*
valgrind/
bin/

View file

@ -359,29 +359,45 @@ task copyPoiCategiry(type: Copy) {
into "assets"
}
task copyStyleIcons(type: Copy) {
task copyStyleIcons(type: Sync) {
from "../../resources/rendering_styles/style-icons/"
into "res/"
include "**/*.png", "**/*.xml"
preserve {
include '**/*'
exclude "**/mx_*", "**/mm_*", "**/h_*"
}
}
task copyWidgetIconsXhdpi(type: Copy) {
task copyWidgetIconsXhdpi(type: Sync) {
from "res/drawable-xxhdpi/"
into "res/drawable-large-xhdpi/"
include "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
preserve {
include '*'
exclude "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
}
}
task copyWidgetIconsHdpi(type: Copy) {
task copyWidgetIconsHdpi(type: Sync) {
from "res/drawable-xhdpi/"
into "res/drawable-large-hdpi/"
include "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
preserve {
include '*'
exclude "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
}
}
task copyWidgetIcons(type: Copy) {
task copyWidgetIcons(type: Sync) {
from "res/drawable-hdpi/"
into "res/drawable-large/"
include "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
preserve {
include '*'
exclude "**/widget_*.png", "**/widget_*.xml", "**/map_*.xml", "**/map_*.png"
}
}
task collectExternalResources {