diff options
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/colors.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/values/dimens.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 39 | ||||
-rw-r--r-- | app/src/main/res/values/themes.xml | 25 |
4 files changed, 78 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..f8c6127 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="purple_200">#FFBB86FC</color> + <color name="purple_500">#FF6200EE</color> + <color name="purple_700">#FF3700B3</color> + <color name="teal_200">#FF03DAC5</color> + <color name="teal_700">#FF018786</color> + <color name="black">#FF000000</color> + <color name="white">#FFFFFFFF</color> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..cf00d3f --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,4 @@ +<resources> + <dimen name="fab_margin">16dp</dimen> + <dimen name="text_margin">16dp</dimen> +</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..97e603d --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,39 @@ +<resources> + <string name="app_name">Rempe</string> + <string name="action_remove_all">Remove all</string> + <string name="action_settings">Settings</string> + + <string name="fab_add_device">Add device...</string> + <string name="add_device_failed">Cannot connect to device: %1$s</string> + <string name="add_device_already">Device already on list</string> + + <string name="device_placeholder_name">Device</string> + <string name="device_placeholder_status">Status</string> + + <string name="temperature_nothing">--</string> + <string name="temperature_celsius">%1$s °C</string> + + <string name="signal_level">Signal:</string> + + <string name="state_dead">Disconnected</string> + <string name="state_closed">Disconnected</string> + <string name="state_searching">Searching</string> + <string name="state_tracking">Tracking</string> + <string name="state_processing">Processing request</string> + <string name="state_unrecognized">Unrecognized</string> + <string name="state_unknown">Unknown state</string> + + <string name="connection_result_success">Success</string> + <string name="connection_result_user_cancelled">User cancelled</string> + <string name="connection_result_channel_not_available">Channel not available</string> + <string name="connection_result_other_failure">Unknown failure</string> + <string name="connection_result_dependency_not_installed">ANT+ dependencies not installed</string> + <string name="connection_result_device_already_in_use">Device already in use</string> + <string name="connection_result_search_timeout">Search timed out</string> + <string name="connection_result_already_subscribed">Already subscribed</string> + <string name="connection_result_bad_params">Bad parameters</string> + <string name="connection_result_adapter_not_detected">Adapter not detected</string> + <string name="connection_result_unrecognized">Unrecognized device</string> + <string name="connection_result_unknown">Unknown failure</string> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..e59570a --- /dev/null +++ b/app/src/main/res/values/themes.xml @@ -0,0 +1,25 @@ +<resources xmlns:tools="http://schemas.android.com/tools"> + <!-- Base application theme. --> + <style name="Theme.Rempe" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> + <!-- Primary brand color. --> + <item name="colorPrimary">@color/purple_500</item> + <item name="colorPrimaryVariant">@color/purple_700</item> + <item name="colorOnPrimary">@color/white</item> + <!-- Secondary brand color. --> + <item name="colorSecondary">@color/teal_200</item> + <item name="colorSecondaryVariant">@color/teal_700</item> + <item name="colorOnSecondary">@color/black</item> + <!-- Status bar color. --> + <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> + <!-- Customize your theme here. --> + </style> + + <style name="Theme.Rempe.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> + + <style name="Theme.Rempe.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> + + <style name="Theme.Rempe.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> +</resources>
\ No newline at end of file |