Hi,
       How do I change the text attributes like text color/size based
on the values obtained during runtime. Currently I am displaying a
code using the following code.

        Cursor c = mDbHelper.fetchNumber(numbr);
        startManagingCursor(c);

        String[] from = new String[] { NumberDbAdapter.KEY_TITLE };
        int[] to = new int[] { R.id.text1 };

        // Now create an array adapter and set it to display using our
row
        SimpleCursorAdapter notes =
            new SimpleCursorAdapter(this, R.layout.notes_row, c, from,
to);
        setListAdapter(notes);


I want to change the style of each item in the ListView based on its
value.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to