summaryrefslogtreecommitdiff
path: root/app/java/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/java/res')
-rw-r--r--app/java/res/layout/settings.xml26
-rw-r--r--app/java/res/menu/settings.xml10
-rw-r--r--app/java/res/values/strings.xml8
-rw-r--r--app/java/res/values/styles.xml11
4 files changed, 53 insertions, 2 deletions
diff --git a/app/java/res/layout/settings.xml b/app/java/res/layout/settings.xml
new file mode 100644
index 0000000..5ba8c78
--- /dev/null
+++ b/app/java/res/layout/settings.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:orientation="vertical"
+ tools:context=".SettingsActivity"
+>
+
+ <TextureView
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/surface_view"
+ />
+
+ <!-- USE_WIFI_LISTENER -->
+ <!-- SELECT_FROM_KNOWN_SSIDS -->
+
+ <!-- USE_AUTOMATIC_DNS/PIHOLE_SERVER_DISCOVERY -->
+ <!-- SET_MANUAL_DNS/PIHOLE_SERVER_IP -->
+</FrameLayout>
diff --git a/app/java/res/menu/settings.xml b/app/java/res/menu/settings.xml
new file mode 100644
index 0000000..2d86504
--- /dev/null
+++ b/app/java/res/menu/settings.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu
+ xmlns:android="http://schemas.android.com/apk/res/android"
+>
+ <item
+ android:id="@+id/menu__settings"
+ android:title="@string/menu__settings"
+ android:orderInCategory="100"
+ />
+</menu>
diff --git a/app/java/res/values/strings.xml b/app/java/res/values/strings.xml
index 2f5e4e6..bd4f88b 100644
--- a/app/java/res/values/strings.xml
+++ b/app/java/res/values/strings.xml
@@ -12,9 +12,13 @@
</string>
<string name="button_start__start">
- Start Proxy
+ Start
</string>
<string name="button_start__stop">
- Stop Proxy
+ Stop
+ </string>
+
+ <string name="menu__settings">
+ Settings
</string>
</resources>
diff --git a/app/java/res/values/styles.xml b/app/java/res/values/styles.xml
new file mode 100644
index 0000000..d5037d5
--- /dev/null
+++ b/app/java/res/values/styles.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="button_start__start" parent="@android:style/Widget.Button">
+ <item name="android:background">#96060C</item>
+ <item name="android:textColor">@android:color/white</item>
+ </style>
+ <style name="button_start__stop" parent="@android:style/Widget.Button">
+ <item name="android:background">#22B225</item>
+ <item name="android:textColor">@android:color/white</item>
+ </style>
+</resources>