title: Alternatives to PreferenceFragment with android-support-v4
body: <p>I've come to a sudden halt in the development of my app as I realized that PreferenceFragments weren't supported in this library. Are there any alternatives that a rookie android developer can use to overcome this obstacle ?</p>
  
  <p>This is my main window as of right now</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt;
  &lt;TabHost
      android:id="@android:id/tabhost"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      &gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          &gt;
  
          &lt;FrameLayout
              android:id="@android:id/tabcontent"
              android:layout_width="0dp"
              android:layout_height="0dp"
              android:layout_weight="0"/&gt;
  
          &lt;FrameLayout
              android:id="@+android:id/realtabcontent"
              android:layout_width="fill_parent"
              android:layout_height="0dp"
              android:layout_weight="1"/&gt;
      &lt;/LinearLayout&gt;
  
                  &lt;TabWidget
              android:id="@android:id/tabs"
              android:orientation="horizontal"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_weight="0"
              /&gt;
  
  &lt;/TabHost&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>For my TabActivity I'm using something I found online. Here's a snippet:</p>
  
  <pre><code>public class TabControlActivity extends FragmentActivity implements TabHost.OnTabChangeListener 
  {
  public static final int INSERT_ID = Menu.FIRST;
  public static TabControlActivity thisCtx;
  private TabHost mTabHost;
  private HashMap mapTabInfo = new HashMap();
  private TabInfo mLastTab = null;
  
  private class TabInfo {
       private String tag;
       private Class clss;
       private Bundle args;
       private Fragment fragment;
       TabInfo(String tag, Class clazz, Bundle args) {
           this.tag = tag;
           this.clss = clazz;
           this.args = args;
       }
  
  }
  
  class TabFactory implements TabContentFactory 
  {
  
      private final Context mContext;
  
      /**
       * @param context
       */
      public TabFactory(Context context) {
          mContext = context;
      }
  
      /** (non-Javadoc)
       * @see android.widget.TabHost.TabContentFactory#createTabContent(java.lang.String)
       */
      public View createTabContent(String tag) {
          View v = new View(mContext);
          v.setMinimumWidth(0);
          v.setMinimumHeight(0);
          return v;
      }
  
  }
  
  ...*snip*...
  </code></pre>
  
  <p>Is there any to implement something that resembles a preferencefragment(or preferenceActivity) using the android-support-v4 compatibility library ?</p>