How to design paginated scrollbar for RecyclerView - android

I saw this horizontal RecyclerView with a custom scrollbar. The scrollbar features a dot for each item, the select indicator slides gracefully to the next dot as you slide the items right and left.
The sample can be found below:
Example gif
Please do you know how I can make something similar?

The result can be achieved by using viewPager. You can refer to Android developer documentation on how to implement viewpager. Brief explanation can be found here. For the indicator, you can create circle shape and apply the animation by yourself or there are tons of library out there you can rely with; for example InkPageIndidcator

Related

RecyclerView with swipe gesture actions

I'm a new Android developer and I would like to use swipe actions on a RecyclerView Items like the video below I found on material.io (please see link below)
I found a lot of libraries but often swipe gesture is for remove items or reveal buttons.
It's not what I want. Could you please help me to create the same behaviour as shown in this below example ("elastic" effect, swipe left or right, background color animation with icon update) ?
Maybe a library already exists??
Thanks for your help
https://storage.googleapis.com/spec-host-backup/mio-design%2Fassets%2F1gSz-L39Or4aM8GhQn0ZhnUkaV5E-cyoc%2Ftype-action-swipe.mp4
you should use this ItemTouchHelper
this gives swipe functionalty for recyclerView items
check out this Example

Design swipe activity android

I need to make a layout similar to that Image.
I wish it were shown all the registered images and their attributes and a button to add the user would select an image and define the attributes of it. I do not want a complete example that ordered but at least one direction than I use to do the layout. By my research I should perhaps use a swipe view. Has anyone seen something similar?
Thank you
You can use ViewPager to display cards like in top part.
ViewPager with previous and next page boundaries
And use a ListView or RecyclerView to show the bottom part. https://code.tutsplus.com/tutorials/getting-started-with-recyclerview-and-cardview-on-android--cms-23465

Horizontal Curved Sliding menu

In my app i want to achieve some thing like this
I have tried a lot of libraries which provide a circular layout for example like this one:-
https://github.com/dmitry-zaitsev/CircleLayout
You can check the code for circlelayout there , not posting here as its too big.
I have also tried Circular List view as discussed in here:-
Circular ListView (Items on Half Circle)
But with both the approach i am able to achieve something like this :-
This looks something like Ferris wheel but its not what i want , where the elements are connected to each other and the scrolling is smooth.
You can try with https://github.com/xresco/CircularLayout and Circular Scrollable layout
A scrollable circular layout for android where you can add items, customize the radius, the number of items displayed at a time and the X and Y offset of the layout.
Moreover, you can control how the items are rendered when scrolling the layout.
There are two modes Pinned and Fixed. The two modes differ in the way the items rotate. Here are the samples:
you can try this
https://github.com/siyamed/android-satellite-menu/
or
https://github.com/Andrew0000/Circular-Layout
I wish anyone of 2 that will help you.

Custom Menu with swipe items

Currently I'm developing a small app for my parents' business. I'm trying to create a custom menu. I'd like to have something similar to this:
If you look at it, the screen is divided in two sections. The upper section is just an image and the lower section is the menu. I'd like to achieve this:
If the user places his finger over an item of the menu and swipes to the right, all the items move one position right, and the opposite if the user swipes left.
I'm quite new in this field and I'm not looking for a piece of code. I just want some tips on what to search because I don't know even where to start.
Thanks a lot!
By what I understood, ViewPager should be able to solve your problem. You hsve it nested in your layout under the main image. Have a look here: http://developer.android.com/training/animation/screen-slide.html

Animated vertical sliding menu in android

I need to make a sliding vertical menu in android as below. user slide the screen to up or down for selecting related item and the selected item must be bigger than the other items. How can I do that in android? Any idea would be great.
Edit:
I'm very desperate and need some help. how to do this in android?
http://iphone2020.wordpress.com/2012/06/10/uitableview-tricks/
This can probably be achieved by using the Camera.setTranslate function. See Android: Vertical ListView with overlaped rows and Android: vertical 3d listview for similar questions (with solutions)

Categories

Resources