google-developer-training / basic-android-kotlin-compose-birthday-card-app

Apache License 2.0
96 stars 75 forks source link

First Android app: Android Basics with Compose #670

Closed D3xt3r000 closed 1 week ago

D3xt3r000 commented 1 week ago

URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-compose-first-app#5

In which task and step of the codelab can this issue be found?

Describe the problem When i add padding to project modifier = modifier.padding(24.dp) import androidx.compose.ui.unit.dp import androidx.compose.foundation.layout.padding

i get error Unresolved reference: GreetingCardTheme

johnshea commented 1 week ago

Hi @D3xt3r000

Thank you for writing in.

Please provide your file MainActivity.kt and also a screenshot so we can help troubleshoot it further.

Regards.

D3xt3r000 commented 1 week ago

Hi, I didn't use "Make sure to use Optimize Imports to alphabetize the new imports." After that program runs correct :)

You can close this Issue #670 Regards

czw., 25 kwi 2024 o 16:17 John Shea @.***> napisał(a):

Hi @D3xt3r000 https://github.com/D3xt3r000

Thank you for writing in.

Please provide your file MainActivity.kt and also a screenshot so we can help troubleshoot it further.

Regards.

— Reply to this email directly, view it on GitHub https://github.com/google-developer-training/basic-android-kotlin-compose-birthday-card-app/issues/670#issuecomment-2077318188, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICOGCVWTZJLRTGBD7JS7D3Y7EF67AVCNFSM6AAAAABGYXOKLSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXGMYTQMJYHA . You are receiving this because you were mentioned.Message ID: <google-developer-training/basic-android-kotlin-compose-birthday-card-app/issues/670/2077318188 @github.com>

johnshea commented 1 week ago

Hi @D3xt3r000

Glad you were able to figure out your issue.

Hope you are enjoying the course!

Regards.