Added note about other ways to get the pro features

This commit is contained in:
M66B 2016-01-07 10:38:59 +01:00
parent cbcf6b108a
commit 6cb74b5ac2
3 changed files with 14 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.text.method.LinkMovementMethod;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
@ -68,6 +69,10 @@ public class ActivityPro extends AppCompatActivity {
TextView tvChallenge = (TextView) findViewById(R.id.tvChallenge);
tvChallenge.setText(Build.SERIAL);
// Donate
TextView tvDonate = (TextView) findViewById(R.id.tvDonate);
tvDonate.setMovementMethod(LinkMovementMethod.getInstance());
// Response
try {
final String response = Util.md5(Build.SERIAL, "NetGuard");

View File

@ -173,6 +173,14 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/tvDonate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/title_pro_donate"
android:textAppearance="@android:style/TextAppearance.Material.Medium" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@ -116,6 +116,7 @@ Since NetGuard has no internet permission, you know your internet traffic is not
<string name="title_pro_bought">Enabled</string>
<string name="title_pro_challenge">Challenge</string>
<string name="title_pro_reponse">Response</string>
<string name="title_pro_donate">See <a href="http://www.netguard.me/">here</a> for other ways to get the pro features</string>
<string-array name="themeNames">
<item>teal/orange</item>