It is reflected on the screen only at the time of preview. This is useful when configuring screens in RecyclerView.
Code | Preview |
<net.matsudamper.PreviewRecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:preview_1="@layout/view_red"
app:preview_2="@layout/view_blue"
app:preview_2_span="2"
app:preview_3="@layout/view_red"
app:preview_3_span="3"
app:preview_4="@layout/view_blue"
app:preview_4_span="4"
app:preview_5="@layout/view_red"
app:preview_5_span="5" /> |