summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml14
-rw-r--r--app/src/main/res/menu/git_clone.xml2
2 files changed, 10 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index de3f0b0e..07d57934 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -6,7 +6,7 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
- tools:context="com.zeapo.pwdstore.GitHandler"
+ tools:context="com.zeapo.pwdstore.git.GitHandler"
android:background="@android:color/white">
<LinearLayout
android:layout_width="match_parent"
@@ -73,7 +73,8 @@
android:layout_toEndOf="@+id/label_server_user"
android:layout_toRightOf="@+id/label_server_user"
android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"/>
+ android:layout_alignParentEnd="true"
+ android:inputType="textWebEmailAddress"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
@@ -100,7 +101,8 @@
android:layout_toEndOf="@+id/label_server_url"
android:layout_toRightOf="@+id/label_server_url"
android:layout_toLeftOf="@+id/label_server_port"
- android:layout_toStartOf="@+id/label_server_port" />
+ android:layout_toStartOf="@+id/label_server_port"
+ android:inputType="textWebEmailAddress" />
<TextView
android:layout_width="wrap_content"
@@ -116,7 +118,8 @@
android:layout_height="wrap_content"
android:hint="@string/server_port_hint"
android:id="@+id/server_port"
- android:layout_alignParentRight="true"/>
+ android:layout_alignParentRight="true"
+ android:inputType="number"/>
</RelativeLayout>
@@ -145,7 +148,8 @@
android:layout_toEndOf="@+id/label_server_path"
android:layout_toRightOf="@+id/label_server_path"
android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"/>
+ android:layout_alignParentEnd="true"
+ android:inputType="textWebEmailAddress"/>
</RelativeLayout>
diff --git a/app/src/main/res/menu/git_clone.xml b/app/src/main/res/menu/git_clone.xml
index e414f0b9..4a240712 100644
--- a/app/src/main/res/menu/git_clone.xml
+++ b/app/src/main/res/menu/git_clone.xml
@@ -1,7 +1,7 @@
<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="com.zeapo.pwdstore.GitHandler" >
+ tools:context="com.zeapo.pwdstore.git.GitHandler" >
<item android:id="@+id/user_pref"
android:title="@string/action_settings"
android:orderInCategory="100"