You can create a Custom/Compound view that contains the views.  You can even 
define the view in XML and use a ViewInflate object to create the View from 
the XML.

Take a look at:
http://code.google.com/android/toolbox/custom-components.html

-- 

Zach Hobbs
HelloAndroid.com
Android OS news, tutorials, downloads 


On Saturday 29 March 2008 19:44:42 a3 wrote:
> I'm trying to take an imageview and a textview and wrap it with
> another view, so that I can call something on this super-view [such as
> a 3d transformation that changes the text and image into a single
> picture] and have the effect applied to all the stuff in it. Is that
> possible? Is there some standard generic view that I can use to
> encapsulate a variety of view types?
>
>
>
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>     android:layout_width="fill_parent"
>     android:layout_height="fill_parent">
>
>     <TextView android:id="@+id/entry"
>        android:layout_width="fill_parent"
>        android:layout_height="wrap_content"      />
>
>    <ImageView android:id="@+id/image"
>       android:layout_width="fill_parent"
>       android:layout_height="fill_parent"/>
>
>
> </RelativeLayout>
>
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to