On Mon, Jul 2, 2012 at 1:56 PM, bob wrote:
> Is it common to have two XML layout files if you want an app to work on a
> tablet and a phone?
No.
http://developer.android.com/training/basics/supporting-devices/index.html
-
Is it common to have two XML layout files if you want an app to work on a
tablet and a phone?
For instance,
if (is_a_phone() == true) setContentView(R.layout.phone_xml);
else setContentView(R.layout.tablet_xml);
--
You received this message because you are subscribed to the Google
Groups "
2 matches
Mail list logo