안녕하세요..웹뷰가 자꾸 전체 크기로 먹어서 문제에요ㅜㅜ
누가 좀 알려주세요..
LinearLayout의 Background 사이즈 만큼 웹뷰 사이즈가 잡히는게 아니라
전체 사이주가 되더라고요..WebView의 특성인가요?? 아니면 먼가 다른 방법이 있나요?
width, height 값을 임의로 주면 되긴 되는데 land, fort일때마다 변경을 해줘야 하는 번거러움이 있어서요..
혹시 상위 사이즈 만큼 WebView 크기가 먹게끔 할수 없나요?
<LinearLayout
android:id="@+id/explanationWebPageBody"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:background="@drawable/bg_manubar_input"
>
<WebView
android:id="@+id/explanationWebPage"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="@dimen/PX_1"
android:layout_weight="1"
android:scrollbars="vertical"
/>
</LinearLayout>




상위뷰 사이즈를 하위뷰에 의존해서 그런것 같은데요?
상위뷰의 패딩이나 마진을 이용해 보세요~