From ec922f139fb7ddf046aba10758535190a36d66e3 Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Thu, 9 Jun 2016 22:21:49 +0200 Subject: [PATCH] Added first design of a SettingsActivity --- app/src/main/AndroidManifest.xml | 6 +++ .../activity/MainActivity.java | 4 +- .../activity/SettingsActivity.java | 41 ++++++++++++++++++ .../main/res/values/strings-preferences.xml | 33 ++++++++++++++ app/src/main/res/xml/preferences.xml | 43 +++++++++++++++++++ 5 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 app/src/main/java/com/github/dfa/diaspora_android/activity/SettingsActivity.java create mode 100644 app/src/main/res/values/strings-preferences.xml create mode 100644 app/src/main/res/xml/preferences.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d89beb83..ea60ae3a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -41,6 +41,12 @@ android:theme="@style/AppTheme.NoActionBar" android:label="@string/diaspora"> + + + + + Look and Feel + Network + + + + Font size + + Normal + Large + Huge + + + normal + big + huge + + + Desktop mode + Load full desktop site instead of mobile view + + + Load images + You can disable image loading to safe mobile data + + + Enable Proxy + Host + Port + + \ No newline at end of file diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml new file mode 100644 index 00000000..9ce53d3d --- /dev/null +++ b/app/src/main/res/xml/preferences.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + \ No newline at end of file