From d25702d99ded6946608713e670c6a6ce323f8f87 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 12 Feb 2020 19:46:01 +0530 Subject: [PATCH] Implement custom theming to match Google's AOSP design Closes: #4 Signed-off-by: Harsh Shandilya --- .idea/codeStyles/Project.xml | 3 -- app/build.gradle | 4 +-- app/sampledata/interface_names.json | 34 +++++++++++++++++++ .../main/res/drawable/ic_action_add_white.xml | 2 +- .../main/res/drawable/ic_action_delete.xml | 2 +- app/src/main/res/drawable/ic_action_edit.xml | 2 +- .../res/drawable/ic_action_edit_white.xml | 2 +- app/src/main/res/drawable/ic_action_open.xml | 9 ----- .../res/drawable/ic_action_open_white.xml | 2 +- app/src/main/res/drawable/ic_action_save.xml | 2 +- .../drawable/ic_action_scan_qr_code_white.xml | 2 +- .../res/drawable/ic_action_select_all.xml | 2 +- .../res/drawable/list_item_background.xml | 11 ++---- .../res/layout/app_list_dialog_fragment.xml | 10 ++++-- app/src/main/res/layout/app_list_item.xml | 12 ++++--- .../res/layout/tunnel_detail_fragment.xml | 4 +-- .../main/res/layout/tunnel_detail_peer.xml | 2 +- .../res/layout/tunnel_editor_fragment.xml | 6 ++-- .../main/res/layout/tunnel_editor_peer.xml | 2 +- .../main/res/layout/tunnel_list_fragment.xml | 13 ++++--- app/src/main/res/layout/tunnel_list_item.xml | 9 +++-- app/src/main/res/values-night/bools.xml | 5 +++ app/src/main/res/values-night/colors.xml | 15 +++++++- app/src/main/res/values-v27/styles.xml | 28 +++++++++++++++ app/src/main/res/values/attrs.xml | 5 +++ app/src/main/res/values/bools.xml | 5 +++ app/src/main/res/values/colors.xml | 21 ++++++++++-- app/src/main/res/values/styles.xml | 27 +++++++++++++-- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 30 files changed, 185 insertions(+), 60 deletions(-) create mode 100644 app/sampledata/interface_names.json delete mode 100644 app/src/main/res/drawable/ic_action_open.xml create mode 100644 app/src/main/res/values-night/bools.xml create mode 100644 app/src/main/res/values-v27/styles.xml create mode 100644 app/src/main/res/values/bools.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 1349f8cc..4a46ec8f 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -29,9 +29,6 @@ - -