How to Decrease the Font of a Text on LCDUI List and Form
I have a LCDUI List Screen Contains Title and Image from Rss File
myList.append(Rss.getTitle(),Rss.getImage());
I have one Detail Form :on which i am able to display publish date and one hyperlink form Rss File
m_itemForm.append(new StringItem("Pub Date:",videoItem.getPubDate()));
final String URL = videoItem.getLink();
stringItem = new StringItem("Link: ", "Set", Item.HYPERLINK);
stringItem.setText(URL);
m_itemForm.append(stringItem);
Now i want to decrease the font of a text on both the Screens(List and Form)?
Re: How to Decrease the Font of a Text on LCDUI List and Form
Hi
It appears , you cannot change font size in List. This code is correct but it does not effect :
[CODE]
Font font = DirectUtils.getFont(Font.FACE_SYSTEM, Font.STYLE_ITALIC, Font.SIZE_SMALL);
for(int i = 0; i < list.size(); i++){
list.setFont(i, font);
}
[/CODE]
perhaps you should [B]check javax.microedition.lcdui.CustomItem[/B]