Trouble with TextView Class

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Trouble with TextView Class

Postby simpson_121919 » Tue Jul 09, 2013 6:01 pm

I can not seem to dynamical put variables on my app. text screen. Within my activity_main.xml file I have created an id like this -

Code: Select all
         android:text="@string/planet_name_label" />

I am trying to display "dataView1" within my file like this -

Code: Select all
TextView planetNameValue (TextView)findViewById(; 

Everything complies but my dataView1 does not show up on app screen.
Thanks in advance.
Once Poster
Once Poster
Posts: 1
Joined: Tue Jul 09, 2013 5:57 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 6 guests