Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Vector Drawable @Dev Fest Tokyo 2017 Lunch LT
TakuSemba
October 08, 2017
Technology
0
120
Vector Drawable @Dev Fest Tokyo 2017 Lunch LT
TakuSemba
October 08, 2017
Tweet
Share
More Decks by TakuSemba
See All by TakuSemba
takusemba
0
870
takusemba
3
1.9k
takusemba
2
910
takusemba
4
560
takusemba
2
190
takusemba
2
360
takusemba
3
650
takusemba
1
810
takusemba
6
6.8k
Other Decks in Technology
See All in Technology
hhiroshell
9
530
ryusa
2
390
torisoup
0
310
i35_267
0
280
sadayoshitada0919
1
600
yosshi_
2
720
kraj
0
5.2k
muras
0
120
kamera25
0
120
papix
0
280
bells17
1
730
k1low
1
600
Featured
See All Featured
danielanewman
200
20k
roundedbygravity
241
21k
bryan
30
3.3k
sugarenia
233
840k
stephaniewalter
260
11k
shlominoach
176
7.4k
62gerente
587
200k
hannesfritz
27
930
sachag
446
36k
robhawkes
52
2.8k
jonrohan
1021
380k
gr2m
83
11k
Transcript
Taku Semba Vector Drawable CyberAgent,Inc
About Me Taku Semba TakuSemba @takusemba AbemaTV.Inc
Vector Drawable > xml based SVG XML
Vector Drawable > Sharp > Light > Animatable
Vector Drawable > Sharp > Light drawable-ldpi/cat.png drawable-mdpi/cat.png drawable-hdpi/cat.png drawable-xhdpi/cat.png
drawable-xxhdpi/cat.png drawable-xxxhdpi/cat.png drawable/cat.xml - 6826bytes > Animatable
Vector Drawable > Sharp > Light > Animatable
png or webp would be better if > more than
200dp * 200dp > more than 800 char path
> more than 200dp * 200dp > more than 800
char path png or webp would be better if
Fill-type <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportHeight="24.0" android:viewportWidth="24.0" > <path android:fillColor="#000"
android:fillType="evenOdd" android:pathData="M13,11.4l2.1,1.3c0.5,0.2 0.7,0.8 0.4,1.3a1,1 0,0 1,-1.4 0.4l-2.6,-1.5 -0.2,-0.2a1,1 0,0 1,-0.3 -0.7V8c0,-0.6 0.4,-1 1,-1s1,0.5 1,1v3.4zM12,3a9,9 0,1 1,-6.4 15.4l1.5,-1.5a7,7 0,1 0,-2 -5l2.9,0.1 -4,4 -0.1,-0.1L0,12h3c0,-5 4,-9 9,-9z" /> </vector>
Fill-type > library version should be more than 26
Vector Drawable https://github.com/takusemba https://twitter.com/takusemba