TabHost에서 maringTop을 넣었는데 왜 마지 아래에 들어가나요??
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_marginTop="50dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<HorizontalScrollView
android:scrollbars="none"
android:layout_weight="0"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TabWidget
android:id="@android:id/tabs"
android:tabStripEnabled="false"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</HorizontalScrollView>
</LinearLayout>
</TabHost>
분명히 마진Top으로 했는데 아래로 들어가네요. marginBottom처럼요.