aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/menu/main_menu_git.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-03 01:39:16 +0530
committerGitHub <noreply@github.com>2020-05-03 01:39:16 +0530
commit69e887f3d8602438389161449bdff4539c67c72e (patch)
tree79a5c235d98fbd66e9362cff7ca0719fbe3385b4 /app/src/main/res/menu/main_menu_git.xml
parentced8bcca01dc2545edc3ef17e0cd44922dd97e61 (diff)
downloadHardenedPass-69e887f3d8602438389161449bdff4539c67c72e.tar.gz
HardenedPass-69e887f3d8602438389161449bdff4539c67c72e.zip
Better handle non-git repositories (#756)
Diffstat (limited to 'app/src/main/res/menu/main_menu_git.xml')
-rw-r--r--app/src/main/res/menu/main_menu_git.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/src/main/res/menu/main_menu_git.xml b/app/src/main/res/menu/main_menu_git.xml
new file mode 100644
index 00000000..40c99550
--- /dev/null
+++ b/app/src/main/res/menu/main_menu_git.xml
@@ -0,0 +1,27 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ tools:context=".pwdstore" >
+
+ <item android:id="@+id/action_search"
+ android:title="@string/action_search"
+ android:icon="@drawable/ic_search_white_24dp"
+ app:showAsAction="always|collapseActionView"
+ app:actionViewClass="androidx.appcompat.widget.SearchView" />
+
+ <item android:id="@+id/git_sync"
+ android:title="@string/git_sync"/>
+ <item android:id="@+id/git_pull"
+ android:title="@string/git_pull"/>
+ <item android:id="@+id/git_push"
+ android:title="@string/git_push"/>
+
+ <item android:id="@+id/refresh"
+ android:title="@string/refresh_list"
+ android:icon="@drawable/ic_refresh_white_24dp"
+ app:showAsAction="never"/>
+
+ <item android:id="@+id/user_pref"
+ android:title="@string/action_settings"
+ android:orderInCategory="100"/>
+</menu>