レイアウトプレビューで
<ListView tools:listitem="@layout/list_custom_item"
のようにListViewにカスタムレイアウトを指定することで
プレビュー画面でリストアイテムを表示させることができる。
tools 属性を使うと、プレビュー画面がもっと便利になる。
https://developer.android.com/studio/write/tool-attributes.html
activity_list.xml
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/list_custom_item"/>
</LinearLayout>
いじょ。