title: Android textview inside progressbar
body: <p>I would make a textview inside progressbar in Android. I wrote this code : </p>
  
  <pre><code>&lt;ProgressBar
              android:id="@+id/hamlebar"
              android:layout_width="140dp"
              android:layout_height="wrap_content"
              android:minHeight="10dp"
              android:maxHeight="65dp"
              android:scaleY="15"
              android:layout_centerHorizontal="true"
              style="@style/Widget.AppCompat.ProgressBar.Horizontal"
              android:layout_below="@+id/oyunhamletv"
              android:layout_marginTop="25dp"
      /&gt;
  
      &lt;TextView
              android:id="@+id/bartext"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Hamle"
              android:textStyle="bold"
              android:layout_alignStart="@+id/hamlebar"
              android:layout_alignEnd="@+id/hamlebar"
              android:layout_alignTop="@+id/hamlebar"
              android:layout_alignBottom="@+id/hamlebar"
  
      /&gt;
  </code></pre>
  
  <p>But the text looks : <a href="https://i.hizliresim.com/6D4lY9.jpg" rel="nofollow noreferrer">https://i.hizliresim.com/6D4lY9.jpg</a></p>
  
  <p>How I can make a good textview inside progressbar?</p>
  
  <p>I need your help.</p>