mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-16 11:28:40 +00:00
Initial basic application
This commit is contained in:
3
resources/drawables/drawables.xml
Normal file
3
resources/drawables/drawables.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<drawables>
|
||||
<bitmap id="LauncherIcon" filename="launcher_icon.png" />
|
||||
</drawables>
|
BIN
resources/drawables/launcher_icon.png
Normal file
BIN
resources/drawables/launcher_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
6
resources/layouts/layout.xml
Normal file
6
resources/layouts/layout.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<layout id="MainLayout">
|
||||
<label x="center" y="5" text="@Strings.prompt" color="Graphics.COLOR_BLACK" justification="Graphics.TEXT_JUSTIFY_CENTER" />
|
||||
<!--
|
||||
<bitmap id="id_monkey" x="center" y="30" filename="../drawables/monkey.png" />
|
||||
-->
|
||||
</layout>
|
4
resources/menus/menu.xml
Normal file
4
resources/menus/menu.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<menu id="MainMenu">
|
||||
<menu-item id="item_1" label="@Strings.menu_label_1" />
|
||||
<menu-item id="item_2" label="@Strings.menu_label_2" />
|
||||
</menu>
|
3
resources/settings/properties.xml
Normal file
3
resources/settings/properties.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<properties>
|
||||
<property id="api_key" type="string"></property>
|
||||
</properties>
|
11
resources/settings/settings.xml
Normal file
11
resources/settings/settings.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<settings>
|
||||
<setting
|
||||
propertyKey="@Properties.api_key"
|
||||
title="API Key for Home Assistant"
|
||||
prompt="Long-Lived Access Token"
|
||||
>
|
||||
<settingConfig
|
||||
type="alphaNumeric"
|
||||
/>
|
||||
</setting>
|
||||
</settings>
|
8
resources/strings/strings.xml
Normal file
8
resources/strings/strings.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<strings>
|
||||
<string id="AppName">HomeAssistant</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>
|
||||
</strings>
|
Reference in New Issue
Block a user