Finishing off widget+app code changes.

Glance now updates the status.
Fix for quitting the application when persistently displaying an ErrorView.
Added option for Widget RootView to immediately start HomeAssistant without waiting for a tap as requested by a user.
This commit is contained in:
Philip Abbey
2023-12-23 14:30:58 +00:00
parent 3de2e25b5d
commit 76c2aaa249
42 changed files with 272 additions and 107 deletions

View File

@ -36,8 +36,22 @@
-->
<property id="confirm_timeout" type="number">3</property>
<!--
Lean UI vs second level of menu text.
-->
<property id="types_representation" type="boolean"></property>
<!--
left to right or right-to-left text. Language dependent.
-->
<property id="menu_alignment" type="boolean"></property>
<!--
Widget specific setting:
As soon as the menu has been fetched start show the menu of items.
This behaviour is inconsistent with the standard Garmin User Interface, but has been
requested by users so has been made the non-default option.
-->
<property id="widget_start_no_tap" type="boolean"></property>
</properties>

View File

@ -81,4 +81,13 @@
/>
</setting>
<setting
propertyKey="@Properties.widget_start_no_tap"
title="@Strings.SettingsWidgetStart"
>
<settingConfig
type="boolean"
/>
</setting>
</settings>

View File

@ -34,6 +34,7 @@
<string id="Available" scope="glance">Available</string>
<string id="Checking" scope="glance">Checking...</string>
<string id="Unavailable" scope="glance">Unavailable</string>
<string id="Unconfigured" scope="glance">Unconfigured</string>
<string id="GlanceMenu" scope="glance">Menu</string>
<!-- For the settings GUI -->
@ -45,4 +46,5 @@
<string id="SettingsConfirmTimeout">After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled. Set to 0 to disable the timeout.</string>
<string id="SettingsUi">Representing types with icons (off) or with labels (on).</string>
<string id="SettingsTextAlign">Left (off) or Right (on) Menu Alignment.</string>
<string id="SettingsWidgetStart">(Widget only) Automatically start the application from the widget without waiting for a tap.</string>
</strings>