[Solved] How to make button do 2 events? [closed]


Try this;

  Button btn;

  btn.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {

         Toast.makeText(MainActivity.this, "abc....", Toast.LENGTH_LONG).show();

         mTextView.setTextColor(Color.parseColor("#bdbdbd"));
        }
    });

solved How to make button do 2 events? [closed]