How to create curved or rounded tabs in Android <p>actually i want to show the curve at the bottom right side of my tabs..so how can it be done..the code i have used..</p> <p>Code for Xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android" 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;TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content"/&gt; &lt;FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent"/&gt; &lt;/LinearLayout&gt; &lt;/TabHost&gt; </code></pre> <p>code for second xml</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;!-- When selected, use grey --&gt; &lt;item android:drawable="@drawable/ic_tab_artists_white" android:state_selected="true" android:state_pressed="false" /&gt; &lt;!-- When not selected, use white--&gt; &lt;item android:drawable="@drawable/ic_tab_artists_grey" /&gt; &lt;/selector&gt; </code></pre> <p>code for .java file</p> <pre><code> Resources res = getResources(); final TabHost MainTabHost = getTabHost(); TabHost.TabSpec spec; Intent intent; MainTabHost.getTabWidget().setStripEnabled(false); //call calendar Activity class intent = new Intent().setClass(this, CalendarForm.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); spec = MainTabHost.newTabSpec(res.getString(R.string.text_tabHost1)).setIndicator("Calendar", res.getDrawable(R.drawable.calendar_ic)).setContent(intent); MainTabHost.addTab(spec); //call History Activity class intent = new Intent().setClass(this, HistoryForm.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); spec = MainTabHost.newTabSpec(res.getString(R.string.text_tabHost2)).setIndicator("History", res.getDrawable(R.drawable.calendar_ic)).setContent(intent); MainTabHost.addTab(spec); //call Statistic Activity class intent = new Intent().setClass(this, StatisticForm.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); spec = MainTabHost.newTabSpec(res.getString(R.string.text_tabHost3)).setIndicator("Statistic", res.getDrawable(R.drawable.calendar_ic)).setContent(intent); MainTabHost.addTab(spec); //setbackground Style of tabHost MainTabHost.setCurrentTab(0); MainTabHost.getTabWidget().setWeightSum(3); final TabWidget tabHost=getTabWidget(); MainTabHost.setBackgroundResource(R.drawable.back_image); for (int j = 0; j &lt; MainTabHost.getTabWidget().getChildCount(); j++) { ((TextView)tabHost.getChildAt(j).findViewById(android.R.id.title)).setTextColor(Color.parseColor("#FFFFFF")); ((TextView)tabHost.getChildAt(j).findViewById(android.R.id.title)).setTextSize(16); } </code></pre> <p><img src="https://i.stack.imgur.com/nIfNU.png" alt="enter image description here"></p> <p>this is what i got..here tabs are square now i want my tabs curve at the bottom right side</p>