Tôi đang sử dụng 3 TextView nghiêng với màu sắc khác nhauAndroid TextView Nghiêng và 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>
Tôi tự hỏi mỗi ký tự cuối cùng không hiển thị đúng đặc biệt tên được hiển thị ở giữa là "Dan Buckland" cho nó và nó là mất tích cuối cùng nhân vật trông giống như "Dan Bucklano"
Cũng cho tôi biết pls thế nào có thể có TextView nghiêng và đậm cả ..
alt text http://www.freeimagehosting.net/uploads/953d573113.jpg
Có, tôi đã cố gắng không hoạt động. –
Không hoạt động, cũng như không bao gồmFontPadding – gregm