$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Activity & View
Search
saulpower
March 10, 2014
Technology
0
56
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
46
Drawables & Animations
saulpower
0
50
View Wiring, Intents, Manifest
saulpower
0
39
Other Decks in Technology
See All in Technology
AI駆動開発における設計思想 認知負荷を下げるフロントエンドアーキテクチャ/ 20251211 Teppei Hanai
shift_evolve
PRO
2
330
re:Invent2025 コンテナ系アップデート振り返り(+CloudWatchログのアップデート紹介)
masukawa
0
340
Snowflakeでデータ基盤を もう一度作り直すなら / rebuilding-data-platform-with-snowflake
pei0804
4
1.3k
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
100
Kiro Autonomous AgentとKiro Powers の紹介 / kiro-autonomous-agent-and-powers
tomoki10
0
380
AWSを使う上で最低限知っておきたいセキュリティ研修を社内で実施した話 ~みんなでやるセキュリティ~
maimyyym
2
260
Playwright x GitHub Actionsで実現する「レビューしやすい」E2Eテストレポート
kinosuke01
0
550
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
1
170
AWS Trainium3 をちょっと身近に感じたい
bigmuramura
1
140
RAG/Agent開発のアップデートまとめ
taka0709
0
160
文字列の並び順 / Unicode Collation
tmtms
3
510
法人支出管理領域におけるソフトウェアアーキテクチャに基づいたテスト戦略の実践
ogugu9
1
220
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Typedesign – Prime Four
hannesfritz
42
2.9k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Agile that works and the tools we love
rasmusluckow
331
21k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Building Adaptive Systems
keathley
44
2.9k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
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