Update icons
This commit is contained in:
parent
abd7fa3783
commit
2aee4e6bba
3 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ rendering_types.xml
|
|||
countries.reginfo
|
||||
h_*.png
|
||||
g_*.png
|
||||
mm_*.png
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
<include name="voice/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="res/drawable-mdpi">
|
||||
<fileset dir="../../resources/rendering_styles/icons-mdpi/" >
|
||||
<include name="*"/>
|
||||
<copy todir="res/">
|
||||
<fileset dir="../../resources/rendering_styles/style-icons/" >
|
||||
<include name="**/*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${use.absolute.dir}/net/osmand/router/">
|
||||
|
|
|
@ -82,7 +82,7 @@ public class RenderingIcons {
|
|||
public static void initIcons() {
|
||||
Class<? extends drawable> cl = R.drawable.class;
|
||||
for (Field f : cl.getDeclaredFields()) {
|
||||
if (f.getName().startsWith("h_") || f.getName().startsWith("g_")) {
|
||||
if (f.getName().startsWith("h_") || f.getName().startsWith("mm_")) {
|
||||
try {
|
||||
icons.put(f.getName().substring(2), f.getInt(null));
|
||||
} catch (IllegalArgumentException e) {
|
||||
|
|
Loading…
Reference in a new issue