home-assistant-android/wear
leroyboerefijn 3d909c621d
Wear OS shortcut Tile (#1842)
* Add non-functional example of favorites tile

* Load real scene entities into the Tile

* Make the tile buttons actionable

* Add icons of the entities

* Add tile preview image

* Also support fewer than 7 entities

* Cleanup and pass ktlint formatting

* Add settings page for tile shortcuts

* Use new settings in Tile

* Make the tile update when the settings are changed

* Support all types of entities in TileActionActivity

* Rename tile and process comments

* ktlint

* Update layout of settings a bit

* Use a string resource like a normal person

* Remove remaining SetTitle instances

* Process review comments and add data class to store entity strings

* Process review comments

* tiny ktlint fix

* Fix broken previews

* Fix white lines after merge

* Move tile refresh to compose function.

* Fix crash when missing friendly name or icon.

* ktlint...

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2021-11-11 16:09:32 -05:00
..
src Wear OS shortcut Tile (#1842) 2021-11-11 16:09:32 -05:00
build.gradle.kts Wear OS shortcut Tile (#1842) 2021-11-11 16:09:32 -05:00
proguard-rules.pro Feature/wear publishing (#1264) 2020-12-27 22:04:37 -05:00