dhis2_android_configure_ui_patterns
Generate Android UI patterns and components for DHIS2 apps, supporting frameworks like Jetpack Compose and XML layouts. Customize design systems, accessibility, and localization for tailored mobile app development.
Instructions
Generate Android UI patterns and components for DHIS2 apps
Input Schema
Name | Required | Description | Default |
---|---|---|---|
accessibility | No | ||
components | Yes | UI components to generate | |
designSystem | No | ||
localization | No | ||
uiFramework | Yes | UI framework to use |
Input Schema (JSON Schema)
{
"properties": {
"accessibility": {
"properties": {
"contentDescriptions": {
"description": "Generate content descriptions",
"type": "boolean"
},
"largeText": {
"description": "Large text support",
"type": "boolean"
},
"talkback": {
"description": "TalkBack support",
"type": "boolean"
}
},
"type": "object"
},
"components": {
"description": "UI components to generate",
"items": {
"enum": [
"data_entry_form",
"list_adapter",
"navigation_drawer",
"bottom_sheet",
"sync_indicator",
"offline_banner"
],
"type": "string"
},
"type": "array"
},
"designSystem": {
"properties": {
"customColors": {
"properties": {
"primary": {
"description": "Primary color hex code",
"type": "string"
},
"secondary": {
"description": "Secondary color hex code",
"type": "string"
}
},
"type": "object"
},
"darkTheme": {
"description": "Support dark theme",
"type": "boolean"
},
"dhis2Branding": {
"description": "Include DHIS2 branding elements",
"type": "boolean"
},
"materialDesign": {
"description": "Material Design version",
"enum": [
"material2",
"material3"
],
"type": "string"
}
},
"type": "object"
},
"localization": {
"properties": {
"languages": {
"description": "Supported language codes (e.g., [\"en\", \"fr\", \"ar\"])",
"items": {
"type": "string"
},
"type": "array"
},
"rtlSupport": {
"description": "Right-to-left language support",
"type": "boolean"
}
},
"type": "object"
},
"uiFramework": {
"description": "UI framework to use",
"enum": [
"jetpack_compose",
"xml_layouts",
"hybrid"
],
"type": "string"
}
},
"required": [
"uiFramework",
"components"
],
"type": "object"
}