Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Community > The Lounge > Forum Games

Forum Games For all those silly forum games we like to play



Reply
 
LinkBack Thread Tools
Old February 9th, 2010, 07:18 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Posts: 0
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disable scroll view action

In my application i've a line for increasing the width of a widget(by dragging the line to right/left) and i've the scroll view enabled in the same activity.
I need to disable the scroll view action when the user touches the line and when user releases, it should be enabled.
The scroll view should be in visible state but the action of the scroll view should be disabled.
Please help me in solving this problem.
I've tried with these but none of them is working.
scroll.setEnabled(false);
scroll.setFocusable(false);
scroll.setHorizontalScrollBarEnabled(false);
scroll.setVerticalScrollBarEnabled(false);

Thanks in advance.

Kishore is offline  
Reply With Quote
Sponsors
Old February 9th, 2010, 09:27 AM   #2 (permalink)
Member
 
MikeMcG's Avatar
 
Join Date: Jan 2010
Location: NJ
Posts: 114
 
Device(s): HTC Evo
Thanks: 5
Thanked 4 Times in 4 Posts
Default

I win.
MikeMcG is offline  
Reply With Quote
Old February 9th, 2010, 10:54 AM   #3 (permalink)
The Friendly Undead
 
OfTheDamned's Avatar
 
Join Date: Oct 2009
Location: Right Behind You
Posts: 7,870
 
Device(s): Samsung Galaxy Nexus
Thanks: 2,720
Thanked 7,198 Times in 2,317 Posts
Default

I think this could be the best forum game EVER!
__________________
Site Rules and Guidelines - Learn them, live them and love them.

Does a post have your blood boiling? Make a instead of a retort.

Don't just claim your carrier has the best coverage, PROVE IT!
OfTheDamned is online now  
Reply With Quote
Old November 30th, 2010, 06:05 AM   #4 (permalink)
..............
 
Join Date: Jan 2010
Posts: 19,238
 
Device(s):
Thanks: 5,967
Thanked 6,723 Times in 3,979 Posts
Default

scroll.setEnabled(false);
scroll.setFocusable(true);
scroll.setHorizontalScrollBarEnabled(maybe);
scroll.setVerticalScrollBarEnabled(wtf?);
Frisco is offline  
Reply With Quote
Old November 30th, 2010, 11:23 AM   #5 (permalink)
Senior Member
 
eyebeam's Avatar
 
Join Date: Nov 2009
Location: Richfield MN
Posts: 3,481
 
Device(s): Me - Evo 3D, Galaxy Tab 7" Wife - Evo 3D, Galaxy Tab 10.1"
Thanks: 1,232
Thanked 2,045 Times in 1,525 Posts
Default

The Bourne Identity Crisis

(Say! This is fun.)
__________________
In the land of the sleepy, the insomniac is king.

Use Dropbox to store, share and sync all types of files from multiple devices. The first 2GB is free and get even more free space from referrals. If interested, please use my referral: http://db.tt/Uw2zTbP Thanks.
eyebeam is offline  
Reply With Quote
Old November 30th, 2010, 02:55 PM   #6 (permalink)
Senior Member
 
ElasticNinja's Avatar
 
Join Date: Aug 2010
Location: Cork City, IMF, EU
Posts: 3,701
 
Device(s): Xperia Play, ZTE Blade
Thanks: 638
Thanked 401 Times in 358 Posts
ciaranhurley0@gmail.com
Default

haha this is great
stickyyyyyyy!!!!!!!!!!11111!!!!!
__________________
Sign up for Minus online storage and get 10 GB of Free Space today! Sign up Here!
ElasticNinja is offline  
Reply With Quote
Old November 30th, 2010, 03:11 PM   #7 (permalink)
Senior Member
 
eyebeam's Avatar
 
Join Date: Nov 2009
Location: Richfield MN
Posts: 3,481
 
Device(s): Me - Evo 3D, Galaxy Tab 7" Wife - Evo 3D, Galaxy Tab 10.1"
Thanks: 1,232
Thanked 2,045 Times in 1,525 Posts
Default

Quote:
Originally Posted by shadowninty View Post
haha this is great
stickyyyyyyy!!!!!!!!!!11111!!!!!
Banned for requesting an unnecessary sticky. Loser!
eyebeam is offline  
Reply With Quote
Old November 30th, 2010, 03:15 PM   #8 (permalink)
..............
 
Join Date: Jan 2010
Posts: 19,238
 
Device(s):
Thanks: 5,967
Thanked 6,723 Times in 3,979 Posts
Default

scroll.setEnabled(falafel);
scroll.setFocusable(glue);
scroll.setHorizontalScrollBarEnabled(anchoviepaste );
scroll.setVerticalScrollBarEnabled(snailmail);
Frisco is offline  
Reply With Quote
Old November 30th, 2010, 03:28 PM   #9 (permalink)
Senior Member
 
ElasticNinja's Avatar
 
Join Date: Aug 2010
Location: Cork City, IMF, EU
Posts: 3,701
 
Device(s): Xperia Play, ZTE Blade
Thanks: 638
Thanked 401 Times in 358 Posts
ciaranhurley0@gmail.com
Default

scroll.setHorizontalScrollBarDisabled(true);

Was it THAT hard?
WiiN
ElasticNinja is offline  
Reply With Quote
Reply

Bookmarks

Tags
android 2.0, android scroll view


Go Back   Android Forums > Android Community > The Lounge > Forum Games User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable mobile view raguturbo Fascinate - Support and Troubleshooting 3 November 1st, 2010 10:50 AM
how to get first and last position of textview from horizontal scroll view senthilmg Developer 101 0 August 26th, 2010 10:35 AM
2.2 side view to scroll view is taken forever... big89baby EVO 4G - Support and Troubleshooting 0 August 4th, 2010 08:17 PM
Web Only - Disable Zoom and Scroll to Bottom ibexcentral Developer 101 0 June 8th, 2010 06:29 AM
Scroll View - custom view for horizontal and vertical scrolling renegadeandy Application Development 0 August 15th, 2009 10:12 PM



All times are GMT -5. The time now is 08:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo