From 8d669755396a58eb3894144b25631ff7577954be Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Thu, 24 Feb 2022 07:40:37 +0000 Subject: Update graph UI, #4582 --- app/src/main/res/drawable/bg_rounded.xml | 23 +++++++ app/src/main/res/drawable/ic_disk.xml | 21 ------ app/src/main/res/drawable/part_square.xml | 34 ++++++++++ app/src/main/res/layout/chart_tooltip.xml | 86 +++++++++++++++++++++++++ app/src/main/res/layout/fragment_dashboard.xml | 20 ++---- app/src/main/res/layout/trackers_item_graph.xml | 2 +- app/src/main/res/values/colors.xml | 2 + app/src/main/res/values/strings.xml | 2 +- 8 files changed, 152 insertions(+), 38 deletions(-) create mode 100644 app/src/main/res/drawable/bg_rounded.xml delete mode 100644 app/src/main/res/drawable/ic_disk.xml create mode 100644 app/src/main/res/drawable/part_square.xml create mode 100644 app/src/main/res/layout/chart_tooltip.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/bg_rounded.xml b/app/src/main/res/drawable/bg_rounded.xml new file mode 100644 index 0000000..0677165 --- /dev/null +++ b/app/src/main/res/drawable/bg_rounded.xml @@ -0,0 +1,23 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/ic_disk.xml b/app/src/main/res/drawable/ic_disk.xml deleted file mode 100644 index 2600601..0000000 --- a/app/src/main/res/drawable/ic_disk.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/drawable/part_square.xml b/app/src/main/res/drawable/part_square.xml new file mode 100644 index 0000000..6b1ae23 --- /dev/null +++ b/app/src/main/res/drawable/part_square.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/chart_tooltip.xml b/app/src/main/res/layout/chart_tooltip.xml new file mode 100644 index 0000000..a88bc6f --- /dev/null +++ b/app/src/main/res/layout/chart_tooltip.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_dashboard.xml b/app/src/main/res/layout/fragment_dashboard.xml index 66c738c..93c1d36 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -178,32 +178,22 @@ android:text="@string/dashboard_state_ipaddress_off" - diff --git a/app/src/main/res/layout/trackers_item_graph.xml b/app/src/main/res/layout/trackers_item_graph.xml index d0bd9ec..e7245f9 100644 --- a/app/src/main/res/layout/trackers_item_graph.xml +++ b/app/src/main/res/layout/trackers_item_graph.xml @@ -51,7 +51,7 @@ diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index b590972..befe02b 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -24,4 +24,6 @@ @lineageos.platform:color/color_default_blue1 + #263238 + #AADCFE \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f484dd7..255f04a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,7 +17,7 @@ Exposed Hidden Personal data leakage - Last 24 hours + Today %s Trackers Manage trackers -- cgit v1.2.1