갤럭시 탭을 이용하여 안드로이드 프로그램을 연습하고 있습니다.

그런데, 내가 만든 앱은 갤럭시 탭의 화면에 꽉 차지 않고,

아래 그림처럼 가운데 3분의 2부분에만 앱 화면 구성 요소들이 자리합니다.

어떻게 하면 화면에 꽉 차도록 앱을 만들수 있을까요?

다음은 참고 그림과 WebView 를 갤럭시탭에 꽉차게 채우려고 시도한 소스입니다.

 

* 참고로 에뮬레이터에서는 화면에 꽉 차도록 앱이 보이며, 갤럭시S 같은 폰에서는

   단말기가 없어서 테스트를 못해봤습니다

 

고수님과 경험자분의 친절한 답변 기다릴께요~~

 

질문.jpg

 

* main.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
         xmlns:android="http://schemas.android.com/apk/res/android"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
         android:background="#88000000"
 >
 <WebView
        android:id="@+id/WebBrowser"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:background="#33000000"
 />
</LinearLayout>

* 메니페스트 파일입니다.

 <application android:icon="@drawable/notepad_icon" android:label="@string/AppName" android:debuggable="true">
        <activity android:name=".WebBrowser"
                  android:label="@string/AppName"
                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 
                  android:configChanges="orientation|keyboardHidden">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        .............................

* 자바 파일입니다.

 @Override
public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        WebView wv = (WebView) findViewById(R.id.WebBrowser);
        wv.getSettings().setJavaScriptEnabled(true);
        wv.loadUrl("http://www.naver.com/");
}