[android] Tabbar bottom without border


/ Published in: XML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@android:id/tabhost"
  4. android:layout_width="fill_parent"
  5. android:layout_height="fill_parent">
  6.  
  7. <LinearLayout
  8. android:orientation="vertical"
  9. android:layout_width="fill_parent"
  10. android:layout_height="fill_parent"
  11. android:padding="5dp">
  12.  
  13. <FrameLayout
  14. android:id="@android:id/tabcontent"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:padding="5dp"
  18. android:layout_weight="1" />
  19.  
  20. <TabWidget
  21. android:id="@android:id/tabs"
  22. android:layout_width="fill_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_weight="0"
  25. android:foreground="@null"
  26. android:layout_marginBottom="-6dp" />
  27.  
  28. </LinearLayout>
  29. </TabHost>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.