[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Daehoon Jeon
Thank you for help... I tried, but it doesn't work.I wrote xml file like this... it has no error on it... TextView android:id=@+id/text1 xmlns:android= http://schemas.android.com/apk/res/android; android:layout_width=wrap_content android:layout_height=wrap_content TextView

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Raphael
On Sun, May 10, 2009 at 11:58 PM, Daehoon Jeon jeondaeh...@gmail.com wrote: Thank you for help... I tried, but it doesn't work. I wrote xml file like this... it has no error on it... TextView android:id=@+id/text1 xmlns:android=http://schemas.android.com/apk/res/android;     

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Daehoon Jeon
Thank you very very much~~ can I ask some another question? I saw list was vertical. like this... title1 name1 -- title2 name2 I wanna change to like this.

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-11 Thread Daehoon Jeon
Oh,,, i solved vertical problem,, change vertical to horizontal in xml file, it was working.But I still in trouble with add String to the list. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How to show two or more fields to list(Notepad Tutorial)?

2009-05-10 Thread Wouter
Hey, You have to make a new TextView in your xml file from your layout. Than you can do something like this: String[] from = new String[]{NotesDbAdapter.KEY_TITLE, NotedDbAdapter.KEY_NAME}; int[] to = new int[]{R.id.text1, R.id.text2}; text 2 is the name from your new created