سلام
یه فایل xml ایجاد کردم و توی این فایل یه TextViewداریمو میخوام که فونتشو و سایزشو بتونم تغییر بدم
کد زیر رو نوشتم اما هیچ اتفاقی نمیافته
LayoutInflater infalInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View convertView = infalInflater.inflate(R.layout.list_item, null);
TextView t1=(TextView) convertView.findViewById(R.id.textView4);
SharedPreferences shp = getSharedPreferences("text", MODE_PRIVATE);
Typeface font = Typeface.createFromAsset(getAssets(), "font/" + shp.getString("coText", "BYekan_0") + ".ttf");
t1.setTypeface(font);
t1.setTextSize(10);
ممنون میشم راهنمایی کنید
متشکرم