developers.
I would like to ask for help for a task. Unfortunately, I can not upload any code because I do not know how to get started.
I would need to create a listview where I can check the views of all its appearing elements while scrolling and ask to change the view while scrolling.
Specifically: The list item displayed in the center of the screen should be larger than the others, and as I scroll the list up or down, the letters become smaller.
It would look like a scroll on a cylinder.
I would like to ask for help on this problem.
Thank you very much!
Please check out this Github Page : CarouselLayoutManager
Its got instructions and examples..
Related
Hey Every one I am working on a project that requires ListView/RecyclerView items animation in a very unique. Here is the sample app RetailMeNot. The ListView or RecyclerView used in this app is definitely custom and looks pretty cool. Initially, the list show smaller image of a child-item. As the user scrolls up, the child item expands fully to reveal a bigger image and previously expand item collapse/hide and put the next item on top.
Has anyone seen a library or implementation of a similar ListView/RecyclerView?
I really tried hard to make this effect on ListView and RecyclerView but couldn't achieve the required result.....
Any help would be really appreciated, Thanks in Advance!!!
After doing so much search and trying so many example's I finally created the effect with this library. This library has the same expand/collapse effect as RetailMeNot. Just download the library and use it in your project.
Happy Coding!!!
Hello I am not sure if this would be a duplicate as my wording is probably not the best to describe this on a search. I have a recycler view with a list of strings. Everything works great however, is there a way to make the list scroll a little higher than the bottom of the parent view, in this case keep scrolling up until it hits the middle of the screen? the Recycler view would height is match parent. Thank you in advance!!
Please note: I didnt add code since this is just a regular recycler view nothing special added, let me know if the code is needed as well thank you!
Edit:
this is for a vertical scroll list only. The following images are some list images I got offline but hopefully they can show better what I am trying to accomplish:
I want to be able to scroll the list up to the middle as in the following picture for example:
I need to make something like the google+ profile header (a background image that hides when scroll up and a fixed header on top), but i don't have idea how to do it with a gridview.
I looked into the scrolltricks example from Roman Nurik and he did it on StickyFragment, my problem is that I need to use a gridview to recycle the views.
Attached some images to be more clear.
you can find this solution:
http://antoine-merle.com/blog/2013/10/04/making-that-google-plus-profile-screen/
maybe it can help you.
When the ordinary ExpandableListView expands we usually see just the result that it is expanded. I want to add animation to see clearly that it expands itself a little bit slowly and smooth in order to clerify for user that he clicked on listitem and it opened.
this can be achieve by Accordion component .
have a look on to this link
May be it will helpfull to you.
Thanks
If you want something like the accordion, but only want to have one item expanded at once, and you want to keep using your normal ListView, I would recommend this project: https://github.com/tjerkw/Android-SlideExpandableListView
Yes I am the Author!
I was wondering if there is a way that I can animate my GridView's Children to their new positions. So, for example, slide in from the left and when at the end of a row, slide off to the right. This will give the effect of each child moving to its new position, rather than just appearing there.
I have looked around, and could not find any useful information. Ideally a small code sample will get me on my way.
Thanks
You should consider using GridLayoutAnimationController. GridLayoutAnimationController docs
You may try looking at this video:
http://www.youtube.com/watch?v=X984r7IOrgc
The developer somehow shares how he had implemented the animation in his reply on one of the comments. He could not show the source code yet though. Hope this helps.
i used android canvas and some code for positioning image tiles. it
uses and data adapter pattern (like for all AdapterViews). each tile
has it's position - page, row and column. draging changes tiles
positions. - karooolek
There are a few animations in the Android API Demo, including some animations for gridview.
You might want to check the examples in com.example.android.apis.view.