I need help with making a scrollview visible

Put your problem here if it does not fit any of the other categories.

I need help with making a scrollview visible

Postby xklownx » Thu Apr 30, 2009 11:30 am

i am trying to get a scrollview to turn visible with a click of a button i am missing something in my code can someone please help me out, i am still a novice in the programing area. thanks for the help.
Attachments
SVFORUMS.JPG
SVFORUMS.JPG (52.49 KiB) Viewed 513 times
xklownx
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Mar 16, 2009 8:02 am

Top

Postby xklownx » Sat May 02, 2009 11:02 am

Bump
xklownx
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Mar 16, 2009 8:02 am

Postby nmc » Sat May 02, 2009 12:06 pm

1. The token stream "ScrollView.VISIBLE true);" doesnt evaluate to a term in any programming language I know ;-)

2. Even after removing the "true)" from the line, "View.VISIBLE" evaluates to type integer while the left hand term evaluates to type ScrollView


So:

1. Look into your code more seriously before posting it here

2. Moving the mouse over the red sign is helpful in most cases

3. To make a view become visible, try something like this:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.         ScrollView s = (ScrollView)findViewById(R.id.ScrollView03);
  3.  
  4.         s.setVisibility(View.VISIBLE);
  5.  
  6.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
nmc
Senior Developer
Senior Developer
 
Posts: 154
Joined: Thu Nov 27, 2008 8:30 pm
Location: Germany

Postby xklownx » Sat May 02, 2009 1:52 pm

Thank you for your input it worked for me. i am still learning java and the different meanings in some things, so when i could not figure out what i was doing wrong i try to solve everything myself first before i even put it on here. this is my last resort, but it has been very helpful so thank you for your help.

nmc wrote:1. The token stream "ScrollView.VISIBLE true);" doesnt evaluate to a term in any programming language I know ;-)

2. Even after removing the "true)" from the line, "View.VISIBLE" evaluates to type integer while the left hand term evaluates to type ScrollView


So:

1. Look into your code more seriously before posting it here

2. Moving the mouse over the red sign is helpful in most cases

3. To make a view become visible, try something like this:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.         ScrollView s = (ScrollView)findViewById(R.id.ScrollView03);
  2.         s.setVisibility(View.VISIBLE);
  3.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
xklownx
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Mar 16, 2009 8:02 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 19 guests