aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-01-07 23:49:03 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2024-05-17 23:28:51 +0200
commit40f6d425a4429b16936cc8bb4900a23c3362a123 (patch)
treecc60a4a6995604f095952d7c3cda83913c92b61a /res/layout
parenta3bfeb15064ab85900e28f0f3f84b88e99c9a466 (diff)
downloadslcl-android-40f6d425a4429b16936cc8bb4900a23c3362a123.tar.gz
WIP
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_directory.xml45
-rw-r--r--res/layout/activity_login.xml93
-rw-r--r--res/layout/activity_main.xml22
3 files changed, 159 insertions, 1 deletions
diff --git a/res/layout/activity_directory.xml b/res/layout/activity_directory.xml
new file mode 100644
index 0000000..cd6db5b
--- /dev/null
+++ b/res/layout/activity_directory.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ slcl-android, an Android frontend for slcl
+ Copyright (C) 2023-2024 Xavier Del Campo Romero
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="slcl, a simple and lightweight cloud"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="URL:"/>
+
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ </LinearLayout>
+</LinearLayout>
diff --git a/res/layout/activity_login.xml b/res/layout/activity_login.xml
new file mode 100644
index 0000000..835a828
--- /dev/null
+++ b/res/layout/activity_login.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ slcl-android, an Android frontend for slcl
+ Copyright (C) 2023-2024 Xavier Del Campo Romero
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="slcl, a simple and lightweight cloud"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="URL:"/>
+
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <CheckBox
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="HTTPS"
+ android:checked="true"
+ android:id="@+id/https"/>
+
+ <EditText
+ android:layout_width="250sp"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:id="@+id/url">
+ <requestFocus/>
+ </EditText>
+
+ </LinearLayout>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Username:"/>
+
+ <EditText
+ android:layout_width="250sp"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:id="@+id/username">
+ </EditText>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Password:"/>
+
+ <EditText
+ android:layout_width="250sp"
+ android:layout_height="wrap_content"
+ android:id="@+id/password"
+ android:inputType="textPassword"/>
+
+ <Button android:id="@+id/button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Login"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/error"/>
+</LinearLayout>
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml
index 2f67c50..1f3d7ae 100644
--- a/res/layout/activity_main.xml
+++ b/res/layout/activity_main.xml
@@ -1,4 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ slcl-android, an Android frontend for slcl
+ Copyright (C) 2023-2024 Xavier Del Campo Romero
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+-->
+
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
@@ -9,5 +28,6 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:id="@+id/my_text"/>
+ android:text="slcl, a simple and lightweight cloud"/>
+
</LinearLayout>