summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/values
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r--app/src/main/res/values/colors.xml6
-rw-r--r--app/src/main/res/values/dimens.xml5
-rw-r--r--app/src/main/res/values/ic_launcher_background.xml4
-rw-r--r--app/src/main/res/values/strings.xml29
-rw-r--r--app/src/main/res/values/styles.xml11
-rw-r--r--app/src/main/res/values/values.xml5
6 files changed, 60 insertions, 0 deletions
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..3ab3e9c
--- /dev/null
+++ b/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="colorPrimary">#3F51B5</color>
+ <color name="colorPrimaryDark">#303F9F</color>
+ <color name="colorAccent">#FF4081</color>
+</resources>
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..47c8224
--- /dev/null
+++ b/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+<resources>
+ <!-- Default screen margins, per the Android Design guidelines. -->
+ <dimen name="activity_horizontal_margin">16dp</dimen>
+ <dimen name="activity_vertical_margin">16dp</dimen>
+</resources>
diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 0000000..5cdbaab
--- /dev/null
+++ b/app/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#FF8000</color>
+</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..dea7c92
--- /dev/null
+++ b/app/src/main/res/values/strings.xml
@@ -0,0 +1,29 @@
+<resources>
+ <string name="app_name">Nextcloud Share Bookmark</string>
+ <string name="sharing_label">Add Bookmark to Nextcloud</string>
+
+ <string name="title_activity_nextcloud_preferences">Nextcloud Share Bookmark Settings</string>
+
+ <!-- Labels related to preference screen -->
+ <string name="server_settings_description">Your credentials are needed to store a bookmark to your Nextcloud instance.</string>
+ <string name="prompt_username">Username</string>
+ <string name="prompt_password">Password</string>
+ <string name="prompt_serverUrl">Server URL</string>
+
+ <!-- Save button on preference screen -->
+ <string name="action_save_credentials">Save credentials</string>
+ <string name="action_save_credentials_short">Save credentials</string>
+
+ <!-- error message for preference screen -->
+ <string name="error_incorrect_password">This password is incorrect</string>
+ <string name="error_field_required">This field is required</string>
+ <string name="error_server_url_invalid">This server URL is invalid</string>
+
+
+ <string name="prompt_checking_credentials">Validating credentials</string>
+
+ <!-- Messages for Toasts -->
+ <string name="toast_settings_update_success">Settings successfully updated</string>
+ <string name="toast_bookmark_add_success">Bookmark successfully set</string>
+ <string name="toast_bookmark_add_failed">Failed to set Bookmark</string>
+</resources>
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..5885930
--- /dev/null
+++ b/app/src/main/res/values/styles.xml
@@ -0,0 +1,11 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ <item name="colorPrimary">@color/colorPrimary</item>
+ <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
+ <item name="colorAccent">@color/colorAccent</item>
+ </style>
+
+</resources>
diff --git a/app/src/main/res/values/values.xml b/app/src/main/res/values/values.xml
new file mode 100644
index 0000000..ccd7941
--- /dev/null
+++ b/app/src/main/res/values/values.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="default_server_url">https://</string>
+ <string name="default_blank"/>
+</resources> \ No newline at end of file