android-developers
[Arriba] [Todas las Listas]

Re: [android-developers] Ayuda con FindViewById

To: android-developers@xxxxxxxxxxxxxxxx
Subject: Re: [android-developers] Ayuda con FindViewById
From: Mark Phillips <mark@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2011 08:55:12 -0700
Delivery-date: Mon, 31 Oct 2011 11:55:33 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:in-reply-to:references:date :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=2TjqXfMq4IKx/u7D9CCHZQ8AhgA01z5BWVDCs1NvxyU=; b=PRlGMNGP/dpjQNIR/Eg+pJL2LjOHzrR9SmACHSNd0dBVrD5gkKO7Lwbatjk5rIgL8a a1UhGNoH+yEkk3l9q1ZKRTDggvPlirjTK2w0Hrp2cHsZa1eEIP4HRQGcQXWvB71r11gc IfDr2S04NGags+QLM58YxJFSptFFE/NyWgQAU=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CALLdnhOAs9US_NPPM4LH2-v9U-c17AuomTbrYd8m5jj-f_BtEA@mail.gmail.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <CAEqej2N1uasnSMv061YHh+vCu6C8uM7ANxiXq-chq6pTv6V_iA@mail.gmail.com> <CALLdnhOAs9US_NPPM4LH2-v9U-c17AuomTbrYd8m5jj-f_BtEA@mail.gmail.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
Cómo  lo consigo de mi actividad?

Mark

En *Mon, *Oct 31, 2011 en 8:38 AM, Mark *Murphy <mmurphy@xxxxxxxxxxxxxxx>escribió:

> En *Mon, *Oct 31, 2011 en 11:34 AM, Mark *Phillips
> <mark@xxxxxxxxxxxxxxxxxxxxx> escribió:
> > tengo el siguiendo *layout:
> >
> > *LinearLayout
> >     *TableLayout_1
> >     *ScrollView
> >        *MyHorizontalScrollView
> >          *TableLayout_2
> >
> > *MyHorizontalScrollView extiende *HorizontalScrollView. Puedo conseguir un *pointer
> a *TableLayout_2
> > utilizando *findViewById(). Cómo  consigo un *pointer a *TableLayout_1
> 
> > de *MyHorizontalScrollView?
>
> Tú  no, desde *TableLayout_1 no es un niño de *MyHorizontalScrollView.
> Lo consigues de vuestra actividad.
>
> --
> Mark *Murphy (un *Commons Guy)
> *http://*commonsware.*com | *http://*github.*com/*commonsguy
> *http://*commonsware.*com/*blog | *http://*twitter.*com/*commonsguy
>
> _*Android Programación *Tutorials_ Versión 4.0 Disponible!
>
> --
> Recibiste este mensaje porque eres *subscribed al *Google
> Grupos "*Android *Developers" grupo.
> A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
> A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx
> 
> Puesto que más opciones, visita este grupo en
> *http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
>

-- 
Recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en
How do I get it from my activity?

Mark

On Mon, Oct 31, 2011 at 8:38 AM, Mark Murphy <mmurphy@xxxxxxxxxxxxxxx>wrote:

> On Mon, Oct 31, 2011 at 11:34 AM, Mark Phillips
> <mark@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > I have the following layout:
> >
> > LinearLayout
> >     TableLayout_1
> >     ScrollView
> >        MyHorizontalScrollView
> >          TableLayout_2
> >
> > MyHorizontalScrollView extends HorizontalScrollView. I can get a pointer
> to
> > TableLayout_2 using findViewById(). How do I get a pointer to
> TableLayout_1
> > from MyHorizontalScrollView?
>
> You don't, since TableLayout_1 is not a child of
> MyHorizontalScrollView. You get it from your activity.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 4.0 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@xxxxxxxxxxxxxxxx
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
android-developers+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
<Anterior por Tema] Tema Actual [Siguiente por Tema>