element-x-ada/libraries/designsystem
Jorge Martin Espinosa 410a3d132b
Add floating/sticky date badge in the timeline (#6496)
* Add floating date indicator while scrolling the timeline (#6433)

* Add `FeatureFlags.FloatingDateBadge`. This enables displaying the floating date badge in the timeline as you scroll.

* Don't display the floating badge if the timeline isn't reversed. Otherwise, this will affect talkback users and break the existing navigation

* Use `TimelineItem.formattedDate()` to get the date to display. Always try finding the closest one (usually it will be just the 1st one we try).

* Align designs with iOS. Also fix shadows in fade animation by adding some paddings.

* Update screenshots

---------

Co-authored-by: Gianluca Iavicoli <gianluca.iavicoli04@gmail.com>
Co-authored-by: ElementBot <android@element.io>
2026-04-01 10:45:57 +00:00
..
src Add floating/sticky date badge in the timeline (#6496) 2026-04-01 10:45:57 +00:00
.gitignore Refactor some modules + add dependency management (still WIP) 2022-10-27 19:24:57 +02:00
build.gradle.kts Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
consumer-rules.pro Fix account provider change on nightly and release (#861) 2023-07-13 14:46:57 +02:00