Я пытаюсь создать пузырь чата с некоторым текстом. Для этого я создаю три макета, внутри основного линейного макета. Я использую FramLayout, я устанавливаю фон из 9 патчей для этого Framlayout. Внутри Framlayout ядобавив еще один RelativeLayout, где я размещаю три своих textViews и один длинный текст типа imageView.but, он выходит за пределы границы FramLayout. Я не знаю, что я делаю неправильно или чего мне не хватает. Когда я использую небольшой текст, он остаетсяподходит, но с большим текстом это выходит из даже Background Border of FramLayout. Во вложении я показываю свой пузырь и пузырь IM Yahoo. Я пытаюсь создать то же самое, что Yahoo, но с другим стилем. Пожалуйста, дайте мне ваше предложение.Много разных способов, но не добиться успеха. Заранее спасибо., Здесь я размещаю свой файл макета
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:id="@+id/linearListLayout1">
<FrameLayout
android:id="@+id/frameLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bubbleblue" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:minHeight="100dp">
<TextView
android:id="@+id/chattitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
android:layout_marginTop="10dp"
android:layout_marginLeft="10dp"/>
<TextView android:id="@+id/chatdate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
android:layout_alignParentRight="true"
android:layout_marginTop="10dp"/>
<TextView android:id="@+id/chatText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/chatstatus"
android:layout_below="@+id/chattitle"
android:layout_toLeftOf="@+id/chatstatus"
android:text="TextView" />
<ImageView
android:id="@+id/chatstatus"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/add_picture"
android:layout_alignParentRight="true"
android:layout_below="@+id/chatdate"
android:minHeight="2dip"
android:maxWidth="2sp"
android:maxHeight="2sp"
android:layout_marginRight="2dp"/>
</RelativeLayout>
</FrameLayout>