Hi,
I have for screens. My initial thought was I use 4 activities to keep things clean.
But I have a top bar and a actionbar. This makes things complicated because I need similar code in all the 4 activities for catching the button events and top bar events. So i end up having one activity and replaces the content part when switching from actions.
Would be nice if you could included the top bar and bottom bar to different layout files. this way I need to design them once. Also the code would be nice to include to use them once.
Is this possible?
Do I make design failures?
I have for screens. My initial thought was I use 4 activities to keep things clean.
But I have a top bar and a actionbar. This makes things complicated because I need similar code in all the 4 activities for catching the button events and top bar events. So i end up having one activity and replaces the content part when switching from actions.
Would be nice if you could included the top bar and bottom bar to different layout files. this way I need to design them once. Also the code would be nice to include to use them once.
Is this possible?
Do I make design failures?