& lt; ? The XML version="1.0" encoding="utf-8"?>Android: layout_width="match_parent"
Android: layout_height="match_parent"
The android: orientation="horizontal" & gt;The android: id="@ + id/imgtou"
Android: layout_width="64 dp"
Android: layout_height="64 dp"
Android: baselineAlignBottom="true"
Android: paddingLeft="8 dp"/& gt;Android: layout_width="match_parent"
Android: layout_height="wrap_content"
Android: orientation="vertical" & gt;The android: id="@ + id/name"
Android: layout_width="wrap_content"
Android: layout_height="wrap_content"
Android: paddingLeft="8 dp"
Android: textColor="# 1 d1d1c"
Android: textSize="20 sp/& gt;"The android: id="@ + id/says"
Android: layout_width="wrap_content"
Android: layout_height="wrap_content"
Android: paddingLeft="8 px"
Android: textColor="# B4B4B9"
Android: textSize="14 sp/& gt;"
MainActivity. Java
public class MainActivity extends AppCompatActivity {
Private String [] names=new String [] {god "B", "base" god, "god cao"};
Private String [] saith=new String [] {" intangible is black, the most lethal, "" great god so much ~", "I will take the lead, the dog ~"};
Private int [] imgIds=new int [] {R.m ipmap. Head_icon1, R.m. Ipmap head_icon2, R.m ipmap. Head_icon3};
@ Override
Protected void onCreate (Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
List