chore: remove orphaned scaffold menu/layout resources, tidy strings to Padel

- Delete resources/menus/menu.xml (scaffold menu, replaced by custom UI in Task 8)
- Delete resources/layouts/layout.xml (scaffold layout, view now draws in onUpdate)
- Trim resources/strings/strings.xml to AppName="Padel" only; remove prompt,
  menu_label_1, menu_label_2 which were only referenced by the deleted files
- Release build: BUILD SUCCESSFUL
- Unit tests: PASSED (passed=16, failed=0, errors=0)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-04 11:30:27 +02:00
parent ae101d1b88
commit ffb8149c45
3 changed files with 1 additions and 14 deletions

View File

@@ -1,4 +0,0 @@
<layout id="MainLayout" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://developer.garmin.com/downloads/connect-iq/resources.xsd">
<label x="center" y="5" text="@Strings.prompt" color="Graphics.COLOR_WHITE" justification="Graphics.TEXT_JUSTIFY_CENTER" />
<bitmap id="id_monkey" x="center" y="30" filename="../drawables/monkey.png" />
</layout>

View File

@@ -1,4 +0,0 @@
<menu id="MainMenu" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://developer.garmin.com/downloads/connect-iq/resources.xsd">
<menu-item id="item_1" label="@Strings.menu_label_1" />
<menu-item id="item_2" label="@Strings.menu_label_2" />
</menu>

View File

@@ -1,8 +1,3 @@
<strings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://developer.garmin.com/downloads/connect-iq/resources.xsd">
<string id="AppName">garmin-padel</string>
<string id="prompt">Click the menu button</string>
<string id="menu_label_1">Item 1</string>
<string id="menu_label_2">Item 2</string>
<string id="AppName">Padel</string>
</strings>