📅  最后修改于: 2022-03-11 14:52:28.707000             🧑  作者: Mango
A text:
TextView myText= (TextView) findViewById(R.id.textview);
myText.setText("Example of Text");
An image:
ImageView image = (ImageView) findViewById(R.id.imageid);
image.setImageResource(R.drawable.imageid2);