how to add ImageButtons to the List elements

by murali » Wed, 09 Dec 2009 19:00:40 GMT


Sponsored Links
 Hi,I have one
 List  and i want to add some  Buttons to specific list items.
like
              list items
-------------------------------------------
-------------------------------------------
-------------------------------------------

              listItem1
--------------------------------------
              listitem2
-----------------------------------
              listitem2
--------------------------------




these 3 are list items
and i want add some image buttons to listitem2

like
------------------------------------------------------------
                        listitem2
                   imageBiutton1     imagebutton2    imagebutton3

-------------------------------------------------------------------


so is it possible first?
if so any body can help me pls


Tx and Regards

Murali dhuli

--



Other Threads

1. Using the new startForeground vs the old setForground for services

I have a couple of services in my application which need to be marked
as foreground to prevent them from being killed unnecessarily.

Currently I am building my application with the 2.0 SDK but I have
    android:minSdkVersion="3"
    android:targetSdkVersion="5"
in my manifest file so that I can support 1.5, 1.6 or 2.0 devices.  I
am currently using only the 1.5 APIs so that my application will run
correctly on the 1.5 devices.

2.0 introduced a nicer startForground method that combines setting the
foreground flag and starting a notification which can be used to
control the service.  The 2.0 documentation says that startForground
replaces setForeground, and that due to the fact that many
applications were mistakenly using setForeground without a
notification that could be used to control and close down the service,
that the older setForeground method had been changed so it no longer
does anything on 2.0.

I tried using the newer 2.0 interface but it caused an exception for
phones running 1.5 or 1.6.  So I am still using the older
setForeground interface and calling notify separately.  But it appears
that since I am building with the 2.0 SDK the older interface isn't
really preventing my services from being killed.

I would appreciate some guidance on the proper way to use these APIs
so that my appliction will work correctly on 1.5, 1.6 and 2.0 devices.

-- 

2. one linearlayout bottom aligned.

i have 6 linearlayouts(horizental) inside a main linearlayout
(vertical)

the first 5 linearlayots keep on changing their heights. That makes
6th [bottom most] layout getting adjusted by its vertical position. I
need the 6th layout always on buttom no matter how much first 5
layouts change

any ideas ? which tags do that ?

regards
Jagat

-- 

3. Long startup time for MapActivity derived classes?

4. start activity without mention in androidmanifestfile

5. SDK 2.0: wrong behaviour after convertion from SDK1.6 - please help!

6. How to get the highest API level supported by the device?

7. Home View