[MWA-5265] Meta Demo: Theming via xml
{Clean up dependencies and UI}
This commit is contained in:
parent
907e74114a
commit
68bd499c09
@ -52,15 +52,23 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
// android dependencies from demo app
|
dependencies {
|
||||||
implementation 'androidx.core:core-ktx:1.12.0'
|
implementation 'androidx.core:core-ktx:1.12.0'
|
||||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
implementation 'androidx.compose.foundation:foundation-layout:1.9.4'
|
|
||||||
|
implementation 'androidx.activity:activity-compose:1.9.3'
|
||||||
implementation 'androidx.compose.foundation:foundation:1.9.5'
|
implementation 'androidx.compose.foundation:foundation:1.9.5'
|
||||||
|
implementation 'androidx.compose.foundation:foundation-layout:1.9.4'
|
||||||
|
implementation 'androidx.compose.ui:ui'
|
||||||
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
||||||
|
|
||||||
|
debugImplementation 'androidx.compose.ui:ui-tooling'
|
||||||
|
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.2'
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
||||||
|
}
|
||||||
|
|
||||||
// webid product-plugin
|
// webid product-plugin
|
||||||
//noinspection GradleDependency
|
//noinspection GradleDependency
|
||||||
@ -82,14 +90,4 @@ dependencies {
|
|||||||
implementation ("de.webid-solutions:android_eid_product_plugin:$product_catalog_version") {
|
implementation ("de.webid-solutions:android_eid_product_plugin:$product_catalog_version") {
|
||||||
changing = true
|
changing = true
|
||||||
}
|
}
|
||||||
|
|
||||||
implementation("de.webid-solutions:android_document_scanner:20.3.0-SNAPSHOT")
|
|
||||||
|
|
||||||
// Compose Core Dependencies
|
|
||||||
implementation 'androidx.compose.ui:ui'
|
|
||||||
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
||||||
implementation 'androidx.activity:activity-compose:1.9.3'
|
|
||||||
implementation 'androidx.compose.ui:ui-tooling-preview'
|
|
||||||
debugImplementation 'androidx.compose.ui:ui-tooling'
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -63,7 +63,6 @@ fun MetaPluginDemoScene(
|
|||||||
|
|
||||||
SpacingV4.S.VSpacer()
|
SpacingV4.S.VSpacer()
|
||||||
|
|
||||||
Column {
|
|
||||||
CheckboxWithLabel(
|
CheckboxWithLabel(
|
||||||
checked = useAutoIdent,
|
checked = useAutoIdent,
|
||||||
onCheckedChange = { useAutoIdent = it },
|
onCheckedChange = { useAutoIdent = it },
|
||||||
@ -87,7 +86,6 @@ fun MetaPluginDemoScene(
|
|||||||
onCheckedChange = { useVideoIdent = it },
|
onCheckedChange = { useVideoIdent = it },
|
||||||
label = stringResource(R.string.videoid)
|
label = stringResource(R.string.videoid)
|
||||||
)
|
)
|
||||||
}
|
|
||||||
|
|
||||||
SpacingV4.L.VSpacer()
|
SpacingV4.L.VSpacer()
|
||||||
|
|
||||||
@ -201,8 +199,6 @@ private fun CheckboxWithLabel(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Preview(
|
@Preview(
|
||||||
name = "MetaPluginDemoScreen - Long Log",
|
name = "MetaPluginDemoScreen - Long Log",
|
||||||
showBackground = true,
|
showBackground = true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user