Sorry about the non-descriptive title, but I couldn't think of anything else.
I am creating an app and want it to look different on phone and tab. Was thinking of doing 2 apk's. One for each but going to try it in one first to keep fragmentation down.
Phone layouts - no problem and an example is below and works well on tested devices.

and example of a screen selected from the menu is (note this isn't finished before anybody thinks it looks bad
):

Now due to the nature of the layout I think it will look rubbish to simply blow it up. So my idea is to move the listview (menu) into a sidebar (Panel) and shown the content selected from the menu in a Content panel. see below for layout

Now my idea was to add a panel (pnlWrapper) with pnlContent as its parent, use pnlWrapper.LoadLayout to insert the selected screen, which will hopefully be a reasonable size once I figure the AutoScaleRate. Then once the layout is loaded center up the wrapper panel on the content panel.
What would be the best way to go about this, tried a few things but cannot get the required results. Ideally the selected screen would fill the screen height wise and then size the wrapper panel width to the required width to suit the height. then display center.
Hope this makes sense. Look forward to some replies.
Cheers
I am creating an app and want it to look different on phone and tab. Was thinking of doing 2 apk's. One for each but going to try it in one first to keep fragmentation down.
Phone layouts - no problem and an example is below and works well on tested devices.

and example of a screen selected from the menu is (note this isn't finished before anybody thinks it looks bad

Now due to the nature of the layout I think it will look rubbish to simply blow it up. So my idea is to move the listview (menu) into a sidebar (Panel) and shown the content selected from the menu in a Content panel. see below for layout

Now my idea was to add a panel (pnlWrapper) with pnlContent as its parent, use pnlWrapper.LoadLayout to insert the selected screen, which will hopefully be a reasonable size once I figure the AutoScaleRate. Then once the layout is loaded center up the wrapper panel on the content panel.
What would be the best way to go about this, tried a few things but cannot get the required results. Ideally the selected screen would fill the screen height wise and then size the wrapper panel width to the required width to suit the height. then display center.
Hope this makes sense. Look forward to some replies.
Cheers