You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> You can create **paged subgroups** as well. To define a paged subgroup, use slashes in group name. If you begin your subgroup's name with `/`, it will be placed inside `Default` group. You can embed the subgroups as deep as you see fit. To navigate between the subgroups, use home button on the action bar or `NAVIGATE TO` button.
145
+
146
+
The following snippet will create group named `Display` with subgroup `Header` and parameters `fontSize` and `fontColor` inside.
147
+
```
148
+
fontSize:
149
+
description: "Font size"
150
+
value: 18
151
+
group: "Display/Header"
152
+
fontColor:
153
+
type: color
154
+
description: "Font color"
155
+
value: "#223344"
156
+
group: "Display/Header"
157
+
```
158
+
144
159
#### Generating Cockpit
145
160
146
161
CockpitPlugin will generate `Cockpit.java` file for you.
@@ -198,15 +213,15 @@ Then add CockpitPlugin classpath into your `buildscript#dependencies`:
Copy file name to clipboardexpand all lines: gradle.properties
+3-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ GROUP=com.polidea.cockpit
20
20
POM_ARTIFACT_ID=cockpit
21
21
POM_NAME=Cockpit
22
22
POM_PACKAGING=aar
23
-
VERSION_NAME=3.0.1
23
+
VERSION_NAME=3.1.0
24
24
25
25
POM_DESCRIPTION=Cockpit is an Android library providing a way to easily define a set of parameters that can be accessed and changed by the developers via built-in compact UI at runtime.
0 commit comments