Viewgroup using Xml layout

by Yatish » Wed, 14 May 2008 08:16:43 GMT


Sponsored Links
 hi ,
     can any one tell me that how to  show view group using Xml
layout .if yes then please provide me a short example for this .
thanks it very urgent for me .

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. want some help regarding application merging statement written on developer.android.com

That summary is a bit generic, but you're probably looking for
Intents.  The example they are talking about is probably describing a
PICK intent with a mime-type of "image/*".  On most Android devices,
this would launch the Camera app, let the user pick a photo, and
return the picked photo to you.  (So you don't need to write a
photo-picker yourself.)

j






-- 
Jeff Sharkey
jshar...@google.com

--~--~---------~--~----~------------~-------~--~----~

2. Getting the ID of a ListView row item from a button click

Hello,

Each row of my view look like that :

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:id="@+id/row_layout" >

    <LinearLayout android:id="@+id/row_checkbox_container">

        <CheckBox android:id="@+id/row_checkbox" />

    </LinearLayout>

   <LinearLayout android:id="@+id/item_title_container">

        <TextView android:id="@+id/item_title"/>

    </LinearLayout>

    <LinearLayout android:id="@+id/right_arrow_container" >

         <ImageButton android:id="@+id/arrow" />

    </LinearLayout>

</LinearLayout>

When I click on the ImageButton "arrow", I trigger a method than need
the id of the row to perform. By ID I mean the value of the field
"_id" of the corresponding record in database.

I did not find a direct way to do it, but I think I can  if I get the
index of the row in the ListView. Again, I don't know how to get this
index from a click to a childview.

Any help much appreciated !
--~--~---------~--~----~------------~-------~--~----~

3. How to get id of array in spinner

4. How can I get active apn name?

5. Learn how to earn $$$ on net + today's jobs

6. Fwd: Learn how to earn $$ on net + today's jobs

7. want some help regarding application merging statement written on developer.android.com