Curved scrollbar in ScrollView on Android Wear 2.0 -
is possible have curved scrollbar on wearablerecyclerview on scrollview? how done?
here reference started.
to create curved layout scrollable items in wearable app:
- use
wearablerecyclerviewmain container in relevant xml layout.- set
setedgeitemscenteringenabled(boolean)method true. align first , last items on list vertically centered on screen.- use
wearablerecyclerview.setlayoutmanager()method set layout of items on screen.
if explore document, able in touch code snippet customization of scrolling.
for circular scrolling gesture:
by default, circular scrolling disabled in
wearablerecyclerview. if want enable circular scrolling gesture in child view, usewearablerecyclerview’ssetcircularscrollinggestureenabled()method.
Comments
Post a Comment