Hi, I'm completely new to the android development or mobile programming for that matter. I do not have any gui building experience.
I did try 'HelloAndroid' example and understand the directory layout very well. But I'm not able to get the following to work... I'm trying to build one application as follows, Is there a way to show multiple coulmns like following, Default must be a list with following layout ... button | textview | datepicker | button ... ... First button is a remove button, which removes that particular row. >From the 'menu' I want to add 'Add' action which brings a pop-up with a following layout, edittext | datepicker Okbutton When you click Okbutton, this gets added to the list as another row as shown above. Following is my main.xml as a first attempt to build just a view .... ------------------------ $ cat main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@+id/background" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> <Button android:id="@+id/button_remove_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/remove" /> <EditText android:id="@+id/edittext_add_item" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_weight="1"/> <Button android:id="@+id/pickDate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text=""/> <Button android:id="@+id/button_add_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/add" /> </LinearLayout> </LinearLayout> $ cat HelloAndroid.java public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } And there are 2 other methods to show date picker and update display after choosing the date . $ cat string.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">Hello Android! I am a string resource!</ string> <string name="app_name">Hello, Android</string> <string name="add">Add</string> <string name="remove">Remove</string> </resources> -------------- I've a pickDate function which allows me to change a date but other actions are not implemented and main thing is this still not a list view. Where do I start? What changes I need to achieve what I want to do? Any help is really appreciated. Regards, Uttam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---