Add a dark theme

Authored by philipc on Apr 23 2018, 4:31 PM.

Description

Add a dark theme

Summary:
BUG: 375376

This revision adds dark mode support to the app ( T7044 ). It does so by injecting
theme information into each activity, and making sure that all Views
define their colors by reference to theme attributes.

In order to make this work, all of the buttons with images (like the list
of available devices) now are tinted according to the theme.

While all versions of android support the theme, only devices running
Android ICS or higher will have a toggle button in the drawer.

Test Plan: Open all the screens, both with and without the dark theme on.

Reviewers: KDE Connect, mtijink, VDG, nicolasfella

Reviewed By: KDE Connect, mtijink, nicolasfella

Subscribers: apol, ngraham, nicolasfella, mtijink

Tags: KDE Connect

Differential Revision: https://phabricator.kde.org/D11694

Details

Committed
nicolasfellaApr 23 2018, 4:35 PM
Reviewer
KDE Connect
Differential Revision
D11694: Add a dark theme
Parents
R225:b228fb237729: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown