Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update testing base image
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacnguyen0809 committed Sep 16, 2024
1 parent fa47cc1 commit 48894ab
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.material3.Text
import androidx.compose.foundation.layout.width
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import com.ivy.ui.annotation.IvyPreviews

Expand All @@ -13,7 +16,21 @@ import com.ivy.ui.annotation.IvyPreviews
private fun DemoComposeScreenTesting() {
Column {
Spacer(Modifier.height(16.dp))
Text(text = "Hello World")
Box(
modifier = Modifier
.height(100.dp)
.width(100.dp)
.background(Color.Cyan)

) {
Box(
modifier = Modifier
.height(50.dp)
.width(50.dp)
.background(Color.Red)

)
}
Spacer(Modifier.height(16.dp))
}
}

0 comments on commit 48894ab

Please sign in to comment.