if (v.getBackground().toString()==getResources().getDrawable(R.drawable.button_shape1).toString()) {
v.setBackgroundResource(R.drawable.border_stroke_black);
Toast.makeText(context, v.getTag().toString(), Toast.LENGTH_SHORT).show();
}else{
v.setBackgroundResource(R.drawable.button_shape1);
}if (v.getBackground().toString()==getResources().getDrawable(R.drawable.button_shape1).toString()) {
v.setBackgroundResource(R.drawable.border_stroke_black);
Toast.makeText(context, v.getTag().toString(), Toast.LENGTH_SHORT).show();
}else{
v.setBackgroundResource(R.drawable.button_shape1);
}