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
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
さぁV100、メモリをお食べ・・・
nilpe
0
140
A2UI という光を覗いてみる
satohjohn
1
130
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
220
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
2
660
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Lessons from Spec-Driven Development
simas
PRO
0
170
Oxcを導入して開発体験が向上した話
yug1224
4
310
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
260
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.6k
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
160
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
320
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
The Invisible Side of Design
smashingmag
302
52k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Designing Experiences People Love
moore
143
24k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
AI: The stuff that nobody shows you
jnunemaker
PRO
8
710
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
430
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
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!