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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
460
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
220
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
190
Lessons from Spec-Driven Development
simas
PRO
0
240
symfony/aiとlaravel/boost
77web
0
110
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
110
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
160
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
270
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
130
LLMによるContent Moderationの本番運用の裏側と品質担保への挑戦
suikabar
3
820
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
170
エージェンティックRAGにAWSで入門しよう!
har1101
9
1.9k
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The World Runs on Bad Software
bkeepers
PRO
72
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Code Review Best Practice
trishagee
74
20k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
320
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
250
Site-Speed That Sticks
csswizardry
13
1.2k
Documentation Writing (for coders)
carmenintech
77
5.4k
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!