scroll to same layout horizontal and vertical?

riko

Member
Licensed User
Longtime User
Hello, i am new to b4a and making the concept for my first app...

Lets say i have a main page where i can select one item from a list.
This item does have a lot of properties to set, so i need a few layouts (activities?), grouped by functionality, for this.
After selecting the item from the main-list i show the first layout.
Then i want to have the possibility that the user can slide either horizontally or vertically to the next/previous properties layout.
I mean it should be equal which direction he is sliding, the app shows the next(up or left slide) or previous(down or right slide) layout of the settings.

Is this possible?:confused:

After the user have finished the settings i wanted to use the back or home button of the device to return back to the main-list and save the settings.


What do you think, is it a good approach for the UI or is it not possible?

Thank you for any help with this...:)
 

margret

Well-Known Member
Licensed User
Longtime User
Scolling Layout

Hello, i am new to b4a and making the concept for my first app...

Lets say i have a main page where i can select one item from a list.
This item does have a lot of properties to set, so i need a few layouts (activities?), grouped by functionality, for this.
After selecting the item from the main-list i show the first layout.
Then i want to have the possibility that the user can slide either horizontally or vertically to the next/previous properties layout.
I mean it should be equal which direction he is sliding, the app shows the next(up or left slide) or previous(down or right slide) layout of the settings.

Is this possible?:confused:

After the user have finished the settings i wanted to use the back or home button of the device to return back to the main-list and save the settings.


What do you think, is it a good approach for the UI or is it not possible?

Thank you for any help with this...:)

Hello, I think it can be done with Panel Layouts. I think you can do it with 5 panels all set the same. Then use the Touch Event of the panels to change the active panel. I have not tried this but just looking at it, seems like you could make it work. Also there is some info here that may be right in line with what you are trying to do: http://www.b4x.com/forum/basic4android-getting-started-tutorials/8233-android-slidingpanels-simple-way-create-sliding-layouts.html

Thanks,

Margret
 
Last edited:
Upvote 0

riko

Member
Licensed User
Longtime User
Hello magret,

thank you for your reply...:)
The link you provided is interesting...i will give this a try...
 
Upvote 0
Top