You still need to specify the tv variable type (of course, think about
it!!!).

TextView tv = (TextView) findViewById(R.id.TextView01);

Best regards,
Filip Havlicek

2010/9/1 rb <[email protected]>

> As a newbie, I am just trying to program the various functions to
> ensure that I am doing things right (gui wise).
> An example would be to set a default template with textview, editview,
> buttons, etc and just changing
> the parameters of those objects either by direct (as by this code) or
> by calling a class (method).  I have done this with standard
> java but not in a gui environment.  That is why I have created this
> simple Hello World example, and attempting
> to add other objects to see if I can make it work once it is
> compiled.  Hope this answers your question.
>
> > On Aug 31, 4:59 am, parag <[email protected]> wrote:
> >
> >
> >
> > > Any suggestions on why I am getting the "false" reading --> in the
> > > xml , set the button propert android:clickable"   as true,
> >
> > >  anyone
> > > can suggest on how to place the results in aTextViewvia a button
> > > click, that would be appreciated.
> >
> > > as i can c u have the listener to the button,
> > > on click
> > > can u be specific what exact result u need?
> > > wether u need to change the text... etc.
> > > u can use
> > > tv.XXXXXXX specifically to change the required properties
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to