Как сделать чтобы background в TextView не искажался а был по центру
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/view0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/b1"
android:gravity="center"
android:text="Hello World"
android:textSize="30sp"
android:textStyle="bold" />
</LinearLayout>
Источник: Stack Overflow на русском