Still showing and hiding view like this:
if(isChecked)
{
linearLayoutMap.setVisibility(View.VISIBLE);
}
else
{
linearLayoutMap.setVisibility(View.GONE);
}
but what if I have to show and hide using Slide Up and Slide Down Animation