As you know there is no two thumbs bar in android. How can we build vertical range bar in android? There are some open source projects but all horizontal.
Have a look at this library. This might help you
https://github.com/Larpon/RangeSeekBar
Also, have a look at this SO answer How to make double seekbar in android?
Related
enter image description here
I want to create a custom vertical slider range bar as depicted in the image, I am unable to find any library for the same. Can someone suggest any idea for the same?
Thanking in advance
I tried searching custom libraries but all the for simple sliding seek bar, I want something like a equalizer view.
I want to make this custom range bar in android XML.
see below image:
How do you make this seek range bar in android XML?
If you know any libraries, then comment me.
You can try android-range-seek-bar library
I need to create a SeekBarPreference with 2 thumbs (min/max functionality).
There are very, very little resources to find on this - mostly just old broken libraries.
I'd like to implement my own. The backend functionality is not a problem - my problem is trying to create the xml widget. Initially I tried to overlay 2 SeekBars on top of eachother but it doesn't seem feasible as only one can be changed at a time.
I'm after direction/a set of steps to implement this RangeBar as there is quite a lot to take on.
Alternatively if there are any current libraries with 2-thumb widget, that are compatible with AndroidX, that would be appreciated.
Please refer below link :
https://github.com/syedowaisali/crystal-range-seekbar
Using this crystal range seekbar library you can modify the seekbar as per your requirements like single thumb or two thumbs and also modify the theme.
<com.crystal.crystalrangeseekbar.widgets.CrystalRangeSeekbar
android:id="#+id/PriceRangeSeekbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="#dimen/_10ssp"
app:bar_color="#dddddd"
app:bar_highlight_color="#color/colorPrimary"
app:corner_radius="1"
app:data_type="_integer"
app:left_thumb_color="#color/white"
app:left_thumb_image="#drawable/ic_thumb"
app:max_value="500"
app:min_value="50"
app:right_thumb_color="#color/white"
app:right_thumb_image="#drawable/ic_thumb"
app:steps="50" />
I'm developing an android app and I need to have a dropdown button from which the user will change the layout bellow it to have N ImageButtons arranged in a circle (from 14 to 24 buttons) in which the buttons will touch each other. There won't be any animation just a standing buttons with a click listener to every one of them. Let me describe it as a bracelet
I've developed the app but not with a buttons arranged in circle, so I have the functionality. I've searched around and found CircleLayout of dimitry-zaitsev, but it has a minSDK = 18 . While I think that what I need could be achieved in less. I also found 3D Carousel but I need a simple 2d arrangement. I don't mind if the solution will be 10 layout files with the respective number of buttons from 14-24 or if the buttons are generated programatically.
Could someone suggest me a solution?
Take a look at the ArcLayout library. You will probably be able to do that with it.
I finally succeeded in building the solution of my problem. I did it by using parts of the ideas of this library: Android-CircleMenu I hope this will help others who struggle in building circle layout.
I am developing an application, in which there is a requirement for showing results in a Bar charts. I have tried developing charts using AChartEngine and Google api and many other apis. But my Requirement is to draw multiple charts in one Activity. I followed this.Its working fine. But when i try to set the background image for the whole screen, Its not working
Can Anybody help me please
Just check this Bar Chart in Android With out any Built in jars. Here you can draw charts without any built in jars. Its just simple Graph creation using the concept of setting the height for the textview in a ListView.
I implemented this by using the Horizontal ListView. Here you have the two double arrays with equal size of elements. And the graph will adjust according to the orientation(Portrait and landscape).
If you want more charts in one activity, you can implement another Horizontal Listview in the layout.
I hope this will help you....
i can help you with paid Library which is nice
is called aiCharts (Bar Charts)
or you should refer GraphViewDemo it is also anice and free libraray to make bar graph
GraphViewDemo
I am writing a blog post on the subject. For one of my clients I created a compound view with an embedded bar chart. I did not find a simple and flexible library to achieve this, so I decided to go with custom views. To my surprise, it was simpler than I had expected: create a custom view that takes a colour and a percentage as attributes and use linear layouts to contain its instances, using layout_weight or a fixed layout_width to maintain proportions. I am very happy with the results.