diff options
Diffstat (limited to 'app/src/main/res/layout')
| -rw-r--r-- | app/src/main/res/layout/activity_git_clone.xml | 40 | ||||
| -rw-r--r-- | app/src/main/res/layout/activity_pwdstore.xml | 17 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml new file mode 100644 index 00000000..01b18d26 --- /dev/null +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -0,0 +1,40 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + tools:context="com.zeapo.pwdstore.GitClone"> + + <LinearLayout + android:orientation="vertical" + android:layoutDirection="ltr" + android:layout_width="fill_parent" + android:layout_height="match_parent"> + <EditText + android:hint="Repository" + android:id="@+id/clone_uri" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + <Spinner + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/connection_mode"></Spinner> + + <LinearLayout + android:id="@+id/config_layout" + android:layout_width="match_parent" + android:layout_height="wrap_content"></LinearLayout> + + <Button + android:id="@+id/clone_button" + android:text="Clone!" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:onClick="cloneRepository"/> + </LinearLayout> + + +</RelativeLayout> diff --git a/app/src/main/res/layout/activity_pwdstore.xml b/app/src/main/res/layout/activity_pwdstore.xml new file mode 100644 index 00000000..1420c906 --- /dev/null +++ b/app/src/main/res/layout/activity_pwdstore.xml @@ -0,0 +1,17 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + tools:context=".pwdstore"> + + <Button + android:text="@string/clone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="getClone"/> + +</RelativeLayout> |
