I\'m trying to define a fragment\'s layout in XML in the same way that I defined the layout of my view.
Is this possible? I tried several things, but none of them se
Simply add into your tag as property:
tools:layout="@layout/your_layout_xml"
And in your main.xml (or tag container) into your parent container (in this case ListView):
ListView
xmlns:tools="http://schemas.android.com/tools"