title: how to add parent align for tab TabWidget?
body: <p>i am writing java code to create a tabs.i have done that.but now i want the tab widget to be in the lower part of the screen.i hope this will be achived by adding this code. <code>android:layout_alignParentBottom="true"</code> let me know how to add this coding.i want similar look like this <a href="http://android-pro.blogspot.com/2010/08/iphone-like-tab-bar-in-android.html" rel="nofollow">http://android-pro.blogspot.com/2010/08/iphone-like-tab-bar-in-android.html</a></p>
  
  <p>TabHost tabHost = new TabHost(this);</p>
  
  <pre><code>    tabHost.setLayoutParams(
              new LinearLayout.LayoutParams(
                      LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
      RelativeLayout rl=new RelativeLayout(ContactManager.this);
  
      RelativeLayout.LayoutParams rlp = new RelativeLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
  
     rlp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, android.R.id.tabs);
      rl.setLayoutParams(rlp);
      tabHost.addView(rl);
  
      TabWidget tabWidget = new TabWidget(this);
      tabWidget.setId(android.R.id.tabs);
      rl.addView(tabWidget, new LinearLayout.LayoutParams(
                LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
  
      FrameLayout frameLayout = new FrameLayout(this);
      frameLayout.setId(android.R.id.tabcontent);
      frameLayout.setPadding(0, 55, 0, 0);
  
  
      rl.addView(frameLayout, new LinearLayout.LayoutParams(
                LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); 
      tabHost.setup();
  </code></pre>