ontouch Questions
7
Solved
I'm adding ImageViews to parent layout dynamically and performing zoom in/out operations with onTouch on the added image.
I want to remove the added view with an onLongPress of it.
img.setOnLongCli...
Frizzell asked 8/6, 2012 at 10:1
1
I developed an App to collect touch events under the foreground service class. The app has a main activity to input user's information (e.g., name and age). Then a foreground service starts to coll...
Sartain asked 22/12, 2020 at 8:38
3
Solved
I have a ViewPager2 with a fragment inside,
in the fragment, I have a custom view with certain touch logic that involves moving the finger.
how do I prevent the ViewPager from swiping while the ...
Trifurcate asked 20/2, 2020 at 21:26
4
i'm try to pick some value from a swiftUI list with the ontapGesture.
I have a Searchlist of item, the user need to choose one item and then the app will send the choice to an array that later wil...
2
Solved
In my application I got a requirement to use both click and drag events on the same textView.
I have written the following code:
... }
switch(event.getAction()) {
case MotionEvent.ACTION_UP:
// T...
1
I am trying to make game for which there are buttons with alphabets and if user swipes over them then it should detect the views as well as make a line across them. I searched many tutorials, examp...
6
Solved
When button pressed want to visible the password otherwise it should be hidden or say dotted.
I have Applied the following code but its not working.
Any help would be appreciated.
button.setOnT...
Dibranchiate asked 28/12, 2016 at 12:20
2
Solved
react-native:0.43.3
The problem only occurs in Android system, iOS is fine.
When I touch a TouchableOpacity component, the onTouch function won't be executed.
Anyone found this problem?
I built ...
Sat asked 28/4, 2017 at 7:45
1
I have a Framelayout which add four imageview at runtime as well in center it contains main image with which user can perform different action but i face the problem with rotate layout view
curre...
Produce asked 11/5, 2015 at 13:3
2
Solved
I am trying to implement a user resizable edittext view. It can be resized when user drags the edges of the view.
Here is my onTouchListener for edittext. I have only implemented resizing for left...
Cornea asked 11/4, 2015 at 7:46
1
© 2022 - 2024 — McMap. All rights reserved.