Wie man die Blasen zu Textview android hinzufügt?

In meiner Anwendung möchte ich Blasen für eine Textansicht festlegen. In der Textansicht füge ich die hinzusetBackgroundResource() wie Sie im Code sehen können.

Mit diesem Code erhalte ich ein Bild wie dieses:

Ich möchte ein Bild in Blasenform wie dieses:

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
    <solid android:color="#EDF5E4" />
    <corners android:bottomLeftRadius="@dimen/corner_radius"
    android:bottomRightRadius="@dimen/corner_radius"
    android:topLeftRadius="@dimen/corner_radius"
    id:topRightRadius="@dimen/corner_radius" />

Bitte sag mir, wie ich das in meinem machen sollsetBackgroundResource() XML.

Antworten auf die Frage(2)

Ihre Antwort auf die Frage