title: android application layout for android phones and tablets
body: <p>I am writing an application that needs to be supported on both android phones and tablets. I want to create a tablet-friendly UI for this application. As such, I want the app to be user-friendly both on small and large screens. As specified here: <a href="http://developer.android.com/guide/practices/screens_support.html" rel="nofollow">Supporting Multiple Screens</a>, I can create different layout files for different screen resolutions, as well as different drawables for different densities, which is very good.</p>
  
  <p>On top of that, I'd like to use the features of android 3+, like fragments, which are ideal for large screens. A layout which fits a small screen nicely will, in many cases, look poorly on tablets, so fragments would come in handy. However, if I use fragments and target my app for Android 2.2, it won't compile.</p>
  
  <p>So what are the options for this? Should I create a completely different Tablet version of the app? Is there another better way?</p>