From 9035bac3ff801bb982bf54b02c0e9850d6afbc22 Mon Sep 17 00:00:00 2001 From: jacquarg Date: Thu, 28 Oct 2021 22:35:19 +0200 Subject: Update dashboard UI and feature --- .../res/layout/dashboard_item_submenu_button.xml | 83 ++++ app/src/main/res/layout/fragment_dashboard.xml | 472 ++++++++------------- .../layout/fragment_internet_activity_policy.xml | 2 +- 3 files changed, 269 insertions(+), 288 deletions(-) create mode 100644 app/src/main/res/layout/dashboard_item_submenu_button.xml (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/dashboard_item_submenu_button.xml b/app/src/main/res/layout/dashboard_item_submenu_button.xml new file mode 100644 index 0000000..8802bca --- /dev/null +++ b/app/src/main/res/layout/dashboard_item_submenu_button.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + \ 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 effd992..077eaf1 100644 --- a/app/src/main/res/layout/fragment_dashboard.xml +++ b/app/src/main/res/layout/fragment_dashboard.xml @@ -1,26 +1,16 @@ + - - - - @@ -30,314 +20,222 @@ android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" - tools:context=".main.MainActivity" > - - - - - - - + - - + - - - - - - - - - - - - + - - + - - - - - - - - - - - - + - - + - - - - + android:text="@string/dashboard_state_ipaddress_off" + android:textSize="12sp" + android:textColor="@color/black_text" + android:textAllCaps="true" + /> + + - - - - + + - + + + + + + + + + + - - - - - - - - - + android:src="@drawable/dummy_leakage_analytics" + app:layout_constraintTop_toBottomOf="@+id/graph_period" + /> + + + + - - + + - + + + + - \ No newline at end of file + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_internet_activity_policy.xml b/app/src/main/res/layout/fragment_internet_activity_policy.xml index 12094ab..2c7e102 100644 --- a/app/src/main/res/layout/fragment_internet_activity_policy.xml +++ b/app/src/main/res/layout/fragment_internet_activity_policy.xml @@ -57,7 +57,7 @@ android:layout_width="wrap_content" android:paddingBottom="8dp" android:paddingTop="16dp" - android:text="@string/internet_activity_privacy_title" + android:text="@string/dashboard_internet_activity_privacy_title" android:textColor="@color/black" android:textSize="14sp" /> -- cgit v1.2.1