I'm writing tizen wearable web apps and I noticed something. (I have a gear s3 classic).
In the settings app on my gear s3, the list items in the list on the main page are smaller when not in the center of the screen and when they are on the center, they get bigger.
I'm using Tizen Studio and I've downloaded many sample apps with lists (web and native) but none of them had this little nice feature.
I would like to know if I miss something or what should I do in order to achieve this effect.
Thank you very much!
I ended up hardcoding everything in Javascript.
There are 3 events:
scrollstart : When list starts scrolling (even with bezel)
scrollend : When list stop scrolling
selected : When the list stops scrolling it detects the li in the middle of the screen.
Again, this works like the answer above, it triggers the 'selected' event when the list stops scrolling.
This is a problem because let's say I drag my finger across the screen (from bottom to top) and the list scrolls fast, I want by the time it passes a li to make it selected. Instead, it will scroll all the way and when it stops, it then will trigger 'selected' to the appropriate li.
--EDIT
Ok, I finally found it!!
Here is how you make the scroll animation effect just like the native smartwatch menus:
Copy this awesome code in the file:
Connect script to the html file right below "body" closing tag