layout์ข…๋ฅ˜

ยท Android
ํ”„๋กœ์ ํŠธ์˜ ํด๋”๊ตฌ์กฐ app > java > com.example.myfirstapp > MainActivity ์ด๋Š” ๊ธฐ๋ณธ ํ™œ๋™์œผ๋กœ, ์•ฑ์˜ ์ง„์ž…์ ์ž…๋‹ˆ๋‹ค. ์•ฑ์„ ๋นŒ๋“œํ•˜๊ณ  ์‹คํ–‰ํ•˜๋ฉด ์‹œ์Šคํ…œ์—์„œ ์ด Activity์˜ ์ธ์Šคํ„ด์Šค๋ฅผ ์‹คํ–‰ํ•˜๊ณ  ๋ ˆ์ด์•„์›ƒ์„ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. app > res > layout > activity_main.xml ์ด XML ํŒŒ์ผ์€ ํ™œ๋™์˜ ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค(UI) ๋ ˆ์ด์•„์›ƒ์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. ์ด ํŒŒ์ผ์—๋Š” 'Hello, World!'๋ผ๋Š” ํ…์ŠคํŠธ๊ฐ€ ์žˆ๋Š” TextView ์š”์†Œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. app > manifests > AndroidManifest.xml ๋งค๋‹ˆํŽ˜์ŠคํŠธ ํŒŒ์ผ์€ ์•ฑ์˜ ๊ธฐ๋ณธ ํŠน์„ฑ์„ ์„ค๋ช…ํ•˜๊ณ  ์•ฑ์˜ ๊ฐ ๊ตฌ์„ฑ์š”์†Œ๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. Android Layout Editor์˜ ๊ธฐ๋Šฅ๊ณผ ๊ณ„์ธต๊ตฌ์กฐ Android ..
becky(์ง€์€)
'layout์ข…๋ฅ˜' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก