title: Using setSelected on a textView inside a listItem inside a listView
body: <p>I'm trying to get scrolling text (marquee) happening inside a listview, but from my previous reading it seems I need to use setSelected(true) on my textview.</p>
  
  <p>Because the textview is inside listitem instead of listview, I can't seem to use getView on that textView, and thus can't use setSelected.</p>
  
  <p>I'll try and explain with some code:</p>
  
  <p>Here is my oncreate:</p>
  
  <pre><code>setContentView(R.layout.albumsview);
  
  
  
      Bundle extras = getIntent().getExtras();
      String where = extras.getString("where");
      String[] whereVal = extras.getStringArray("whereVal");
  
      String[] columns = { BaseColumns._ID, AudioColumns.ALBUM, };
  
      String orderBy = BaseColumns._ID;
  
      albumCursor = managedQuery(
              MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, columns, where,
              whereVal, orderBy);
  
      ListView listView = (ListView) findViewById(R.id.listViewAlbums);
      listView.setOnItemClickListener(this);
      String[] displayFields = new String[] { AudioColumns.ALBUM };
      int[] displayViews = new int[] { R.id.albumTitle };
      SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,
      R.layout.albumitem, albumCursor, displayFields, displayViews);
      listView.setAdapter(adapter);
  </code></pre>
  
  <p>The "albumTitle" is the view containing the textview (called subTitle) which I want to setSelected(true).</p>
  
  <p>Could someone please show me how to do this?</p>
  
  <p>Thanks for your help.</p>