Это мой XML из HorizontalScrollView
Android HorizontalScrollView ширина
<HorizontalScrollView
android:id="@+id/horizontalScrollView1"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="19" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/card_background" >
</RelativeLayout>
</LinearLayout>
</HorizontalScrollView>
Я хочу, чтобы установить ширину RelativeLayout, равную ширине HorizontalScrollView. Как я могу сделать это с помощью XML (не программно)
как match_parent ... –