score:1
Accepted answer
in your motionevent.action_up check the value of the y coordinate and if it lies within a desired range then set the visibility of textview e.g
case motionevent.action_up:
moving=false;
if(y < 100){
high.setvisibility(view.visible);
}else if(y < 200){
perfect.setvisibility(view.visible);
}else{
low.setvisibility(view.visible);
}
break;
}
Source: stackoverflow.com
Related Query
- How to display a message based on where an image is dropped on screen
- How to display image based on weather from drawable
- How to display text on android when certain SMS message is received
- How to display error message in an Eclipse RCP wizard?
- In eclipse how to show exception message of debugger code executed in display window?
- How display a resized image with aspect ratio preserved in a fixed size Label in eclipse e4 rcp?
- How to display a PNG image in a java SWT?
- How to display an image with use of jar file in Android?
- How to display error message instead of java exception?
- How to change Loading Workbench message in Splash Screen
- How To Display Image Taken In A New Activity
- How to design like below picture using SWT which is fixed in all display screen size?
- sikuli, how to capture screen where the script did not run well
- How to load and display an image on selection of a Node in TreeViewer in eclipse e4 rcp?
- How to display a random image from Wikimedia Commons in java?
- How can I display image in eclipse?
- How to display a hint message in an SWT StyledText
- How can I set of image size according to screen size with universal image loader.jar?
- How to manage image size as per screen size
- How do i display a custom background image from my drawables instead of drawing color
- How to set android lock screen image from the app through coding
- How to display four images using coverflow as shown in the attach image link?
- How to display an image in a java applet in eclipse?
- How to place an image on the screen from an event?
- How to download ONE image from remote server and display in ANDROID (CLOSED)
- How to display message box using java and JAR
- Android/Eclipse: how can I add an image in the res/drawable folder?
- How to see from where a public method is called in Eclipse using Java?
- android studio auto complete: how to display constructors with parameters
- How to use Eclipse's Display View for Debug?
More Query from same tag
- Issues with eclipse & android on win7
- How can we include json formt data inside Eclipse?
- Error! The first argument to the non-static Java function 'replace' is not a valid object reference
- Created a new file in Eclipse through python script and tried to access it in the same program but the file is empty
- Jar file unable to run on other computers
- LogCat spouts error messages when I plug in my phone
- Cannot see the graphical display of the virtual device
- Can not export folder from project to jar using Eclipse
- Eclipse plugin and editor
- Whats the best way to deploy a PHP (PDT) Eclipse Project to Apache? (on Ubuntu)
- Eclipse svn ignore bin
- why do special charatcers(#) in eclipse path affect its installation?
- eclipse photon + maven + log4j2 (getting error module log4j.api not found, required by yyy)
- How do I find the "Preferences" menu in Eclipse in OS X?
- Eclipse automation with ant
- Android - Google Analytics Crashed
- Why is my Eclipse window titled "PyDev - Eclipse (unregistered)"?
- Eclipse History view blank
- invalid project description (in eclipse)
- java.lang.NoClassDefFoundError: javafx/collections/MapChangeListener
- java - Eclipse won't export with declared source folder
- How to select an Item from a JList among other JLists in the same JPanel
- Eclipse and PHP: directories in project's root
- C# SLN file approach in Eclipse (Java)
- maven tycho load properties file for p2 repo locations
- Spring classpath issue in eclipse
- how to disable template debugging in PyDev
- GATE 8.0 compiler issue
- Where can I get Zest 2.0 eclipse plugin
- How to initialize the Transport Service in Eclipse UpdateSite