SMORE_APP

๐Ÿงธ

<8/4>

1. Sidebar

2. Popup

-1) Dialog ์ƒ์†

-2) ๋ฉ”๋‹ˆํŽ˜์ŠคํŠธ์—์„œ Dialog ์ข…๋ฅ˜ ์„ ํƒ (๋ฉ”๋‹ˆํŽ˜์ŠคํŠธ์—์„œ ์ž‘์„ฑํ•ด์•ผ intent๋กœ ํ™”๋ฉด ์ „ํ™˜ ๊ฐ€๋Šฅํ•จ)

3. ํ™”๋ฉด ์ „ํ™˜ -intent ์ „๋‹ฌ

<8/5>

4.Text ์ค‘์•™ ์ •๋ ฌ(gravity center)

5.ํ•˜๋‹จ๋ฐ” ๊ณ ์ •

-์ƒ๋‹จ์— ์žˆ๋Š” ๋ทฐ์— height=0dp, weight=1 ์„ค์ •ํ•˜๋ฉด, ์•„๋ž˜ ์ƒ์„ฑํ•œ view์˜ ์˜์—ญ์„ ์ œ์™ธํ•œ ๋‚˜๋จธ์ง€ ์ „์ฒด๋ฅผ ์˜์—ญ์œผ๋กœ ์žก์Œ

6. ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ ์ด๋ฒคํŠธ ํšจ๊ณผ

-ํด๋ฆญ boolean a = true; (a==true) ~ a=false ~ else ~ a=true

-1) ImageButton ์ด๋ฏธ์ง€ ๋ณ€๊ฒฝ(setImageResource)

-2) Button Background ๋ณ€๊ฒฝ(setBackgroundColor/setBackgroundDrawable)

7. ๊ฐ€๋กœ์„ 

-android:layout_height="1dp" / android:layout_width="match_parent"

<8/6>

8. setBackgroundColor

-setBackgroundColor(Color.praseColor("#~"))

9. ๋ฒ„ํŠผ ์œ„์น˜ ์ˆ˜์ •(margin ์กฐ์ ˆ)

-layout_marginStart="1dp" / layout_marginLeft="0dp"

<8/9>

10. icon ์ถ”๊ฐ€

-mipmap -> image asset

-Manifest ํŒŒ์ผ ์ˆ˜์ • (icon/round_icon)