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
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
2
1.3k
継続モナドとリアクティブプログラミング
yukikurage
3
660
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
780
React本体のコードリーディング
high_g_engineer
0
110
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
190
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
0
120
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
360
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
9
5.8k
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
150
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
270
Build-to-own AI: Agentic Development for Humans
inesmontani
PRO
0
120
言語を使う側から、作る側へ。 自作 Lisp で得た新たな気づき。
andpad
0
140
Featured
See All Featured
Music & Morning Musume
bryan
47
7.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4k
Discover your Explorer Soul
emna__ayadi
2
1.2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
440
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
600
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Optimizing for Happiness
mojombo
378
71k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
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!