how to put a button at the end of list.

Put your problem here if it does not fit any of the other categories.

how to put a button at the end of list.

Postby Niketa » Fri Sep 26, 2008 7:37 am

hi,

I Have tried the checkBoxified Example.

Now i want to put a button at the End of the List. I mean to say an OK button to navigate.

So if i select items then on click event of the button i can get all the data of it.



Thanks.
Niketa
Developer
Developer
 
Posts: 36
Joined: Wed Sep 17, 2008 12:37 pm

Top

Postby chouman » Sat Sep 27, 2008 4:23 am

Hey Niketa,

Just do something like this:

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. <?xml version="1.0" encoding="utf-8"?>
  3.  
  4. <LinearLayout
  5.  
  6. android:id="@+id/widget28"
  7.  
  8. android:layout_width="fill_parent"
  9.  
  10. android:layout_height="fill_parent"
  11.  
  12. android:orientation="vertical"
  13.  
  14. xmlns:android="http://schemas.android.com/apk/res/android"
  15.  
  16. >
  17.  
  18. <ListView
  19.  
  20. android:id="@+id/listView"
  21.  
  22. android:layout_width="wrap_content"
  23.  
  24. android:layout_height="wrap_content"
  25.  
  26. >
  27.  
  28. </ListView>
  29.  
  30. <Button
  31.  
  32. android:id="@+id/ok_button"
  33.  
  34. android:layout_width="wrap_content"
  35.  
  36. android:layout_height="wrap_content"
  37.  
  38. android:text="Button"
  39.  
  40. >
  41.  
  42. </Button>
  43.  
  44. </LinearLayout>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4
chouman
Developer
Developer
 
Posts: 27
Joined: Thu Jan 03, 2008 2:59 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests