Code example for TextView

Methods: setTextSizesetTypeface

0
	 * @return True if the widget supports font setting, false otherwise. 
	 */ 
	@Override 
	public void setFontTypeface(Typeface aTypeface, float aSize)
	{ 
		m_label.setTypeface(aTypeface);
		m_label.setTextSize(aSize);
	} 
 
	/** 
	 * Set item type: default, header or footer. 
	 * This method is used only for Segmented list views. 
	 * @param itemType The item type. 
	 */ 
	public void setItemType(int itemType)
	{ 
		mItemType = itemType;
	} 
 
	/** 
	 * Get the item type: default, header or footer.