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
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
360
Claude Team Plan導入・ガイド
tk3fftk
0
210
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
170
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
130
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
650
SLOをサービス品質の共通言語にするために 取り組んできたこと
wakana0222
0
510
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
130
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
220
はてなアカウント基盤 State of the Union
cockscomb
1
1.3k
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
220
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
880
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
970
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Believing is Seeing
oripsolob
1
170
The Spectacular Lies of Maps
axbom
PRO
1
860
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.7k
4 Signs Your Business is Dying
shpigford
187
22k
Code Review Best Practice
trishagee
74
20k
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!