tags:

views:

44

answers:

1
<ViewFlipper android:id=@+id/flipper >
    <ListView android:id=@+id/xyz />
    <ListView android:id=@+id/pqr />
    <ListView android:id=@+id/abc />
</ViewFlipper>

flipper=(ViewFlipper)findViewById(R.id.flipper);

   Can I access the id of child elements of flipper(xyz,pqr,abc) ? no. of child elements of flipper ?
A: 

Can I access the id of child elements of flipper(xyz,pqr,abc) ?

Yes, you can. For example as this:

flipper.getChildAt(index).getId()

no. of child elements of flipper ?

If you mean count of children then:

flipper.getChildCount()

Sergey Glotov
Thanks , I was looking in View documentation rather than View group.
sat