How to make round corners for image with percent icon? : How to make round corners for image with percent icon? I try to use negative margin for imageView but is not works. Thx.

     <LinearLayout
                    android:gravity="center_vertical"
                    android:layout_marginTop="15dp"
                    android:layout_gravity="top|center"
                    android:background="@drawable/rounded_background_white"
                    android:orientation="horizontal"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content">

                <ImageView
                        android:src="@drawable/ic_discount_percent"
                        android:layout_marginLeft="-3dp"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"/>

                <TextView
                        android:textColor="@android:color/black"
                        android:layout_marginLeft="8dp"
                        android:text="Скидка 10%"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"/>

            </LinearLayout>

[![I need this][1]][1]
[![Problem this][2]][2]

  [1]: https://i.stack.imgur.com/lG63U.png
  [2]: https://i.stack.imgur.com/0wVM6.png