2016-11-28 24 views

回答

0

你應該放在用U標籤並設置文本樣式爲粗體這樣的字符串文件中的文本......

<string name="terms_condition_signup"><u>Please accept the Terms of Conditions</u>.</string> 
<RelativeLayout 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"> 

    <TextView 
     android:id="@+id/loginid" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_centerInParent="true" 
     android:gravity="center_vertical" 
     android:text="@string/terms_condition_signup" 
     android:textColor="@color/textcolor" 
     android:textSize="25dp" 
     android:textStyle="bold"/> 
</RelativeLayout> 
相關問題