iOS Question Animated Navbar with scrolling

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone.
While using Facebook I noticed that the navbar is “linked” with the scrolling of the list.
how can be implemented such a behavior in b4i? maybe using a clv or scrollview etc..

thanks in advance


(gif link to see)

p.s. what is the maximum file size for attachments in the forum?? 1.76MB gif was rejected (I had to upload it on google drive and retrive the image link from the inspector web ?)
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
The image link is broken. You need to set the sharing permission.

what is the maximum file size for attachments in the forum?
500kb.

Check the attached example. Note that the CLV isn't resized. Resizing it will cause the scroll position to jump. The "resize layout" option in the layout file is unchecked.
 

Attachments

  • Project.zip
    8.8 KB · Views: 272
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
Ok Erel, thank you very much.
This example seems to be a very good compromise. <

I was just curious to know how they achieve the result to follow the finger movement (now that the gif is visible maybe is clearer).
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User

 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
Oh ok, so you think that the thing that follows the finger is not the navbar itself but is a custom element?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…