title: Android color circular TextView
body: <p>I get the color from the database, and it imposed in the TextView. Now I want to display the TextView in the shape of a circle, but I do not get the circle.</p>
  
  <p>XML file in drawable cerchio_cat.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
  
  &lt;corners
      android:bottomLeftRadius="30dp"
      android:bottomRightRadius="30dp"
      android:topLeftRadius="30dp"
      android:topRightRadius="30dp" /&gt;
  
  &lt;size
      android:height="60dp"
      android:width="60dp" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>TextView</p>
  
  <pre><code>&lt;TextView
          android:id="@+id/color_view"           
          android:layout_width="45dp"
          android:layout_height="45dp"
          android:layout_alignParentLeft="true"
          android:layout_alignParentTop="true"
          android:gravity="center_horizontal|center_vertical"
           android:background="@drawable/cerchio_cat"
          android:textSize="28sp" /&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>tvCerchio = (TextView) row.findViewById(R.id.color_view);
  tvCerchio.setBackgroundColor(d.colore);
  </code></pre>