1
Talk to you guys, I have an Image that starts invisible and when clicking the button it becomes visible, but I need it to be invisible again because when clicking the button again, it has to appear again, due to having "disappeared" for time in the animation. Is there a simple way to do this? Because by methods or Classes, I always curl up. For I do not find the full explanation of how to pull the method and Talz.
Edit to Working Code.
btQuestions.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
seuLayout.setVisibility(View.VISIBLE);
seuLayout.animate().alpha(0f).setDuration(5000);
showButtons();
}
});
Note: youLayout has to be INVISIBLE in xml.
Marcel, thank you very much, I managed to do with some tutorials and gathering information from some 3 different places. kkkk. Then I came here was the answer.
– GuilDraco