Say I have two views,
A Recycler view:
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_below="@+id/dialog_movie_character"
android:id="@+id/dialog_movie_horizontal_recycler_view"
android:orientation="horizontal">
</android.support.v7.widget.RecyclerView>
And a text view:
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/dialog_movie_horizontal_recycler_view"
android:layout_alignParentRight="true"
android:textSize="18sp"
android:textStyle="bold"
android:text="Add"/>
How can I set the recyclerView's width to match-parent
- layout_width
of the text view?
Is it possible to do in the xml file?