summaryrefslogtreecommitdiff
path: root/remoteExample/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'remoteExample/src/main/res')
-rw-r--r--remoteExample/src/main/res/drawable-hdpi/ic_launcher2.pngbin0 -> 7783 bytes
-rw-r--r--remoteExample/src/main/res/drawable-mdpi/ic_launcher2.pngbin0 -> 3760 bytes
-rw-r--r--remoteExample/src/main/res/drawable-xhdpi/ic_launcher2.pngbin0 -> 12356 bytes
-rw-r--r--remoteExample/src/main/res/drawable-xxhdpi/ic_launcher2.pngbin0 -> 24780 bytes
-rw-r--r--remoteExample/src/main/res/layout/activity_main.xml7
-rw-r--r--remoteExample/src/main/res/layout/fragment_main.xml16
-rw-r--r--remoteExample/src/main/res/menu/main.xml9
-rw-r--r--remoteExample/src/main/res/values-w820dp/dimens.xml6
-rw-r--r--remoteExample/src/main/res/values/dimens.xml6
-rw-r--r--remoteExample/src/main/res/values/strings.xml8
-rw-r--r--remoteExample/src/main/res/values/styles.xml8
11 files changed, 60 insertions, 0 deletions
diff --git a/remoteExample/src/main/res/drawable-hdpi/ic_launcher2.png b/remoteExample/src/main/res/drawable-hdpi/ic_launcher2.png
new file mode 100644
index 00000000..55621cc1
--- /dev/null
+++ b/remoteExample/src/main/res/drawable-hdpi/ic_launcher2.png
Binary files differ
diff --git a/remoteExample/src/main/res/drawable-mdpi/ic_launcher2.png b/remoteExample/src/main/res/drawable-mdpi/ic_launcher2.png
new file mode 100644
index 00000000..11ec2068
--- /dev/null
+++ b/remoteExample/src/main/res/drawable-mdpi/ic_launcher2.png
Binary files differ
diff --git a/remoteExample/src/main/res/drawable-xhdpi/ic_launcher2.png b/remoteExample/src/main/res/drawable-xhdpi/ic_launcher2.png
new file mode 100644
index 00000000..7c02b784
--- /dev/null
+++ b/remoteExample/src/main/res/drawable-xhdpi/ic_launcher2.png
Binary files differ
diff --git a/remoteExample/src/main/res/drawable-xxhdpi/ic_launcher2.png b/remoteExample/src/main/res/drawable-xxhdpi/ic_launcher2.png
new file mode 100644
index 00000000..915d9144
--- /dev/null
+++ b/remoteExample/src/main/res/drawable-xxhdpi/ic_launcher2.png
Binary files differ
diff --git a/remoteExample/src/main/res/layout/activity_main.xml b/remoteExample/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..42dd4dfb
--- /dev/null
+++ b/remoteExample/src/main/res/layout/activity_main.xml
@@ -0,0 +1,7 @@
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="de.blinkt.openvpn.remote.MainActivity"
+ tools:ignore="MergeRootFrame" />
diff --git a/remoteExample/src/main/res/layout/fragment_main.xml b/remoteExample/src/main/res/layout/fragment_main.xml
new file mode 100644
index 00000000..fef7793f
--- /dev/null
+++ b/remoteExample/src/main/res/layout/fragment_main.xml
@@ -0,0 +1,16 @@
+<RelativeLayout 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"
+ tools:context="de.blinkt.openvpn.remote.MainActivity$PlaceholderFragment">
+
+ <TextView
+ android:text="@string/hello_world"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+</RelativeLayout>
diff --git a/remoteExample/src/main/res/menu/main.xml b/remoteExample/src/main/res/menu/main.xml
new file mode 100644
index 00000000..f732c1b4
--- /dev/null
+++ b/remoteExample/src/main/res/menu/main.xml
@@ -0,0 +1,9 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="de.blinkt.openvpn.remote.MainActivity" >
+
+ <item android:id="@+id/action_settings"
+ android:title="@string/action_settings"
+ android:orderInCategory="100"
+ android:showAsAction="never" />
+</menu>
diff --git a/remoteExample/src/main/res/values-w820dp/dimens.xml b/remoteExample/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 00000000..63fc8164
--- /dev/null
+++ b/remoteExample/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+<resources>
+ <!-- Example customization of dimensions originally defined in res/values/dimens.xml
+ (such as screen margins) for screens with more than 820dp of available width. This
+ would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
+ <dimen name="activity_horizontal_margin">64dp</dimen>
+</resources>
diff --git a/remoteExample/src/main/res/values/dimens.xml b/remoteExample/src/main/res/values/dimens.xml
new file mode 100644
index 00000000..a0171a70
--- /dev/null
+++ b/remoteExample/src/main/res/values/dimens.xml
@@ -0,0 +1,6 @@
+<resources>
+ <!-- Default screen margins, per the Android Design guidelines. -->
+ <dimen name="activity_horizontal_margin">16dp</dimen>
+ <dimen name="activity_vertical_margin">16dp</dimen>
+
+ </resources>
diff --git a/remoteExample/src/main/res/values/strings.xml b/remoteExample/src/main/res/values/strings.xml
new file mode 100644
index 00000000..c1da58ca
--- /dev/null
+++ b/remoteExample/src/main/res/values/strings.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">My Module</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="action_settings">Settings</string>
+
+</resources>
diff --git a/remoteExample/src/main/res/values/styles.xml b/remoteExample/src/main/res/values/styles.xml
new file mode 100644
index 00000000..ff6c9d2c
--- /dev/null
+++ b/remoteExample/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ </style>
+
+</resources>