diff options
| author | Mohamed Zenadi <mohamed@zenadi.com> | 2015-04-19 20:27:30 +0200 |
|---|---|---|
| committer | Mohamed Zenadi <mohamed@zenadi.com> | 2015-04-19 20:27:30 +0200 |
| commit | 771d8a9415831b5d6fe9cebf574fbf7e5eacd373 (patch) | |
| tree | 3c74a84dce73e1e19b93839b803f509feabe36df /app/src/main/res/menu/main_menu.xml | |
| parent | 6983ef4f82a85cae1e7f83638ce2f5ec37e96ef0 (diff) | |
| download | HardenedPass-771d8a9415831b5d6fe9cebf574fbf7e5eacd373.tar.gz HardenedPass-771d8a9415831b5d6fe9cebf574fbf7e5eacd373.zip | |
Add a Sync command that calls Pull then Push
Fixes #78
Diffstat (limited to 'app/src/main/res/menu/main_menu.xml')
| -rw-r--r-- | app/src/main/res/menu/main_menu.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/src/main/res/menu/main_menu.xml b/app/src/main/res/menu/main_menu.xml new file mode 100644 index 00000000..6f391460 --- /dev/null +++ b/app/src/main/res/menu/main_menu.xml @@ -0,0 +1,36 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:pwstore="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_action_search" + pwstore:showAsAction="ifRoom|collapseActionView" + pwstore:actionViewClass="android.support.v7.widget.SearchView" /> + + <item android:id="@+id/menu_add_password" + android:icon="@drawable/ic_action_new" + pwstore:showAsAction="ifRoom" + android:title="New password"/> + + <!--<item android:id="@+id/menu_add_category"--> + <!--android:title="New category"/>--> + + <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="Refresh list" + pwstore:showAsAction="never" + android:icon="@drawable/ic_action_refresh"/> + + <item android:id="@+id/user_pref" + android:title="Settings" + android:orderInCategory="100"/> +</menu> + |
