Hi I am very new to Android development. Here is my problem:
In have two activities as shown below.
- Activity1.class XML--> has two buttons - Button1 (Id:@+id/btn1 , onclick:doTHIS) and Button2 (Id:@+id/btn2 , onclick:doTHAT) 
- Activity2.class XML--> has a TextView with this parameters - Textview (Id:@+id/texter , Text:@+string/text1 , background:#ffffff) 
onClick of Button1, I want to go to Activity2 and change
- the background of a TextView to #000000
- the Text to @+sting/text2
onClick of Button2, I want go to Activity2 and
- set the TextView to visible:gone (not visible)
I tried to do this with no results.
public void doTHIS(View view){
    TextView tv= (TextView)findViewById(R.id.texter);
    tv.setText(getResources().getString(R.string.text2));
    tv.setTextColor(Color.RED);
    tv.setVisibility(View.GONE);
    Intent intent = new Intent (this, Activity2.class);
    startActivity(intent);
Can anyone help me figure out how to solve my problem?
 
     
    