title: Rounded corner for textview in android
body: <p>I have a textview and want its corner to be in round shape. I already know it can be done using <code>android:background="@drawable/somefile"</code>. In my case, this tag is already included so cannot use again. e.g <code>android:background="@drawable/mydialogbox"</code> is already there to create image in background </p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="wrap_content"
      android:layout_height="fill_parent"
      android:layout_gravity="top"
      android:background="@drawable/mydialogbox"
      android:orientation="horizontal" &gt;
  
      &lt;TextView
          android:id="@+id/textview_name"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true" /&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>so when I want <code>textview(textview_name)</code> also with round corner, how this can be achieved.</p>