Skip to content
Snippets Groups Projects
user avatar
Matthias Urhahn authored
* Refactor home-screen and tracing details fragment.
* Use recycler view to display list items
* Remove nested/included layouts and make Android Studio layout previews functional
* Split list items into independent elements (positive/negative/pending)
* Layout cleanups & flattening
* Small padding and alignment fixes

* Clean up tests and fix class names.

* Move UI classes towards "package by feature", each feature has their own ui package.

* LINTs

* Fix log statements.

* Only crash in tester builds.

* Update Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeAdapter.kt

Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>

* Refactor adapter init.

* LINT

* Remove "card" from property name, the "TracingStateProvider" is UI agnostic.

* LINTs

* Don't show the risk card if there is a positive test result.

* Fix crash on init with unknown resource IDs (before data binding is available).

* Fix progress card not being colored in risk details fragment

* LINTs

* Prepare viewholders for payload use.

* Update Corona-Warn-App/src/main/res/layout/home_fragment_layout.xml

Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>

* Improve toolbar and tracing bar behavior, scrollable, fewer nested layouts.

* Adjust popup theme.

* Remove color state list for cards, click behavior is done via `selectableItemBackground`

* Fix visual artifact when expanding toolbar menu.

* Align box coloring in dark mode and click animation.

* Fix flickering Test and FAQ card.

* Fix missing "enable tracing" button in home card.

* Fix risk/tracing details elevation/dividers in light and dark mode

* Resolve merge regressions and include contact diary card via recyclerview.

* Adjust toolbar background color to new mockups (diary mockups have lighter darkmode).

* Update Corona-Warn-App/src/main/res/layout/home_card_container_layout.xml

Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>

* Update Corona-Warn-App/src/main/res/layout/tracing_content_failed_view.xml

Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>

* Tint card background color. Just replacing the background didn't ahve the desired effect.

* Fix possible NPE on last encounter calculation.

* LINTs and typos.

Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
2880971e
History
Name Last commit Last update