내가이 레이아웃있어 작동하지 않습니다안드로이드 레이아웃 무게는
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="6sp"
android:layout_marginLeft="16sp"
android:layout_marginRight="6sp"
android:layout_marginTop="6sp" >
<TextView android:id="@+android:id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceListItem"
android:inputType="none" />
<TextView android:id="@+android:id/summary"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:layout_below="@android:id/title"
android:maxLines="2"
android:layout_width="wrap_content" />
</RelativeLayout>
<!-- Preference should place its actual preference widget here. -->
<!-- android:id="@android:id/widget_frame" -->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginBottom="6sp"
android:layout_marginLeft="6sp"
android:layout_marginRight="6sp"
android:layout_marginTop="10sp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:weightSum="1" >
<SeekBar
android:id="@+id/change_seekbar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.8"
android:paddingLeft="20dip"
android:paddingRight="20dip" >
</SeekBar>
<TextView
android:id="@+id/Text_Box_seek"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dip"
android:textSize="16dip" >
</TextView>
</LinearLayout>
내가 추구하는 바는 내부 선형 레이아웃 폭의 80 %를 먹고 싶어을하지만, 탐색 바는 아주 작은 채로 남아 있습니다. 왜 공간의 나머지 부분을 차지하지 않을까요? TextView
20 % 중량의 나머지 부분을 포함