Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vector Drawable @Dev Fest Tokyo 2017 Lunch LT
Search
TakuSemba
October 08, 2017
Technology
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vector Drawable @Dev Fest Tokyo 2017 Lunch LT
TakuSemba
October 08, 2017
Transcript
11 slides
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
More Decks by TakuSemba
See All by TakuSemba
Customize & Debug ExoPlayer @droidkaigi 2020
takusemba
0
2.2k
Jetpack Compose
takusemba
3
3.8k
Protobuf in Kotlin
takusemba
2
2.1k
Single Activity with MVVM
takusemba
4
1.4k
KotlinConf Report @ca.kt#7
takusemba
2
510
Request in a QUIC way @shibuya.apk#28
takusemba
2
1.2k
Lint for Kotlin @R.kt#3
takusemba
3
1.6k
Auto Release @potatochips#48
takusemba
1
1.3k
Media streaming on Android @droidkaigi 2018
takusemba
6
8.3k
Other Decks in Technology
See All in Technology
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
150
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
2.9k
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
410
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
270
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
Sonnetだけで業務はまわる?
kintotechdev
1
140
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
2
490
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
140
AI対話型分析を作成し、リリースするまでの話 / The Road to Release: Buiding AI Conversational Analytics
yappli_developers
0
160
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
190
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
150
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
250
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Automating Front-end Workflow
addyosmani
1370
210k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
950
Chasing Engaging Ingredients in Design
codingconduct
0
400
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Raft: Consensus for Rubyists
vanstee
143
7.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Un-Boring Meetings
codingconduct
0
500
Everyday Curiosity
cassininazir
0
400