Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI enhancements #966

Open
milindgoel15 opened this issue Sep 22, 2023 · 2 comments
Open

UI enhancements #966

milindgoel15 opened this issue Sep 22, 2023 · 2 comments

Comments

@milindgoel15
Copy link

milindgoel15 commented Sep 22, 2023

  • can you make the appbar stay at the same place when scrolling? Just like it happens in the settings page.
  • tint the appbar color when scrolling down otherwise stays on background color
  • make the bottom navigation bar transparent on the settings page and bottom sheets. Currently, it's black.
  • medium/large type appbar in settings page
@Jesse205
Copy link

And on lower versions of Android the status bar icons are white in color and not visible

@Jesse205
Copy link

Jesse205 commented Oct 4, 2023

I don't know why, I can't compile it into an arm64 application, so I can't test if the code I modified works properly.I can only make a few key points.

System bars

  1. Google supports the bright status bar on Android 6 and needs to define android:windowLightStatusBar in XML.
  2. Google supports bright navigation bars on Android 8 and XML definitions on Android 8.1.The attribute value is android:windowLightNavigationBar
  3. Devices that do not suppor light navigation or status bars should use a black semi transparent background to ensure that they can be seen clearly.
  4. The code should use WindowsInsetsCompat to controll light mode, which will be compatible with earlier Android versions.

Scroll

Set an ID for each scrollable view, and Android will automatically handle the scrolling position after reloading the activity.

App bar

  1. The root layout must be CoordinaterLayout
  2. Suggest setting liftOnScrollTargetViewId to ensure normal operation on some pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants