aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/menu
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/menu_status.xml8
-rw-r--r--app/src/main/res/menu/menu_viewlog.xml13
2 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/menu/menu_status.xml b/app/src/main/res/menu/menu_status.xml
index 4b7c7dc..7415aeb 100644
--- a/app/src/main/res/menu/menu_status.xml
+++ b/app/src/main/res/menu/menu_status.xml
@@ -11,4 +11,12 @@
11 android:title="@string/menu_disconnect" 11 android:title="@string/menu_disconnect"
12 app:showAsAction="ifRoom"/> 12 app:showAsAction="ifRoom"/>
13 13
14 <item
15 android:id="@+id/menu_show_log"
16 android:icon="@drawable/ic_receipt_primary_24dp"
17 android:onClick="openLogViewer"
18 android:tint="@color/colorAccent"
19 android:title="@string/menu_show_log"
20 app:showAsAction="ifRoom"/>
21
14</menu> 22</menu>
diff --git a/app/src/main/res/menu/menu_viewlog.xml b/app/src/main/res/menu/menu_viewlog.xml
new file mode 100644
index 0000000..ee3c60f
--- /dev/null
+++ b/app/src/main/res/menu/menu_viewlog.xml
@@ -0,0 +1,13 @@
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.ViewLogActivity">
5
6 <item
7 android:icon="@drawable/ic_pause_circle_outline_primary_24dp"
8 android:onClick="toggleLogging"
9 android:tint="@color/colorAccent"
10 android:title="@string/menu_toggle_logging"
11 app:showAsAction="ifRoom"/>
12
13</menu>