Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Material Designの作り方 〜Bottom Sheets編〜
Search
Yoichi Nishimura
August 10, 2015
Programming
700
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Material Designの作り方 〜Bottom Sheets編〜
Yoichi Nishimura
August 10, 2015
More Decks by Yoichi Nishimura
See All by Yoichi Nishimura
はじめてのKenBurnsEffect
nissiy
1
1.4k
iQONのWear Notification最適化
nissiy
2
450
iQON Engineer Seminar - Android
nissiy
0
4.2k
Other Decks in Programming
See All in Programming
TAKTでAI駆動開発の品質を設計する
j5ik2o
7
1.5k
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
140
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
740
ランチタイムLT会3周年!ランチタイムLT会を3年間続けられたお話
y0hgi
1
100
さぁV100、メモリをお食べ・・・
nilpe
0
150
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
300
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
200
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
360
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
130
dRuby over BLE
makicamel
2
390
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Design in an AI World
tapps
1
250
New Earth Scene 8
popppiees
3
2.4k
KATA
mclloyd
PRO
35
15k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
300
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Faster Mobile Websites
deanohume
310
32k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Skip the Path - Find Your Career Trail
mkilby
1
150
Designing Experiences People Love
moore
143
24k
Transcript
Material Designͷ࡞Γํ ʙBottom sheetsฤʙ VASILY TECH MTG vol.2 2015/08/10 Android
Team.
What is Bottom sheets? http://www.google.com/design/spec/components/bottom-sheets.html
What is Bottom sheets? - આ໌Λඞཁͱ͠ͳ͍ΞΫγϣϯΛෳදࣔ͢ΔUIίϯϙʔωϯτ - ଞͷΞϓϦʹؔ࿈͢ΔΞΫγϣϯΛߦ͏ࡍʹΑ͘ΘΕ·͢ ex. ిΛ͔͚ΔɺSNSʹγΣΞɺΧϝϥΛىಈ
- Ϧετ or άϦουͷϨΠΞτʹͰ͖Δ - ৄ͘͠ΨΠυϥΠϯΛࢀর͍ͯͩ͘͠͞ http://www.google.com/design/spec/components/bottom-sheets.html
How to implement Bottom sheets? - ࣗલͰ࣮͢Δ - LibraryΛ׆༻͢Δ ɾhttps://github.com/soarcn/BottomSheet
ɾhttps://github.com/Flipboard/bottomsheet etc… ˎ20158݄ݱࡏɺDesign Support Library ͰରԠ͍ͯ͠ͳ͍Ͱ͕͢ ɹࠓޙରԠ͕ߦΘΕͨΒͦΕΛ͏ͷ͕Ұ൪ྑ͍
How to implement Bottom sheets? // ʲJavaʳDialogΛΧελϜ࣮ͯ͠ݱ͢Δ Dialog bottomSheet =
new Dialog(this, R.style.iQON_BottomSheet); bottomSheet.setContentView(bottomSheetLayout); bottomSheet.setCancelable(true); bottomSheet.getWindow().setLayout( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT); bottomSheet.getWindow().setGravity(Gravity.BOTTOM); bottomSheet.show(); ▪ ࣗલͰ࣮ // ʲXMLʳBottomSheet༻ͷελΠϧΛ࡞Δ <style name="iQON.BottomSheet" parent="@android:style/Theme.Dialog"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:windowContentOverlay">@null</item> <item name="android:windowNoTitle">true</item> <item name="android:backgroundDimEnabled">true</item> <item name="android:windowIsFloating">false</item> <item name="android:windowAnimationStyle">@style/iQON.BottomSheet.Animation</item> </style> // ʲXMLʳදࣔ/ඇදࣔͷΞχϝʔγϣϯ <style name="iQON.BottomSheet.Animation"> <item name=“android:windowEnterAnimation"> @anim/bs_show </item> <item name=“android:windowExitAnimation"> @anim/bs_hide </item> </style>
How to implement Bottom sheets? ▪ LibraryΛ׆༻ - ߴػೳͰଞͷ༻్ʹԠ༻Ͱ͖ͦ͏ͳFlipboardͷLibraryΛ࠾༻ -
͔͠͠ Material Design ͷ༷ʹඍົʹॱक͍ͯ͠ͳ͍ - ݱঢ়Ͱ֎͔Βࡉ͔͍ઃఆΛߦ͑ΔΈ͕ͳ͔ͬͨͷͰɺForkͯ͠ ύονΛͯͯ͏͜ͱʹͨ͠ https://github.com/nissiy/bottomsheet
Screenshot of the new Activity
Happy Hacking!