I'm looking for a way to produce a button with progress functionality (the button is pressed at the end of the progress...) like in Waze, here in an example (the "Go now" button):
I found this solution:
Create rectangle border progress bar in android
And here is the result of the implementation made there:
But unfortunately this is not good enough (I can't changes the button corner radius to something round and the side progresses moving in a different speed the the top and the bottom progress).
From a check I made the Waze app creates the progress using a canvas and by painting paths on it. How can this be done?
Related
In my activity, when a user action succeeds i want to show a circle that animate out from center to outside as a splash color and then disappears showing the content as before. How can i achieve this splash animation
You can have a look at this library https://github.com/hendraanggrian/reveallayout
I need to build a menu in android that starts as a half circle and once tapped, exposes menu options drawn in an arc around the half circle.
I have experimented with canvas drawing and while it achieves the desired result, there isn't a way to add touch events easily and allow me to animate the menu as i would like.
Is there a library or a better way that will allow me to achieve this.
The background needs to have an overlay and the menu positioned above the overlay to simulate general menu opening as it works on web.
Screenshot of current menu screen:
I need to be able to add touch events to each individual menu item and allow it to open close as well as bring it to the front of the text as even though i have drawn the menu last, the text stays above.
I'm using drawArc, drawCircle and drawText to do it all.
Anything better I can use?
Any help will be appreciated.
It is called a Radial Menu. You can use this widget to get what you are looking for - Radial-Menu-Widget-Android.
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 want to make below view , what is the good way to make the below view.where highlighted area of the Ring shows the progress of some tasks. any help?
I already have designed menu bar circle layout and wheel menu for android application. it is scroll circle . But I want this
1) When button comes on image ( focus red circle ) it should be clickable
2) when button hover on image ( focus red circle ) it should be show another image
how can I understand which button focus on image.
I put picture.First picture; when button two hovering red circle second picture appear, and another image showing. Which library should I use. Do you know any project open source code?
sorry my bad english.
You can use the arcMenu or the android Clickwheel layouts.
Check thse links for additional details:
ArcMenu
ClickWheel