<table><tr><td style="">philipc created this revision.<br />philipc added a reviewer: KDE Connect.<br />philipc requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11694">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This revision adds dark mode support to the app ( <a href="https://phabricator.kde.org/T7044" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">T7044</a> ). It does so by injecting<br />
theme information into each activity, and making sure that all Views<br />
define their colors by reference to theme attributes.</p>

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

<p>While all versions of android support the theme, only devices running<br />
Android ICS or higher will have a toggle button in the drawer.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open all the screens, both with and without the dark theme on.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R225 KDE Connect - Android application</div></div></div><br /><div><strong>BRANCH</strong><div><div>feature/dark-theme</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11694">https://phabricator.kde.org/D11694</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>res/drawable/state_list_drawer_background_dark.xml<br />
res/layout-v14/nav_dark_mode_switch.xml<br />
res/layout/activity_main.xml<br />
res/layout/list_item_with_icon_entry.xml<br />
res/layout/preference_with_button.xml<br />
res/values-v21/styles-dark.xml<br />
res/values/attrs.xml<br />
res/values/styles-dark.xml<br />
res/values/styles.xml<br />
src/org/kde/kdeconnect/Plugins/FindMyPhonePlugin/FindMyPhoneActivity.java<br />
src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadActivity.java<br />
src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java<br />
src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationFilterActivity.java<br />
src/org/kde/kdeconnect/Plugins/RunCommandPlugin/RunCommandActivity.java<br />
src/org/kde/kdeconnect/Plugins/SharePlugin/SendFileActivity.java<br />
src/org/kde/kdeconnect/Plugins/SharePlugin/ShareActivity.java<br />
src/org/kde/kdeconnect/UserInterface/AppCompatPreferenceActivity.java<br />
src/org/kde/kdeconnect/UserInterface/CustomDevicesActivity.java<br />
src/org/kde/kdeconnect/UserInterface/MainActivity.java<br />
src/org/kde/kdeconnect/UserInterface/ThemeUtil.java</div></div></div><br /><div><strong>To: </strong>philipc, KDE Connect<br /></div>