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
230
Vector Drawable @Dev Fest Tokyo 2017 Lunch LT
TakuSemba
October 08, 2017
Tweet
Share
More Decks by TakuSemba
See All by TakuSemba
Customize & Debug ExoPlayer @droidkaigi 2020
takusemba
0
1.4k
Jetpack Compose
takusemba
3
2.6k
Protobuf in Kotlin
takusemba
2
1.3k
Single Activity with MVVM
takusemba
4
930
KotlinConf Report @ca.kt#7
takusemba
2
310
Request in a QUIC way @shibuya.apk#28
takusemba
2
670
Lint for Kotlin @R.kt#3
takusemba
3
1.1k
Auto Release @potatochips#48
takusemba
1
980
Media streaming on Android @droidkaigi 2018
takusemba
6
7.6k
Other Decks in Technology
See All in Technology
日本ディープラーニング協会主催 NeurIPS 2022 技術報告会講演資料
tdailab
0
870
Kaggleシミュレーションコンペの動向
nagiss
0
170
データエンジニアを助けてくれるFivetranとSnowflakeの仕様&機能のご紹介
sagara
0
410
マネーフォワードクラウドを支える事業者基盤
machisuke
0
210
スタメンのLeSSの導入と 事業部全体を巻き込んだ アウトカム文化への道のり
uuushiro
2
3k
PCI DSS に準拠したシステム開発
yutadayo
0
180
Kubernetes Pod Probes
thockin
5
2.2k
Virtual Thread - 導入の背景と、効果的な使い方 -
skrb
3
230
ステート管理を超えるRecoil運用の考え方
uhyo
7
5.1k
2年で10→70人へ! スタートアップの 情報セキュリティ課題と施策
miekobayashi
1
180
グローバルチームことはじめ / Bootstrapping a global team
tasshi
1
530
Hasuraの本番運用に向けて
nori3tsu
0
260
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
318
19k
Code Review Best Practice
trishagee
50
11k
Side Projects
sachag
451
37k
Pencils Down: Stop Designing & Start Developing
hursman
114
10k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
Visualization
eitanlees
128
12k
How To Stay Up To Date on Web Technology
chriscoyier
779
250k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
270
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
8
3.2k
GitHub's CSS Performance
jonrohan
1020
430k
We Have a Design System, Now What?
morganepeng
37
5.9k
The Language of Interfaces
destraynor
149
21k
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