Adding comment

To enable marquee'ing, you have to call setSelected on the relevant control.
Comment added to explain this. Also see defect 15327172 filed against
SDK documentation to properly explain this.

Change-Id: If8f70baa1b682070b312fa689b2edd77b50d2d6e
This commit is contained in:
Paul Lawrence
2014-06-02 08:07:29 -07:00
parent 381424c952
commit f5ca71751e

View File

@@ -408,7 +408,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
final TextView status = (TextView) findViewById(R.id.owner_info); final TextView status = (TextView) findViewById(R.id.owner_info);
status.setText(owner_info); status.setText(owner_info);
status.setSelected(true); status.setSelected(true); // Required for marquee'ing to work
passwordEntryInit(); passwordEntryInit();
} }
}.execute(); }.execute();