How to put icon in the SlideTab of android
<p>I have a requirement to create android's Incoming call like screen in my application.</p>

<p>I need to develop SlideTab for this:</p>

<p>Below is the layout XML I have used for this:</p>

<pre><code> &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
    &gt;

   &lt;com.android.internal.widget.SlidingTab
    android:id="@+id/incomingCallWidget"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:visibility="gone"
    android:layout_alignParentBottom="true"
    android:layout_marginBottom="80dip"
    android:keepScreenOn="true" android:soundEffectsEnabled="true"/&gt;

     &lt;/RelativeLayout&gt;
</code></pre>

<p>Below is the onCreate() of my activity I have used to display this SlideTab:</p>

<pre><code>         public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.phscreen);
     mIncomingCallWidget = (SlidingTab) findViewById(R.id.incomingCallWidget);
       mIncomingCallWidget.setLeftHintText(R.string.slide_to_answer_hint);
       mIncomingCallWidget.setRightHintText(R.string.slide_to_decline_hint);
       mIncomingCallWidget.setOnTriggerListener(this);
</code></pre>

<p>The above code working fine but I need to add answer and decline icons to left and right side of Tab.</p>

<p>Please help me in which way I can add these icons.</p>

<p>Please help me is there's any API's do this.</p>

<p>I have already tried "mIncomingCallWidget.setRightTabResources()"  and mIncomingCallWidget.setLeftTabResources()" but its not useful for me , I just want add only icons.</p>
