diff options
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/colors.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 33 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 16 |
4 files changed, 65 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..5e30dc2 --- /dev/null +++ b/app/src/main/res/values/colors.xml | |||
@@ -0,0 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <resources> | ||
3 | <color name="textPrimary">#FFFFFFFF</color> | ||
4 | <color name="colorPrimary">#424242</color> | ||
5 | <color name="colorPrimaryDark">#212121</color> | ||
6 | <color name="colorAccent">#FBC02D</color> | ||
7 | </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..9d64c93 --- /dev/null +++ b/app/src/main/res/values/dimens.xml | |||
@@ -0,0 +1,9 @@ | |||
1 | <resources> | ||
2 | <!-- Default screen margins, per the Android Design guidelines. --> | ||
3 | <dimen name="activity_horizontal_margin">16dp</dimen> | ||
4 | <dimen name="activity_vertical_margin">16dp</dimen> | ||
5 | <dimen name="dialog_horizontal_margin">20dp</dimen> | ||
6 | <dimen name="dialog_vertical_margin">20dp</dimen> | ||
7 | <dimen name="appbar_padding_top">0dp</dimen> | ||
8 | <dimen name="text_margin">16dp</dimen> | ||
9 | </resources> | ||
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..943f9b2 --- /dev/null +++ b/app/src/main/res/values/strings.xml | |||
@@ -0,0 +1,33 @@ | |||
1 | <resources> | ||
2 | <string name="app_name">Tinc App</string> | ||
3 | <string name="app_label">Tinc</string> | ||
4 | <string name="app_short_desc">Android binding and user interface for the tinc mesh VPN daemon.</string> | ||
5 | <string name="app_copyright">Copyright 2017 Pacien.</string> | ||
6 | <string name="app_license">Software distributed under the terms of the GNU General Public License v3.</string> | ||
7 | <string name="app_website_url">http://tincapp.pacien.org</string> | ||
8 | |||
9 | <string name="info_version_format">App version %1$s (%2$s build)</string> | ||
10 | <string name="info_running_on_format">Running on Android %1$s %2$s</string> | ||
11 | <string name="info_supported_abis_format">Device ABIs: %1$s</string> | ||
12 | |||
13 | <string name="menu_about">About this app</string> | ||
14 | <string name="menu_display_conf_dir">Show configuration directory</string> | ||
15 | |||
16 | <string name="field_net_name">Tinc network name</string> | ||
17 | |||
18 | <string name="title_tinc_config_dir">Tinc config directory</string> | ||
19 | <string name="title_connect_to_network">Connect to network</string> | ||
20 | <string name="title_request_vpn_permissions">Request VPN permissions</string> | ||
21 | |||
22 | <string name="action_close">Close</string> | ||
23 | <string name="action_copy">Copy</string> | ||
24 | <string name="action_open_project_website">Project website</string> | ||
25 | <string name="action_fix_perms">Set conf editable</string> | ||
26 | <string name="action_connect">Connect</string> | ||
27 | |||
28 | <string name="message_perms_fixed">New permissions successfully applied.</string> | ||
29 | <string name="message_perms_fix_failure">Error encountered when setting new permissions.</string> | ||
30 | <string name="message_text_copied">Text copied to clipboard.</string> | ||
31 | <string name="message_vpn_permissions_granted">VPN permissions granted.</string> | ||
32 | <string name="message_vpn_permissions_denied">VPN permissions denied.</string> | ||
33 | </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..6b849c8 --- /dev/null +++ b/app/src/main/res/values/styles.xml | |||
@@ -0,0 +1,16 @@ | |||
1 | <resources> | ||
2 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> | ||
3 | <item name="colorPrimary">@color/colorPrimary</item> | ||
4 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> | ||
5 | <item name="colorAccent">@color/colorAccent</item> | ||
6 | </style> | ||
7 | |||
8 | <style name="AppTheme.NoActionBar"> | ||
9 | <item name="windowActionBar">false</item> | ||
10 | <item name="windowNoTitle">true</item> | ||
11 | </style> | ||
12 | |||
13 | <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/> | ||
14 | |||
15 | <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/> | ||
16 | </resources> | ||