From a7862d2efe20799068d383aa81967476ae317b8e Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 18 Mar 2020 16:11:10 -0700 Subject: [PATCH] replace .png arrows with .svg --- .../org/eehouse/android/xw4/BoardCanvas.java | 4 +- .../app/src/main/res/drawable/downarrow.png | Bin 141 -> 0 bytes .../src/main/res/drawable/ic_downarrow.xml | 15 ++++ .../src/main/res/drawable/ic_rightarrow.xml | 15 ++++ .../app/src/main/res/drawable/rightarrow.png | Bin 147 -> 0 bytes xwords4/android/img_src/downarrow.svg | 67 ++++++++++++++++++ xwords4/android/img_src/rightarrow.svg | 67 ++++++++++++++++++ 7 files changed, 166 insertions(+), 2 deletions(-) delete mode 100644 xwords4/android/app/src/main/res/drawable/downarrow.png create mode 100644 xwords4/android/app/src/main/res/drawable/ic_downarrow.xml create mode 100644 xwords4/android/app/src/main/res/drawable/ic_rightarrow.xml delete mode 100644 xwords4/android/app/src/main/res/drawable/rightarrow.png create mode 100644 xwords4/android/img_src/downarrow.svg create mode 100644 xwords4/android/img_src/rightarrow.svg diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardCanvas.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardCanvas.java index ea2db5f79..b62d2b74e 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardCanvas.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardCanvas.java @@ -487,12 +487,12 @@ public class BoardCanvas extends Canvas implements DrawCtx { Drawable arrow; if ( vert ) { if ( null == m_downArrow ) { - m_downArrow = loadAndRecolor( R.drawable.downarrow, useDark ); + m_downArrow = loadAndRecolor( R.drawable.ic_downarrow, useDark ); } arrow = m_downArrow; } else { if ( null == m_rightArrow ) { - m_rightArrow = loadAndRecolor( R.drawable.rightarrow, useDark ); + m_rightArrow = loadAndRecolor( R.drawable.ic_rightarrow, useDark ); } arrow = m_rightArrow; } diff --git a/xwords4/android/app/src/main/res/drawable/downarrow.png b/xwords4/android/app/src/main/res/drawable/downarrow.png deleted file mode 100644 index b354a3b16c55803ea043595da27dc10bf1aae751..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-z3?wHfJxv8tjKx9jP7LeL$-D$|*aCb)T>t<7 z4`hZOx?Bg6E(!7rW^j0RBMrn!@^*J&=wOxg0CJ=~T^vI=t|vc8PH=GhFK=)~K4C+C e!UXo>NC^h}n=GN1u1^FR$>8bg=d#Wzp$PzH>L+Ia diff --git a/xwords4/android/app/src/main/res/drawable/ic_downarrow.xml b/xwords4/android/app/src/main/res/drawable/ic_downarrow.xml new file mode 100644 index 000000000..69b5cc092 --- /dev/null +++ b/xwords4/android/app/src/main/res/drawable/ic_downarrow.xml @@ -0,0 +1,15 @@ + + + diff --git a/xwords4/android/app/src/main/res/drawable/ic_rightarrow.xml b/xwords4/android/app/src/main/res/drawable/ic_rightarrow.xml new file mode 100644 index 000000000..d1a47f31b --- /dev/null +++ b/xwords4/android/app/src/main/res/drawable/ic_rightarrow.xml @@ -0,0 +1,15 @@ + + + diff --git a/xwords4/android/app/src/main/res/drawable/rightarrow.png b/xwords4/android/app/src/main/res/drawable/rightarrow.png deleted file mode 100644 index f862fc9f681e1df2c4cd2da38ce9501337c83e1c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^+#t-z3?wHfJxv8tjKx9jP7LeL$-D$|*aCb)T>t<7 z4`hZOx?Bg6E(!7rW^j0RBMrn!@^*J&=wOxg0CE&PT^vI=t|uoXCL|;$B(N`HYx~bG k@z0)NqJx=r#GF<}h8#JzKA)zGDL};xp00i_>zopr032*5CIA2c diff --git a/xwords4/android/img_src/downarrow.svg b/xwords4/android/img_src/downarrow.svg new file mode 100644 index 000000000..4fd022284 --- /dev/null +++ b/xwords4/android/img_src/downarrow.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/xwords4/android/img_src/rightarrow.svg b/xwords4/android/img_src/rightarrow.svg new file mode 100644 index 000000000..46411f4bb --- /dev/null +++ b/xwords4/android/img_src/rightarrow.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + +