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
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
52
View Wiring, Intents, Manifest
saulpower
0
39
Other Decks in Technology
See All in Technology
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
4
200
AWS Network Firewall Proxyで脱Squid運用⁈
nnydtmg
1
160
ファシリテーション勉強中 その場に何が求められるかを考えるようになるまで / 20260123 Naoki Takahashi
shift_evolve
PRO
3
350
M5Stack Chain DualKey を UIFlow 2.0 + USB接続で試す / ビジュアルプログラミングIoTLT vol.22
you
PRO
2
120
BPaaSオペレーション・kubell社内 n8n活用による効率化検証事例紹介
kubell_hr
0
230
Kaggleコンペティション「MABe Challenge - Social Action Recognition in Mice」振り返り
yu4u
1
740
ビジュアルプログラミングIoTLT vol.22
1ftseabass
PRO
0
140
AWS Devops Agent ~ 自動調査とSlack統合をやってみた! ~
kubomasataka
2
140
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
250
プロダクトエンジニアこそ必要なPMスキル 〜デリバリー力を最大化し、価値を届け続けるために〜
layerx
PRO
0
120
Riverpod3.xで実現する実践的UI実装
fumiyasac0921
2
330
AI開発の落とし穴 〜馬には乗ってみよAIには添うてみよ〜
sansantech
PRO
7
2.7k
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
WCS-LA-2024
lcolladotor
0
420
Bash Introduction
62gerente
615
210k
How to Ace a Technical Interview
jacobian
281
24k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
710
GraphQLとの向き合い方2022年版
quramy
50
14k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
47
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
130
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.9k
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