2012-06-13 54 views
0

我創建了一個3行的列表視圖。如果我想在行上設置不同的字體/顏色,我該如何實現?到目前爲止,我已經嘗試過不同的東西而沒有任何成功這是我最近的嘗試,但老實說,我不知道我在做什麼:D。請幫忙。在列表視圖中設置不同的字體/顏色?

public String toString() 

{ 
    return this.getAlias() + " " + this.dateFormat.format(this.getDate()) + "\n" + (Html.fromHtml("<i>" + this.getComment() + "</i>" + "<br />")); 
} 

回答

相關問題