In my app, I have a TableLayout
with 6 items in it and on that layout I have attached ImageView
with controller like button.
This is the scheme:
So basically I have 3 components here:
- Checker img that will bring bot navigation top and down
- Bottom navigation with icons.
I manage to implement it partially with this
controller.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
View b=findViewById(R.id.botmenuLayout);
if (b.getVisibility()==View.VISIBLE)
b.setVisibility(View.GONE);
else
b.setVisibility(View.VISIBLE);
}
});
}
so when user press on Controller image view will gone and when he press it again view will return.
It's working but I get no animation. I tried many tutorials found on StackOverflow but it didn't help me