aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2017-07-04 18:51:57 +0200
committerPacien TRAN-GIRARD2017-07-04 18:51:57 +0200
commit80394001852e8400fd2c3d30e441306957d32243 (patch)
tree6835941520e9fc0e63324bb42eb08a4b6d50f746 /app/src/main/res/menu
parent0b3eef56d244bf40598cba66b1e48479ecbdfaef (diff)
downloadtincapp-80394001852e8400fd2c3d30e441306957d32243.tar.gz
Add status activity
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/menu_start.xml2
-rw-r--r--app/src/main/res/menu/menu_status.xml14
2 files changed, 15 insertions, 1 deletions
diff --git a/app/src/main/res/menu/menu_start.xml b/app/src/main/res/menu/menu_start.xml
index 4f455d1..89ad0a2 100644
--- a/app/src/main/res/menu/menu_start.xml
+++ b/app/src/main/res/menu/menu_start.xml
@@ -5,7 +5,7 @@
5 5
6 <item 6 <item
7 android:id="@+id/menu_about" 7 android:id="@+id/menu_about"
8 android:icon="@drawable/ic_build_black_24dp" 8 android:icon="@drawable/ic_build_primary_24dp"
9 android:onClick="openConfigureActivity" 9 android:onClick="openConfigureActivity"
10 android:tint="@color/colorAccent" 10 android:tint="@color/colorAccent"
11 android:title="@string/menu_configure" 11 android:title="@string/menu_configure"
diff --git a/app/src/main/res/menu/menu_status.xml b/app/src/main/res/menu/menu_status.xml
new file mode 100644
index 0000000..8884136
--- /dev/null
+++ b/app/src/main/res/menu/menu_status.xml
@@ -0,0 +1,14 @@
1<menu xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto"
3 xmlns:tools="http://schemas.android.com/tools"
4 tools:context="org.pacien.tincapp.activities.StatusActivity">
5
6 <item
7 android:id="@+id/menu_disconnect"
8 android:icon="@drawable/ic_stop_primary_24dp"
9 android:onClick="stopVpn"
10 android:tint="@color/colorAccent"
11 android:title="@string/menu_disconnect"
12 app:showAsAction="ifRoom"/>
13
14</menu>