summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorZeapo <mohamed@zenadi.com>2014-07-26 20:57:33 +0100
committerZeapo <mohamed@zenadi.com>2014-07-26 20:57:33 +0100
commit1c4defa4c96537300528f119695ca8fdc5f4c625 (patch)
treef39861db31f762bf22c15c40fd91ab76d7d236d4 /app/src/main/res
parent6532252f31d032b461d229ba3cf49245b2c5fe85 (diff)
Moved the cloning to settings, needs a nicer icon
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml2
-rw-r--r--app/src/main/res/menu/pwdstore.xml6
-rw-r--r--app/src/main/res/values/strings.xml3
3 files changed, 6 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index 6587524b..8c0a3336 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -35,7 +35,7 @@
<Button
android:id="@+id/clone_button"
android:text="Clone!"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="cloneRepository"/>
</LinearLayout>
diff --git a/app/src/main/res/menu/pwdstore.xml b/app/src/main/res/menu/pwdstore.xml
index 97d4df5b..749cabdd 100644
--- a/app/src/main/res/menu/pwdstore.xml
+++ b/app/src/main/res/menu/pwdstore.xml
@@ -2,8 +2,8 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context=".pwdstore" >
<item android:id="@+id/clone_setting"
- android:title="@string/clone_setting"
+ android:title="@string/clone_settings"
android:orderInCategory="100"
- android:showAsAction="ifRoom"
- android:onClick="getClone"/>
+ android:showAsAction="ifRoom|withText"
+ android:icon="@android:drawable/stat_sys_download"/>
</menu>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7b9de7d3..50acf7e6 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -3,7 +3,8 @@
<string name="app_name">PwdStore</string>
<string name="clone">Clone!</string>
- <string name="clone_setting">Clone</string>
+ <string name="clone_settings">Clone</string>
+ <string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="dialog_delete_title">Directory already exist</string>