Skip to content

Commit 9e27935

Browse files
committed
sample: error with width and height
1 parent 67dac26 commit 9e27935

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/src/main/java/com/example/viewplayground/MainFragment.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class MainFragment : Fragment() {
2020
setViewCompositionStrategy(
2121
ViewCompositionStrategy.DisposeOnDetachedFromWindow
2222
)
23-
layoutParams = ViewGroup.LayoutParams(
24-
ViewGroup.LayoutParams.MATCH_PARENT,
25-
ViewGroup.LayoutParams.MATCH_PARENT
26-
)
23+
2724
setContent {
2825
GoogleMap {
2926
MarkerComposable {

0 commit comments

Comments
 (0)