StanfordSpezi / SpeziKt

Kotlin & Android Version of the Stanford Spezi Framework
http://spezi.health/SpeziKt/
MIT License
7 stars 1 forks source link

Onboarding Views Layout Improvements #36

Open PSchmiedmayer opened 4 weeks ago

PSchmiedmayer commented 4 weeks ago

Problem

The current onboarding views all look cramped up at the top of the screen.

OnboardingFlow OnboardingFlow2

Solution

On iOS, we are moving more and more to utilizing a Navigation Bar at the top or facilitate a decent spacing.

I would suggest to utilize a top app bar to facilitate a common top bar across the onboarding flow (should be defined in the app, not the composable views themselves to allow future customization and the usage of the views within other part of applications).

The individual views should be reduced to a simple composable that can be embedded in a larger view hierarchy including a top navigation bar structure. We should also ensure that we have a screen-adaptive layout that tries to fill the application's space (up to a max with and height to ensure a proper layout on tablet devices).

Additional context

No response

Code of Conduct