Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KDE Connect Android KDE Connect Android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Bugzilla
    • Bugzilla
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Network
  • KDE Connect AndroidKDE Connect Android
  • Merge requests
  • !273

Basic support for A12 colors. Colors don't work in some cards, menus and the hamburger menu

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Arun Parolikkal requested to merge thisbeme/kdeconnect-android:master into master Dec 15, 2021
  • Overview 9
  • Commits 2
  • Changes 2

Summary

I'm trying to make KDEConnect pull colours from the Material 3.0 wallpaper in Android 12. I've managed to do this to an extent by editing the xml files in res/values*. There are, however, certain UI elements that do not respond to the changes I've made, with no obvious files where their colours may be changed.

Screenshots

The devices screen looks great (Except "KDE Connect Devices" in the App bar isn't themed.)

Screenshot_20211215-175156_KDE_Connect

The hamburger menu has a white color in light mode. Don't know where this is set and how to change it

Screenshot_20211215-175206_KDE_Connect

Three dot menu has a white colour

Screenshot_20211215-175210_KDE_Connect

Add new devices looks good too

Screenshot_20211215-175221_KDE_Connect

Not the popup menus though

Screenshot_20211215-175225_KDE_Connect

Cards in the About section are still white

Screenshot_20211215-175235_KDE_Connect

Dark mode works fine

Screenshot_20211215-175255_KDE_Connect

But again, some UI elements like the hamburger menu aren't themed.

Screenshot_20211215-175302_KDE_Connect

I'll keep trying to figure out how to make these elements to their proper colours, but I've done a lot of searching through the source and couldn't figure out how. I'm absolutely new to Android development. Help please.

Test Plan

For the changes made thus far, none are needed.

Edited Feb 16, 2022 by Arun Parolikkal
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master