Grideviewitem does not overlap after you click it.
I made a filter on a search page.
The general idea is as follows: use Include to introduce a filter box () in the root layout (),
Set the margin to android: layout_marginBottom = "-250dp" android: layout_alignParentBottom = "true"
The objective is to hide the screening box below the screen, and then move the filtering box up to 250dp through the animated effect TranslateAnimation to achieve the effect similar to that of the slide menu.
This effect can be achieved, but when I introduce the GridView in the layout filter box, the layout is still normal when the animation effect is completed (), but when I click the Item in the GridView, all items will be squeezed to the left, and all items overlap and disorder.
Then I tried to pull the GridView to the directory, and the GridView was normally displayed, and the click was not bad and overlapped.
So I suspected it was an animation effect? As a result, the layout of the GridView cannot be calculated normally, leading to confusion.
Cannot the GridView be included in an animation? Please let us know about Androider.
I will continue to explore this question = ~