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
Activity & View
Search
saulpower
March 10, 2014
Technology
0
55
Activity & View
Learn the basics of Android's Activity and View concepts
saulpower
March 10, 2014
Tweet
Share
More Decks by saulpower
See All by saulpower
Custome Views
saulpower
0
45
Drawables & Animations
saulpower
0
49
View Wiring, Intents, Manifest
saulpower
0
38
Other Decks in Technology
See All in Technology
コスト削減の基本の「キ」~ コスト消費3大リソースへの対策 ~
smt7174
2
280
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
370
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
1
1.1k
Microsoft Fabric のネットワーク保護のアップデートについて
ryomaru0825
1
120
プロダクトの成長に合わせたアーキテクチャの段階的進化と成長痛、そして、ユニットエコノミクスの最適化
kakehashi
PRO
1
110
Postman MCP 関連機能アップデート / Postman MCP feature updates
yokawasa
1
210
KiroでGameDay開催してみよう(準備編)
yuuuuuuu168
1
160
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
4
900
Lessons from CVE-2025-22869: Memory Debugging and OSS Vulnerability Reporting
vvatanabe
2
110
新規案件の立ち上げ専門チームから見たAI駆動開発の始め方
shuyakinjo
0
520
自社製CMSからmicroCMSへのリプレースがプロダクトグロースを加速させた話
nextbeatdev
0
310
実践データベース設計 ①データベース設計概論
recruitengineers
PRO
4
1.6k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
Balancing Empowerment & Direction
lara
3
600
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
790
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Rails Girls Zürich Keynote
gr2m
95
14k
Why Our Code Smells
bkeepers
PRO
339
57k
Making Projects Easy
brettharned
117
6.3k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Transcript
Learn Android Activities & Views
Goals Create an Activity Create an XML Layout
Activity Basic Building Block Lifecycle State View Controller
Activity Transition Between Activities Phone Calls App Killed
Activity State Bundle onSaveInstanceState() onRestoreInstanceState()
Activity XML Layouts Compiled at build Views & ViewGroups Custom
Views setContentView()
View Hierarchy Views & View Groups Required: Width & Height
dp, px, pt wrap_content match_parent Layout Engine Measure Pass Layout Pass
Views Widgets TextView Displaying text EditText Input text Button
ViewGroups Widget Container LinearLayout Stack Vertical/Horizontal (orientation) Weight 33
ViewGroups Widget Container LinearLayout Stack Vertical/Horizontal (orientation) Weight RelativeLayout Relative
to parent or children Overlap Nesting