We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4572c61 commit 4d34435Copy full SHA for 4d34435
compose/snippets/src/main/java/com/example/compose/snippets/glance/GlanceSnippets.kt
@@ -149,14 +149,17 @@ private object CreateUI {
149
150
provideContent {
151
// create your AppWidget here
152
- MyContent()
+ GlanceTheme {
153
+ MyContent()
154
+ }
155
}
156
157
158
@Composable
159
private fun MyContent() {
160
Column(
- modifier = GlanceModifier.fillMaxSize(),
161
+ modifier = GlanceModifier.fillMaxSize()
162
+ .background(GlanceTheme.colors.background),
163
verticalAlignment = Alignment.Top,
164
horizontalAlignment = Alignment.CenterHorizontally
165
) {
0 commit comments