Bazı metinlerle bir sohbet balonu oluşturmaya çalışıyorum.Üç Dünyadan Üç Layoutout oluşturuyorum, Ana Doğrusal Düzen'in İçinde FramLayout kullanıyorum, 9'luk bir arka plan ayarlıyorum Bu Çerçeveye Git Framlayout İçerisinde ben bir daha fazla RelativeLayout ekliyorum ki burada üç textViews ve bir Framedout sınırının dışına gidiyor bir imageView.but tipi uzun metin yerleştiriyorum.Ne yanlış yapıyorum ya da ne eksik olduğumu bilmiyorum.Ben küçük metin kullanıyorum uygun kalıyor ama büyük metinle bile FramLayout.In ekinin Arka Plan Sınırından çıkıyor. Benim balon ve yahoo IM balonumu gösteriyorum.Aynı yahoo gibi aynısını yaratmaya çalışıyorum ama farklı bir tarzla. Lütfen bana ver senin öneri. Ben farklı yollarla çok deneyin ama başarı elde değil.Teşekkürler peşin. . İşte benim LayoutfileAndroid'de Sohbet Kabuğu Oluşturma
<?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>
Düzen dosyasını görmemiz gerek. Bu tür bir şey için Linear/RelativeLayouts'a kısılıyorum. FrameLayouts kıllı IMO alabilir. – Phix
Dolgu ile uğraşmayı denediniz mi? – jmcdale
Evet, ayrıca dolgu ile kullanmayı deneyin ve ayrıca kenar boşluğu kullanın. – aftab