안녕하세요.

Note pad 예제를 통해 감을 잡고 있는 초보 개발자입니다.

ListView를 사용하여 메모의 리스트를 출력하는데, 방향키 or 마우스 클릭 (에뮬레이터)시 textview 안에 글자가

존재하는 부분만 하이라이트가 됩니다.

한 줄 전체를 하이라이트 하는 방법은 없을까요?



    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        _noteManager = new NoteManager(this);
        // Open a DB
        _noteManager.open();
        // Set a cursor for list update
  _noteCursor = _noteManager.getAllNotes();
  startManagingCursor(_noteCursor);
  
  String[] from = new String[] { NoteManager.KEY_TITLE };
  int[] to = new int[] {android.R.id.text1};
  
  ListAdapter notes =
   new SimpleCursorAdapter(this, android.R.layout.simple_list_item_1, _noteCursor, from, to);
  
  setListAdapter(notes);
    }