Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifier Issue in RatingInputRow #14

Open
cjparent opened this issue Mar 2, 2023 · 0 comments
Open

Modifier Issue in RatingInputRow #14

cjparent opened this issue Mar 2, 2023 · 0 comments

Comments

@cjparent
Copy link

cjparent commented Mar 2, 2023

URL of codelab:

https://developer.android.com/codelabs/basic-android-kotlin-compose-view-interop?authuser=2&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-8-pathway-2%3Fauthuser%3D2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-view-interop#4

Specify the language of the codelab if it is not English:

In which task and step of the codelab can this issue be found?
Task 5 - Complete the entry dioalog

Describe the problem

The instruction state to add a Modifier of modifier = Modifier.padding(40.dp), to the AndroidView for the RatingInputRow. However, that breaks the anticipated star functionality UI. This modifier should be removed (as is done in the solution code)

This is the resultant rating bar when padding is applied as specified
rating_bar_with_padding

@cjparent cjparent changed the title Unnecessary Modifier Breaks RatingInputRow Unnecessary Modifier in RatingInputRow Mar 2, 2023
@cjparent cjparent changed the title Unnecessary Modifier in RatingInputRow Modifier Issue in RatingInputRow Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant