Hi everyone. I want to make a view like above. On the same screen , I have got two different layout (or it can be fragments, doesn't matter for now.). User can swipe both layout on long touch and drag/drop like above. Do you know how can we do it or is there any library for this?
Thanks
Please check DragLinearLayout libray.
Hope for help. :)
You can use Drag sort library
but i think this assumes that you use a listview.
Related
I want a application which consist of drag and drop of cards with the animation such as,I need like this only pls help me out,
What you want is similar to the tinder app.You can use some github librarys like..
https://github.com/Grishu/TinderView-Control
https://github.com/lawloretienne/TinderStack?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=4946
https://github.com/Diolor/Swipecards
Hope this helps you.
can anyone help me by telling me how can I create a layout like this one:
It looks like a grid view, but not all items have the same width, and height.
This is a modified version of Android's experimental StaggeredGridView. The StaggeredGridView allows the user to create a GridView with uneven rows similar to how Pinterest looks. Includes own OnItemClickListener and OnItemLongClickListener, selector, and fixed position restore.
Refer this,It may help to solve your problem.
Here is a well supported library https://github.com/etsy/AndroidStaggeredGrid
Another view that I found now, thanks to #AndroidLearner is PinterestLikeAdapterView you can check it here. If anyone also has the problem like me - you can refer to this one also.
This is definitely what are you looking for. The other example given in the answers does not allow you to manipulate with the width of the items, with this one you are able to do anything.
I want to create a GridView like this one:
But, I don't know how! I know how work with Android GridView, but not like this one.
Suggestions of library or any tip will be welcome.
Thanks.
I want to create a GridView like this one
The View you are referring to can quite easily be created without using a GridView. If your components (clothing, bags, shoes etc.) are static, you can use nested LinearLayouts (with weights) inside a ScrollView.
Suggestions of library or any tip will be welcome.
You can try StaggeredGridView: Link
A demo project to get you going: Link
I have a GridLayout with some items in it. Nothing special on it.
I just would like to know if I can drag items around and make the other items automatically arrange themselves.
It's like Android does in Jellybean if you move an icon near another icon.
Is that possible in GridLayout?
Thank you!
I don't know if that is possible with a GridLayout, doubt it, but here is a example that looks like a GridLayout and implements Drag and Drop. This should solve your issue.
I feel like there are many projects which could solve this slightly better than the other answer:
See the following question
Within this, the following projects are mentioned:
PagedDragDropGrid
Alternative View Drag and Drop
Google Project and some other 3rd party stuff
This may help you find some stuff other than GridViews as well.
what view is this in android, I have seen this in iphone can any one help
the one shown in bottom near footer
These are all custom views or a combination of multiple views or layouts, You can create one easily, Check out the following links
Android UI
Indeed it is a custom view called OperaSwView only Opera has access to that view.
Do you mean ProgressBar?