Saturday, March 8, 2014

Guiqiu: hidden sliding controls


Let us talk about demand. My page after removing the system status bar is divided into three layers: page header section , page content section , listview sliding part . Slide the listview event listener. Let if listview in the first, sliding up the implementation of a content portion animation disappears after upward, listview page full-screen in the header section. Similarly, if I slide down when the first slide, the content is displayed after a downward part of the implementation of animation. At other times there is no other execution. listview displayed below it, the page returned to the initial state. Detailed in Fig. simple demo has been written, the point behind the link to download. simple Demo Download <-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Top one
Reply:

Reply:
I think you put the "content" as part of header added to the listview is more the province of thing. With just a little bit out of your mind.
If you really want to achieve that effect, you need to customize a layout animation, dynamic adjustment of "content" in height, the effect is not very good, very card. Either put the "content" listview top cover, and then slide event listener listview to hide / show the "content", the effect is not good, because there will be some listview is covered.
Reply:
reference to the third floor youngc527 reply:
I think you put the "content" as part of header added to the listview is more the province of thing. With just a little bit out of your mind.
If you really want to achieve that effect, you need to customize a layout animation, dynamic adjustment of "content" in height, the effect is not very good, very card. Either put the "content" listview top cover, and then slide event listener listview to hide / show the "content", the effect is not good, because there will be some listview is covered.
Thank you, but there are still significant limitations ah. Because the following section is actually a listview control sliding around, which is the listview. The method is often added header is not enough.
Reply:
My application layout and you say the situation is the same, also tried various programs, but finally with a header in the way of the sliding around inside each listview controls are added to a different header.

If there is a handy solution for listview in scrollview enough, but unfortunately the online programs are not ye touch.
Reply:
Landlord demo there? , Sent me a thank you

No comments:

Post a Comment