I\'m using a custom font throughout my application (which, incidentally, I\'ve frustratingly found out that you have to apply programmatically by hand to EVERY control!), an
Try like this for arrayadapters::
Typeface typeNormal = Typeface.createFromAsset(getAssets(), "roboto_lite.ttf");
timearray = new ArrayAdapter(DetailsActivity.this,R.layout.floorrow,R.id.txt, flor) {
public View getView(int pos, View convertView, android.view.ViewGroup parent) {
View v = convertView;
if (v == null) {
LayoutInflater vi = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
v = vi.inflate(R.layout.floorrow, null);
}
TextView tv = (TextView)v.findViewById(R.id.txt);
tv.setText(flor.get(pos));
tv.setTypeface(typeNormal);
return v;
};
};
lv_building.setAdapter(timearray);