2 messages in com.googlegroups.android-beginnerscombining views
FromSent OnAttachments
a329 Mar 2008 16:44 
Zach Hobbs29 Mar 2008 19:23 
Subject:combining views
From:a3 (a3p@gmail.com)
Date:03/29/2008 04:44:19 PM
List:com.googlegroups.android-beginners

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>