View Single Post
  #1 (permalink)  
Old June 29th, 2010, 03:45 AM
IAmCorbin IAmCorbin is offline
Registered User
 
Join Date: Oct 2009
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 4 : Todo List Item, can't see text

I have followed the book as far as I can tell and have gone back and rechecked things (I'm up to page 96).

The application works in that I can type in a list item and add it to the list. A new list item appears each time I add one, but I can't see the text for any of them. I thought it was a typo for the text color, but I have even copied the text color line from todolist_item.xml:

Code:
android:textColor="@color/notepad_text"
Into main.xml to change the edit text color:
Code:
<EditText
	  android:id="@+id/myEditText"
	  android:layout_width="fill_parent"
	  android:layout_height="wrap_content"
	  android:textColor="@color/notepad_text"
	  android:text="New To Do Item"
	/>
This text properly changes color for the edit box, but I can't get anything to appear in the list. The paper color and margin lines are drawing fine just can't see any text.

Last edited by IAmCorbin; June 29th, 2010 at 12:52 PM..
Reply With Quote