मैं अलग अलग रंगएंड्रॉयड TextView इटैलिक और wrap_contents
<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/submittedBy" android:paddingTop="10dip">
<ImageView android:id="@+id/subByImg"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:gravity="left" android:layout_gravity="bottom" android:src="@drawable/submitted_by_arrow"/>
<TextView android:id="@+id/submitLabel"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:gravity="left" android:text="Submitted by" android:textStyle="italic"
android:textSize="12sp" android:textColor="@color/gray" android:paddingLeft="5dip"/>
<TextView android:id="@+id/submitName" android:textStyle="italic"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:textSize="12sp" android:textColor="@color/maroon_dark" android:paddingLeft="10dip"/>
<TextView android:id="@+id/submitByDate" android:textStyle="italic"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:gravity="left"
android:textSize="12sp" android:textColor="@color/gray" android:paddingLeft="10dip"/>
</LinearLayout>
मुझे आश्चर्य है कि हर अंतिम वर्ण दिखाई नहीं दे रहा ठीक से विशेष रूप से बीच डिस्प्ले नाम के साथ 3 इटैलिक textviews उपयोग कर रहा हूँ "दान बकलैंड" है और यह यह पिछले याद आ रही है चरित्र .. "दान Bucklano"
इसके अलावा मुझे बताओ pls कैसे TextView इटैलिक और बोल्ड दोनों हो सकते हैं की तरह लग रहा
alt text http://www.freeimagehosting.net/uploads/953d573113.jpg
हाँ मैंने काम नहीं करने की कोशिश की। –
काम नहीं करता है, न ही इसमें शामिल है फोंटपैडिंग – gregm