First . Rewrite activity_main.xml layout file and change root element android.support.v4.widget.NestedScrollView
Second . File -> Progect Structure -> cardView ->apply
Third . Creat LinearLayout in NestedScrollVIew , and add CardView in the vertical LinearLayout .
Fourth . Import imageView , by plugin Batch Drawable Import ,
Fifth , Add ImageView element in CardView element ,
Note : xmlns:card_view = "http://schemas.android.com/apk/res-auto"用来为cardView设置圆角。