Установить TypeFace для ListView

У меня есть 2 XML-файла для просмотра списка. Один для просмотра, а другой для использования первым. note_list.XML - это:




    

    


и list_otem.XML это:




    

    

    


в приведенном ниже коде я установил адаптер для списка:

ArrayList noteList;
ListView lv;
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.note_list);
    noteList = new ArrayList();
    lv = getListView();

    lv.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView parent, View view,
                int position, long id) {

            String note_id = ((TextView) view
                    .findViewById(R.id.list_lbl_id)).getText().toString();
            Intent i = new Intent(getApplicationContext(), NoteDetail.class);
            i.putExtra("note_id", note_id);
            startActivityForResult(i, 100);
        }
    });
}

public class LoadAllNotes extends AsyncTask {
        @Override
        protected void onPreExecute() {
            super.onPreExecute();
            pDialog = new ProgressDialog(AllNotes.this);
            pDialog.setMessage("???? ??? ????...");
            pDialog.setIndeterminate(false);
            pDialog.setCancelable(true);
            pDialog.show();

            noteList.clear();
        }

        protected String doInBackground(String... args) {

            UserFunctions userFunctions = new UserFunctions();

            jSon = userFunctions.getAllNotes(userId);

            Log.i("AllNotes >> jSon >>", jSon.toString());

            return null;
        }

        protected void onPostExecute(String file_url) {
            pDialog.dismiss();
            try {
                if (jSon.has(KEY_SUCCESS)) {
                    String success = jSon.getString(KEY_SUCCESS);
                    if (success.equals("1")) {

                        notes = jSon.getJSONObject("notes");
                        for (int i = 0; i < notes.length(); i++) {
                            JSONObject c = notes.getJSONObject(Integer
                                    .toString(i));

                            Log.i("JSONObject c >>", c.toString());

                            String id = c.getString(KEY_NOTE_ID);
                            String subject = c.getString(KEY_NOTE_SUBJECT);
                            String date = c.getString(KEY_NOTE_DATE);

                            HashMap map = new HashMap();
                            map.put(KEY_NOTE_ID, id);
                            map.put(KEY_NOTE_SUBJECT, subject);
                            map.put(KEY_NOTE_DATE, date);

                            noteList.add(map);
                        }

                    }
                }
            } catch (JSONException e) {
                e.printStackTrace();
            }

            runOnUiThread(new Runnable() {

                public void run() {
                    ListAdapter adapter = new SimpleAdapter(AllNotes.this,
                            noteList, R.layout.list_item, new String[] {
                                    KEY_NOTE_ID, KEY_NOTE_SUBJECT,
                                    KEY_NOTE_DATE }, new int[] {
                                    R.id.list_lbl_id, R.id.list_lbl_subject,
                                    R.id.list_lbl_date });
                    setListAdapter(adapter);
                }
            });
        }
    }

Как я могу установить тип лица для TextViews в item_list.XML? Я установил note_list для просмотра содержимого в коде Java. так можноДоступ к представлениям list_item.xml. Спасибо за помощь.

Ответы на вопрос(2)

Ваш ответ на вопрос