0
I am trying to make a Custom Listview. I have my XLM
<ListView
android:id="@+id/listViewCliente"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scrollbars="horizontal"
tools:listitem="@layout/row_cliente"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
Notice that there I put a tools: and pointed to another XML to get the custom style.
In the design tab it shows the correct and already customized listview. But when I install on my phone or emulator it shows the default list.
Has anyone ever gone through it? I have tried to uninstall and install again, but nothing.
Change the listitem for this and see if it works:
tools:listitem="@layout/sample_list_item"
– Rene Freak