] Re: Handling a layout ...
Emre A. Yavuz wrote:
You can, but then the child is already added to the parent; you do not
need to add it yourself.
I agree with you, but if you're not going to store this info in the
layout, the only option left seem to be refering it using its
Emre A. Yavuz wrote:
Sorry about the late response.
Here's what I meant by the potential casting problem;
In order to add the ImageView variable, which was created to handle the
Drawable resource, you need to cast the parent layout, which is of type
ImageView, to ViewGroup type if
2009 07:20:21 -0400
From: mmur...@commonsware.com
To: android-developers@googlegroups.com
Subject: [android-developers] Re: Handling a layout ...
Emre A. Yavuz wrote:
Sorry about the late response.
Here's what I meant by the potential casting problem;
In order to add
a
message from the emulator saying that the application has stopped working.
Emre
Date: Fri, 24 Jul 2009 19:41:21 -0400
From: mmur...@commonsware.com
To: eayl...@hotmail.com
Subject: Re: [android-developers] Re: Handling a layout ...
You appear to have written to me directly by accident
Emre A. Yavuz wrote:
You can, but then the child is already added to the parent; you do not
need to add it yourself.
I agree with you, but if you're not going to store this info in the
layout, the only option left seem to be refering it using its
R.drawable.childview.
Emre A. Yavuz wrote:
Hi all,
Does somebody know how to handle a specific layout (say LinearLayout),
which was given in a XML layout file, previously set in the Activity
class using a SetContentView () method ?
I am trying to add an image (probably as a child) to a previously set
6 matches
Mail list logo