¾Èµå·ÎÀ̵忡¼ ÀüüȸéÀ» »ç¿ëÇϱâ À§Çؼ´Â »óŹÙ(Status Bar)¿Í ŸÀÌƲ¹Ù(Title Bar)¸¦ ¼û°Ü¾ß ÇÕ´Ï´Ù. ¼û±â´Â ¹æ¹ýÀº ¿©·¯°¡Áö°¡ Á¸ÀçÇϴµ¥ ±× Áß ¸î°¡Áö ¹æ¹ýÀ» Á¤¸®Çϵµ·Ï ÇÏ°Ú½À´Ï´Ù.
1. ¹Ì¸® Á¤ÀÇµÈ Theme »ç¿ëÇϱâ
<activity android:name=".MyActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
AndroidManifest.xml ¿¡¼ Activity ÀÇ Theme ¸¦ À§¿Í °°ÀÌ ¼³Á¤ÇØÁÖ¸é Status Bar¿Í Title Bar°¡ ¸ðµÎ ¾ø´Â »óÅ°¡ µË´Ï´Ù.
<activity android:name=".MyActivity" android:theme="@android:style/Theme.NoTitleBar">
ÀÌ·¸°Ô¸¸ ÇÑ´Ù¸é TitleBar¸¸ ¾ø´Â »óÅ°¡ µË´Ï´Ù.
2. ³»°¡ Á¤ÀÇÇÑ Theme ¿¡¼ ¼³Á¤Çϱâ
==== Title Bar¸¸ ¾ø´Â »óÅ·Π¸¸µé±â <item name="windowNoTitle">true</item>
==== Status Bar¿Í Title Bar ¸ðµÎ ¾ø´Â »óÅ ¸¸µé±â <item name="windowFullscreen">true</item>
3. Java Code¿¡¼ ¼³Á¤Çϱâ
==== Title Bar ¾ø´Â »óÅ·Π¸¸µé±â. requestWindowFeature(Window.FEATURE_NO_TITLE);
==== Status Bar ¾ø´Â »óÅ·Π¸¸µé±â. getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
Theme ¼³Á¤°ú ´Ù¸¥ °ÍÀº Fullscreen Flag¸¦ ÁÖ´õ¶óµµ Title Bar´Â ³²¾ÆÀÖ½À´Ï´Ù.
|
|
|
|
°Ô½ÃÆÇ ±Û ¸ñ·Ï |
|
No |
Subject |
Poster |
Hits |
Posted |
|
5709 |
|
helix |
3048 |
2013-08-27 17:36:22 |
|
2646 |
|
helix |
22100 |
2011-11-18 21:57:29 |
|
2614 |
|
helix |
5124 |
2011-07-08 19:39:28 |
|
2556 |
|
helix |
3389 |
2010-12-14 17:43:35 |
|
2551 |
|
helix |
3707 |
2010-12-08 09:41:24 |
|
|
|
helix |
3920 |
2010-12-02 14:18:49 |
|
2543 |
|
helix |
3772 |
2010-11-29 15:32:39 |
|
2537 |
|
helix |
4788 |
2010-11-22 18:51:53 |
|
2531 |
|
helix |
6607 |
2010-11-04 21:44:32 |
|
2519 |
|
helix |
2988 |
2010-10-08 13:14:36 |
|
2518 |
|
helix |
3797 |
2010-10-05 14:58:31 |
|
|
|
ÄÚ¸àÆ® |
|
|
|
|
|
|