Answers for "android java change text value"

0

android java change text value

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);
Posted by: Guest on January-05-2021

Code answers related to "android java change text value"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language