1
Gentlemen I would like to leave richer a textView leaving it within a Circle, is a Product List with the name of the product and the value and this that would be within the circle, I tried to make a Shape and use it as background more did not get cool, as you can see my rounded_shape.xml bass
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" android:padding="2dp">
<solid android:color="@color/amarelo2"/>
<stroke android:color="@color/branco" android:width="2dp"/>
<corners android:radius="2dp"/>
and making use of it
<TextView
android:textColor="@color/colorPrimarytext"
android:id="@+id/tv_valor"
android:background="@drawable/rounded_shape"
But the effect was horrible
Thanks to all who helped me, Luc’s response was the one that best suited to what I wanted because the textView inside a Layout and this already with the Background in the form of a circle was exactly what I wanted, seeking to put a background in the textView I was not finding the desired result, it may even be that with an adjustment got what needed. Thank you all.
– Robson