Assuming I have two activities Activity A and Activity B. What I want is a code that when the Imageview on Activity B is clicked the alpha value of button in activity A changes and another Imageview in Activity A disappears. The codes for these two as far as I know is something like this
b2.getBackground().setAlpha(40); //b2 is the button in Activity A
v2.setImageResource(android.R.color.transparent); //v2 is the imageView in Activity A
I don't know how to do this in different activity, so I looked up on net and found a similar question here however it changes the background image of activity not the properties
Intent act2= new Intent(ResultActivity2.this,Lylevel1.class);
act2.putExtra("myImageResource",**b2.getBackground().setAlpha(40)**);
startActivity(act2);
the part in ** is giving me error, anyone who can help?