diff --git a/plugins/Layout-Editor/README.md b/plugins/Layout-Editor/README.md index 84c6f3dd1..3f62478d5 100644 --- a/plugins/Layout-Editor/README.md +++ b/plugins/Layout-Editor/README.md @@ -30,12 +30,12 @@ and libraries and links only against the stable `plugin-api` contract. ## Architecture ``` -layout-editor/ +plugins/Layout-Editor/ ├── build.gradle.kts, settings.gradle.kts, proguard-rules.pro -├── layout-editor-documentation.html # full reference for this plugin +├── layout-editor.html # full reference for this plugin ├── src/main/ │ ├── AndroidManifest.xml # plugin id, main class, icons, permissions -│ ├── assets/ # icons, tooltips.json, widgetclasses.json, palette/, attributes/, editor/ +│ ├── assets/ # icons, widgetclasses.json, palette/, attributes/, editor/ │ ├── kotlin|java/.../layouteditor/ │ │ ├── LayoutEditorPlugin.kt # entry point: toolbar action, enable rule, tooltips, build-status │ │ ├── LayoutEditorFragment.kt # full-screen editor: canvas, palette, component tree, drawer @@ -99,7 +99,7 @@ builder copies the built APK into the `.cgp` and then deletes the source APK. ## Documentation -`layout-editor-documentation.html` is the full reference for this plugin. In the IDE, +`layout-editor.html` is the full reference for this plugin. In the IDE, long-press any control, palette item, or attribute for its tooltip. ## License diff --git a/plugins/Layout-Editor/build.gradle.kts b/plugins/Layout-Editor/build.gradle.kts index b319474dd..a14eeeb32 100644 --- a/plugins/Layout-Editor/build.gradle.kts +++ b/plugins/Layout-Editor/build.gradle.kts @@ -15,8 +15,8 @@ android { applicationId = "org.appdevforall.codeonthego.layouteditor" minSdk = 26 targetSdk = 36 - versionCode = 1 - versionName = "1.0.0" + versionCode = 2 + versionName = "2.0.0" } buildTypes { diff --git a/plugins/Layout-Editor/layout-editor.html b/plugins/Layout-Editor/layout-editor.html index 6645558fc..696c972b4 100644 --- a/plugins/Layout-Editor/layout-editor.html +++ b/plugins/Layout-Editor/layout-editor.html @@ -175,8 +175,10 @@

Documentation on demand

Every control, palette item, and attribute carries a tooltip. Long-press it to read a short description, with a button through to the IDE's fuller - documentation. The entries come from the plugin's - DocumentationExtension. + documentation. A widget shows the IDE's java entry for its class, + such as android.widget.TextView, and an attribute shows the IDE's + xml entry for its name. The editor's own controls use entries from + the plugin's DocumentationExtension.

@@ -189,11 +191,11 @@

File layout

  • plugins/Layout-Editor/