Android Question Multiple screens/ layouts

bogdanc

Active Member
Licensed User
Hi everyone :)

I think to make an app with multiple screens.
I know that I can use a TabHost for it but I woudl like to do this in other way.

on load main actvity I want to make a home screen with menu for example:
home base.png


So on press Page 1 I want to load layout 1 for Page2 layout 2 etc...

What is the best way to do this?

Just add action Click to all buttons Activity.LoadLayout("Layout1")...?
But what to do with loaded previously layout?
 

klaus

Expert
Licensed User

NJDude

Expert
Licensed User
If you are using the latest version of B4A, you can edit the layouts with the designer and change the "Animation duration" to zero, if after doing that you still see the effect you mentioned then it means it's your device. Each device have a different "default" animation between activities.
 

bogdanc

Active Member
Licensed User
If you are using the latest version of B4A, you can edit the layouts with the designer and change the "Animation duration" to zero, if after doing that you still see the effect you mentioned then it means it's your device. Each device have a different "default" animation between activities.
Thank You for answer.
Unfortunately I still have this jump effect :)

If its of my device Can change i B4A to more friendly for eye animation?
Like fading between of Activities?

Thank You
 

RandomCoder

Well-Known Member
Licensed User
I think that it is also possible by using custom themes although I only have limited experience using themes.
 

bogdanc

Active Member
Licensed User
Read THIS tutorial too.
Nice tutorial:)
Good help again:)

Is there way to keep one label on the top screen as my status of app and keep this label on all windows without any jump effect?
Im talking about situation when i switching between activities.
 
Top