我想知道如何在java中设置字体大小列表视图..有人想帮忙吗?
这是我的 listview 代码:
Categories weather_data[] = new Categories[]
{
new Categories(R.drawable.dokter, "Cardiology"),
new Categories(R.drawable.dokter, "Dentistry"),
new Categories(R.drawable.dokter, "Dermatology and Venereology"),
new Categories(R.drawable.dokter, "Disgetive Surgery"),
new Categories(R.drawable.dokter, "ENT")
};
CategoriesAdapter adapter = new CategoriesAdapter(this,R.layout.listcategoriesitem, weather_data);
lvcategories = (ListView)findViewById(R.id.lvcategories);
lvcategories.setBackgroundResource(R.drawable.bawah2);
lvcategories.setAdapter(adapter);
谢谢你:)