diff options
author | zeapo <mohamed@zenadi.com> | 2014-08-23 18:44:54 +0200 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2014-08-23 18:44:54 +0200 |
commit | 734988be283db33d68dfb610e51486a3ba07ad22 (patch) | |
tree | 6fb997358f3ee871bedcd0ef1c140f02b48e21df /app/src/main/res | |
parent | 196813022a694b0b2a3b75c9e785bfd04bbd0ca6 (diff) |
added ssh-key based authentication for clone
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_git_clone.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/xml/preference.xml | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index d4ccbc8a..f8e76cf4 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -15,7 +15,8 @@ android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:orientation="horizontal"> <Spinner android:id="@+id/clone_protocol" android:layout_width="wrap_content" @@ -24,8 +25,9 @@ android:hint="Repository URI" android:id="@+id/clone_uri" android:layout_width="match_parent" - android:layout_height="wrap_content" /> - </LinearLayout> + android:layout_height="wrap_content" + android:inputType="textUri"/> + </LinearLayout> <Spinner android:layout_width="match_parent" diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index d0abd8d1..849be86a 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -10,6 +10,9 @@ <EditTextPreference android:title="Username" android:key="git_remote_username" android:hint="username"/> + <Preference + android:title="SSH Key" + android:key="ssh_key"/> </PreferenceCategory> <PreferenceCategory android:title="Crypto"> |