I want to implement this kind of functionality in android,
for example, when i click on Pinterest the arrow sign will be automatically moved to piterest (Like you can see in image) now if i press twitter then arrow will be moved to there like that..., arrow will move with animation, if anybody knows how to implement then please let me know
Like in above image there is three button (Facebook, Pinterest, Twitter), you can see piterest is selected so arrow is below the pinterest now if i press facebook the arrow will move below facebook image with animation
I think the easiest way is to make three different images.
1st:
2nd:
3rd:
So you do,
if(images[1] was clicked){
imageView.setdrawable(image1);
} else if(images[2] was clicked){
imageView.setdrawable(image2);
} else if(images[3] was clicked){
imageView.setdrawable(image3);
}
Related
I'm making custom camera app and I need to create a camera buttons like picture, video and time laps button as similar to instagram camera. I can create a design similar to these buttons but problem is that I can't move them like that.
If you see in Instagram as shown in picture By default its show picture button but I want to change it when someone swipe finger on it.
Here is image of instagram camera
As you can see in image when user swipe on white ball it moved to next BOOMERANG and so on and back and forth.
Or if user click on any text which is at the bottom of screen it scroll set in the middle right above the arrow.
I want similar functionality But I don't know how to achieve this because I'm new in android. Can you please let me know what I need to read for this.
Thanks.
Please refer the attached picture when user click on GO button all the other button comes under the GO button and when user again clicks the GO button all the buttons get distributed. I want to make same button and animation. I searched a lot but not got anything relevant, Kindly help.
There is a satellite menu library, with this you can acheive as you want. In this you need to handle the position of it.
I have a news app.It is supposed to launch by swiping on the screen(homescreen or while in any other activity like switchr app).I learned to code swiping patterns but in my case I have to do exactly in the following way(swiping bottom right to top left)..Kindly have a look over following pictorial representation
1.Firstly app should launch by swiping bottom right to top left on the screen
2.next,show the user with list of scrollable arc menu buttons embedded in it like second image
3.when a user clicks on particular button it has to show a brief description about the content like third image
my problems:
creating arc like scrollable menu on bottom right side of the screen(I googled sia ahmed's solution over here ,it helped me a bit)
creating that parachute like structure(image 3) when user clicks particular bubble like button in arc menu..
please guide me
For the menu check out arcmenu by daCapricorn on github. Also see this question.
The balloon bit is trickier. I know of a balloon hint code for android but i haven't seen it in action.
Hope this helps!
I'm trying to make an extra effect to menu that will come down from the top of the screen
I want to make it enter the screen while swiping it from the top and if the user left it, it should continue to the end
this is the figure that demonstrate what I want to do:
I tried to do it with animation but the animation will not go on while swiping and it will go to the end without touching
any other ideas to move the view down with finger ?
Check this out for a sliding Drawer http://developer.android.com/reference/android/widget/SlidingDrawer.html
it sound like you kind of want the same thing as the pulldown menu at the top of all android phones except you want it customized, the link will show you that.
OK
It works for me now
I used SlidingTray.java class from this API
API Website
btw : this api open source
I trying add arrow buttons to my app. I dont know how to show arrows on button ?
http://www.bestandroidappsreview.com/2010/09/build-vocabulary-sat-gre-buddy-android-app.html
otherwise , I want some suggestion on what would a good interface for traversing of records for next and previous ??
To show an Arrow on button, You need to have an Images for the Arrow. Usually when you use Image button, it keeps the background of the button as normal button so you can not have a look and feel like the one you have.
The Best option is use ImageView instead of Button or ImageButton and Use Arrow Images to show Arrows.