I am building a custom like progress view as in Samsung S Health app. Shown below is the screen shot.
I am able to build a circular view something like this:
But not sure how to build like the S health one (ellipse shape).
Did any of you tried or have idea how to build this?
There's a Canvas.drawPath() method that allows you to do any type of magic.
Also I'm currently working on a library that will contain progress views with different animations.
You can check it out here, maybe it will help you:
https://github.com/vulko/AnimatedArcProgressView
Related
Hello everyone,
I am looking to build an application stack like view. If you press square button on phone ( Oppo, Samsung and pixel ) you see a view like images below. I m trying to do the same thing. Can anyone tell me a bit what this view is? Is this is sdk or I have to create a custom view like this one? Please see the images. Is this a view_pager? I m talking about the central part which swipes right and left.
There are libraries which make it easier to make all kinds of different looks for recyclerviews. I suggest you search for circular recyclerview in google.
Here is my first search which looks suitable to your needs:
https://github.com/Azoft/CarouselLayoutManager
I need to create horizontal selector like in Uber android app (Please check screen shot). But that selector list must be dynamic means (Array[1,2,3,4...]). Please check screen shot:
I trid a lot but nothing worked with grate UI like this, I have trid also this link: check link. Its worked but bad UI because its uses paint to create things. Please help me to achieve same thing. I am trying it for payment selection option based on region. So its must be dynamic.
You can use android ui widget seekbar for this purpose and then customize it.
Also you can refer the following example
Seekbar
I saw this when I first started and opened my emulator and wanted to include something like in my application.
Does anyone know how you implement this tutorial? Do you basically have a layout file with a TextView, ImageView, and a Button? And inflate it with some kind of dialog fragment? Is there a way to account for the transparency as well?
I experimented with a dialog fragment but mine looks nothing like the screenshot above. (no transparency, position at center, etc...)
I have never used it so I can not give you a code example. However it is documented in the Help Section of the developer documentation.
This library can help you too.
I've recently switched from eclipse to IntelliJ IDEA for Android development. I'm not missing any features, beside the rather helpful designer preview in eclipse. I populate certain views in my activities at runtime, there are no texts defined in the corresponding XML files. In eclipse, it looks like this:
It fills the empty views with placeholder text which is nice to get a rough impression of the layout without having to start the app. But in IDEA, the designer looks like this:
The views are empty, and it's difficult to even see them without selecting them in the Component Tree. I haven't found anything in the options, is this missing from IDEA or did I miss an option?
It's not possible right now, but it would be nice to have, I've created a new feature request, please vote.
This is neither a code-question nor technical issue, so I admit that it can be somewhat off-topic with StackOverflow, but I'm in really need of help because I already took lots of time.
I'm working with a help window implementation and I'd like to do this with a type of view that I've seen in some of Android button options. In some versions of Ubuntu, the view can also be seen when you point your mouse arrow within an application shortcut in the main taskbar. It looks like a balloon-type dialog box. Bellow is a screenshoot of the view:
My issue is a somewhat softheaded one: I don't know the technical name of this UI component, and so I can't search for documentations and examples.
I've already searched for several combinations of terms such as dialog-box, menu, balloon, popup-menu and so on, without success. Can someone tell me the name of this UI and, if possible, post a simple example of usage in Android/Java?
Thanks in advance!
There's no native UI with that approach but, you can use any viewgroup you prefer (depending on the content of it) and set the background of this viewgroup to be a 9 patch drawable.
That looks like a popup. It's not a standard component, but you can create one like that with PopupWindow.
See how to create popups in Android for details implementation.
There is no UI View for that: check http://greendroid.cyrilmottier.com/ There is something like QuickAction. Simple to use and free ;)