Android cardlibs animation for different card layout - android

I'm experimenting with cardlibs by Gabriel Mariotti from here. My problem is the animations of the swingbottom or any other animation included only in List view animation. The cards are all same (using same layout). I want to use the swingbottom animation on misccard. each card has its own layout.How can i achieve that? Thank you.

i found a way around. With the tips from Gabriel Mariotti himself on the Global and InnerLayout. So I've modified all of my cards to use the same GlobalLayout but different InnerLayout. Lots of modification but it achieved what i wanted. All the cards now can be added into CardArrayList and used with the animation adapter. Hope this will help anyone who has the same goal as i am. Thank you.

Related

Android create a Drag and drop with animation without overlapping

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.

Fast scrollbar with indicator for GridView in Material Design style

I have a grid, which consist of many cards ordered by alphabet.
I want to achieve behavior similar to standard Android clock app. I.e I need a fast scrollbar with indicator in Material Design for my GridView.
Any ideas? Libraries?
Any help is truly appreciated. Alex. P.S. Sorry for my English:)
Ok. There is a library for that: https://github.com/danoz73/RecyclerViewFastScroller
So I guess it's the best time to start using RecyclerView :)

How to drag the layout only vertical in app?

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.

Create grid view like pinterest app

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.

Changing animation style of ViewPager

I want to change the animation style of Android's ViewPager class with using Android Animation Framework. Is it possible?
See my answer at: Slowing speed of Viewpager controller in android, might be helpful.
You can further customize the Scroller class to change the Interpolator to something more extreme.
You can use new android-support-v4.jar to do it.
Please reference the following official web page: Customize the Animation with PageTransformer
http://developer.android.com/training/animation/screen-slide.html
Maybe this post can be helpful if you are looking for a different animation. This animation did not use android's native pager. There are some issues that should be solved but at all i think it is helpful
https://github.com/kgnkbyl/CustomViewPager
Look at the example here
http://code.google.com/p/maniana/source/browse/#git%2FManiana%2Fsrc%2Fandroid%2Fsupport%2Fv4%2Fview
Search ViewPager.java for mForcedScrollDurationMillis. It's a hack to control the smooth scroll speed.
It also require to remove ViewPager and its internal classes from the original jar
http://code.google.com/p/maniana/source/browse/#git%2FManiana%2Flib
Something other than slide may be more involved.

Categories

Resources