Add complex UI docs and samples
This commit is contained in:
13
README.md
13
README.md
@@ -18,6 +18,10 @@ The type of script is determined by the line (meta tag) at the beginning of the
|
||||
|
||||
# Changelog
|
||||
|
||||
### 5.2.1
|
||||
|
||||
* Added support for complex UIs
|
||||
|
||||
### 5.2.0
|
||||
|
||||
* Added `widgets` module to app widgets interaction
|
||||
@@ -349,8 +353,7 @@ end
|
||||
## Application management
|
||||
|
||||
* `apps:apps([sort_by])` - returns the table of tables of all installed applications;
|
||||
* `apps:app(package_name)` - return the table of tables of the given application;
|
||||
, `sort_by` - sort option (see below);
|
||||
* `apps:app(package_name)` - return the table of the given application;
|
||||
* `apps:launch(package)` - launches the application;
|
||||
* `apps:show_edit_dialog(package)` - shows edit dialog of the application;
|
||||
* `apps:categories()` - returns a table of category tables.
|
||||
@@ -580,6 +583,12 @@ _Avaialble from: 4.1.3_
|
||||
|
||||
All files are created in the subdirectory `/sdcard/Android/data/ru.execbit.aiolauncher/files/scripts` without ability to create subdirectories.
|
||||
|
||||
## Rich UI
|
||||
|
||||
Starting with version 5.2.1, AIO Launcher includes an API that allows for displaying a more complex interface than what the high-level functions of the `ui` module allowed. For example, you can display text of any size, center it, move it up and down, display buttons on the left and right sides of the screen, draw icons of different sizes, and much more. Essentially, you can replicate the appearance of any built-in AIO widget.
|
||||
|
||||
[Detailed instructions](README_RICH_UI.md)
|
||||
|
||||
## App widgets
|
||||
|
||||
Starting from version 5.2.0, AIO Launcher supports interaction with app widgets through scripts. This means that you can create a wrapper for any app's widget that will fully match the appearance and style of AIO. You can also use this API if you need to retrieve information from other applications, such as the balance on your mobile phone account or your car's parking spot. If the application has a widget providing such information, you will be able to access it.
|
||||
|
||||
Reference in New Issue
Block a user