Questions tagged [sliding]
392 questions
6
votes
1 answer
Animated vertical sliding menu in android
I need to make a sliding vertical menu in android as below. user slide the screen to up or down for selecting related item and the selected item must be bigger than the other items. How can I do that in android? Any idea would be great.
Edit:…

Mustafa Güven
- 15,526
- 11
- 63
- 83
5
votes
1 answer
move videoView...using translation animation
I am basically trying to move the VideoView I have by using an animator on the layout that contains in. However, the video view never moves. Its layout moves, but not the video itself?
How can I make the video move?
here is what i have so far.
the…

Mathew Kurian
- 5,949
- 5
- 46
- 73
5
votes
5 answers
sliding left to right transition in jQuery Mobile
I'm adding pages run time when swipeleft is happened. But when swiperight happened I can't return the previous page that I'm created with sliding from left to right.
I have added the data-direction="reverse" to the pages but it didn't create…

uzay95
- 16,052
- 31
- 116
- 182
5
votes
4 answers
How to implement vertical sliding actionbar(like in the grofers app)
I want to implement a layout in which the action bar is below an image. And, on sliding the screen up, the actionbar should also move up, along with the image. The action bar should then go to the topmost point of the screen and stop.
This is…

Sid
- 1,270
- 2
- 15
- 30
5
votes
2 answers
How do I get fibonacci numbers using sliding Stream in scala?
There is a good example in Stream document that gets fibonacci numbers.
val fibs:Stream[Int] = 0 #:: 1 #:: fibs.zip(fibs.tail).map { n => n._1 + n._2 }
I would like to implement that by using sliding, so I tried followings.
val test = 0 #:: 1 #::…

nineclue
- 51
- 4
5
votes
4 answers
Sherlock Action Bar with Sliding menu
I'm making a view and an activity extending SherlockMapActivity and using SlidingMenu libraries to make my main view to scroll like Google+ does.
I've added the SlidingMenu by XML and my view scrolls perfectly showing the hidden menu but it only…

Alex
- 481
- 1
- 5
- 19
4
votes
2 answers
Algorithm for calculating the sum-of-squares distance of a rolling window from a given line function
Given a line function y = a*x + b (a and b are previously known constants), it is easy to calculate the sum-of-squares distance between the line and a window of samples (1, Y1), (2, Y2), ..., (n, Yn) (where Y1 is the oldest sample and Yn is the…

Oren
- 2,767
- 3
- 25
- 37
4
votes
4 answers
Programmatically hide the handle of a sliding drawer
Is there a way on how I could hide the handle of a sliding drawer upon opening the sliding drawer? I've tried using the setVisibility(View.GONE) method when the OnDrawerOpenListener was triggered, but the handle is still visible. Is it possible to…

Ivan
- 41
- 1
- 3
4
votes
2 answers
flutter multiple letter selection by sliding ( motion event )
I need to create words by dragging letters.
I searched but couldn't find enough code to detect motion event.
I want to select multiple letters by swiping with my finger and create word from selected letters.
I need to make a word puzzle game like…

duyguevrim
- 125
- 8
4
votes
2 answers
Sliding finger across screen activating buttons as if they were pressed
In case my title wasn't clear enough, I'll explain it in detail:
Say we have a screen filled with multiple buttons (10+), and we press down on one, activating onTouch/onClick. If we now move the finger, without lifting it, I want it to activate any…

keyser
- 18,829
- 16
- 59
- 101
4
votes
0 answers
Special sliding puzzle - Algorithm to find minimum distance
I just stumbled upon a strange (and very annoying game) that I wanted to solve programmatically. It reminds a bit of Rubik's cube, but 2 dimensional. I'm struggling a bit on how to approach this...
There is a 9x9 square with some circles placed into…

inzanez
- 366
- 1
- 16
4
votes
2 answers
How to set up Jfeinstein10 sliding menu on android/eclipse
I am trying to setup JFeinstein10's sliding menu in eclipse.
What i've tried:
file > import > from existing android.. > select the library of sliding menu
file > import > from ex.. > select the example of sliding me
file > import > from ex.. >…

Mdlc
- 7,128
- 12
- 55
- 98
3
votes
1 answer
How do I implement a slide-out drawer on the Android's call screen?
The Android app Thrutu puts a drawer on top of the in call screen which has several functions and only takes up a fraction of the screen. The call control buttons below still are fully functional. Even a transparent activity would not allow this…

user918815
- 31
- 1
3
votes
1 answer
QML Rectangle Hide overlapping Objects
I'm trying to achieve a simple Sliding Bar in QML. Here's a prerequisite I have to follow: no SVG images ( for some BR I cannot discuss here ).
Rectangle {
id: backgroundPower
anchors.fill: parent
color:…

sgrumo
- 615
- 2
- 8
- 24
3
votes
1 answer
Python: Unable to solve a differential equation using odeint with signum function
I am trying to solve this problem:
where U is
here:
s=c*e(t)+e_dot(t)
and
e(t)=theta(t)-thetad(t)
and
e_dot(t)=theta_dot(t)-thetad_dot(t)
where thetad(theta desired)=sin(t)-- i.e signal to be tracked!
and…

Amardeep Mishra
- 129
- 1
- 4
- 16