From 53d201b1f265e01596f088929cc90671239191ad Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 4 Mar 2017 08:27:25 +0100 Subject: [PATCH] Updated legend Closes #487 --- app/src/main/res/layout/legend.xml | 133 +++++++++++++++++++++------- app/src/main/res/values/strings.xml | 3 + 2 files changed, 103 insertions(+), 33 deletions(-) diff --git a/app/src/main/res/layout/legend.xml b/app/src/main/res/layout/legend.xml index 082d50f4..ad56e177 100644 --- a/app/src/main/res/layout/legend.xml +++ b/app/src/main/res/layout/legend.xml @@ -1,14 +1,14 @@ + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingBottom="40dp" + android:paddingEnd="16dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:paddingStart="16dp" + android:paddingTop="16dp"> + android:src="@mipmap/ic_launcher"/> + android:textStyle="bold"/> + android:background="?attr/colorPrimary" + android:src="@drawable/ic_security_white_24dp_60"/> + android:text="@string/msg_inactive" + android:textAppearance="@style/TextMedium"/> + android:src="?attr/iconQueue"/> + + + + + + + + android:textAppearance="@style/TextMedium"/> + android:src="@drawable/wifi_on"/> + android:textAppearance="@style/TextMedium"/> + android:src="@drawable/wifi_off"/> + android:textAppearance="@style/TextMedium"/> + + + + + + + + android:src="@drawable/other_on"/> + android:textAppearance="@style/TextMedium"/> + android:src="@drawable/other_off"/> + android:textAppearance="@style/TextMedium"/> + + + + + + + + android:src="@drawable/screen_on"/> + android:textAppearance="@style/TextMedium"/> + android:textSize="14sp"/> + android:textAppearance="@style/TextMedium"/> + android:src="@drawable/host_allowed"/> + android:textAppearance="@style/TextMedium"/> + android:src="@drawable/host_blocked"/> + android:textAppearance="@style/TextMedium"/> + android:textAppearance="@style/TextMedium"/> \ 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 1e91b290..506e69e2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -198,6 +198,7 @@ Your internet traffic is not being sent to a remote VPN server. Start forwarding from %1$s port %2$d to %3$s:%4$d of \'%5$s\'? Stop forwarding of %1$s port %2$d? Network is metered + No active internet connection NetGuard is busy Update available, tap to download You can allow (greenish) or deny (reddish) Wi-Fi or mobile internet access to by tapping on the icons next to an application @@ -209,8 +210,10 @@ Your internet traffic is not being sent to a remote VPN server. Unmetered traffic is allowed Unmetered traffic is blocked + Unmetered rules are not applied Metered traffic is allowed Metered traffic is blocked + Metered rules are not applied Address is allowed Address is blocked Allow when screen is on