Martijnsx2
Member
Hi,
I tried to make my first app.
Goal was to start with an app with 4 tabs (images/icons) on the bottom of the screen to switch between layouts/forms/pages.
I created one layout with four buttons on the bottom (with fontawesome icons). I copied layout 1 to layout 2, 3 and 4 (save layout 1 as new layout).
On buttonX_click X i called "Activity.LoadLayout("PageX")".
Well the good news is that it works sort of. Only when i press a button X and page X is loaded you see an animation (buttons flying in, but also labels on the layout fly in). I do not want an animation, i only want the selected tab in another color (like selected tab dark color and unselected tabs faded).
I also tried libraries like TabPager or other but had trouble fine tuning it (placing it on the bottom).
There must be a better way to do this!
Any advice on what to use for the tabs (buttons or imageview or something else)? Any advice on how to use/create 4 layouts/forms and on how to activate/show those layouts on pressing a tab?
Thanks!
I tried to make my first app.
Goal was to start with an app with 4 tabs (images/icons) on the bottom of the screen to switch between layouts/forms/pages.
I created one layout with four buttons on the bottom (with fontawesome icons). I copied layout 1 to layout 2, 3 and 4 (save layout 1 as new layout).
On buttonX_click X i called "Activity.LoadLayout("PageX")".
Well the good news is that it works sort of. Only when i press a button X and page X is loaded you see an animation (buttons flying in, but also labels on the layout fly in). I do not want an animation, i only want the selected tab in another color (like selected tab dark color and unselected tabs faded).
I also tried libraries like TabPager or other but had trouble fine tuning it (placing it on the bottom).
There must be a better way to do this!
Any advice on what to use for the tabs (buttons or imageview or something else)? Any advice on how to use/create 4 layouts/forms and on how to activate/show those layouts on pressing a tab?
Thanks!