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
意外と難しいGraphQLのスカラー型
uhyo
4
220
5000万ダウンロードを超える漫画サービスを支えるログ基盤の設計開発の全て
ldf_tech
0
390
サーバなしで対戦ゲームが作れる!? 純正フレームワークで実現するリアルタイム通信
kuromelon257
0
590
組織を巻き込む大規模プラットフォーム移行戦略 〜50+サービスのマルチリージョン・マルチプロダクト化で学んだステークホルダー協働の実践〜 / Platform migration strategy engaging all stakeholders
toshi0607
2
440
日本語で指示するだけ!AIで業務効率化を実現する 〜90分で体感する実践ワークショップ〜
taka_aki
0
1.6k
開発用LLMインフラをVSCode内で完結させる
ueponx
1
180
Swift6.2時代のconcurrencyを考える会
yuukiw00w
0
210
疎結合でスキーマ駆動開発を実現するイベントバスの設計
hacomono
PRO
1
210
チームとマネージャーと組織文化とわたし
hayatoshimiu
0
110
Создание мультиагентной системы на базе AI Studio
shwars
0
120
AIがコード書きすぎ問題にはAIで立ち向かえ
jyoshise
13
10k
非エンジニアによるDevin開発のためにSREができること
shonansurvivors
0
130
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
23k
RailsConf 2023
tenderlove
30
1.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
Designing for humans not robots
tammielis
254
25k
GraphQLとの向き合い方2022年版
quramy
49
14k
A Modern Web Designer's Workflow
chriscoyier
697
190k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
How GitHub (no longer) Works
holman
315
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
We Have a Design System, Now What?
morganepeng
53
7.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
The Pragmatic Product Professional
lauravandoore
36
6.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