From e8068cca1bc83ca359a94c312fa5098413e878c3 Mon Sep 17 00:00:00 2001 From: takahirom Date: Thu, 4 Jan 2024 17:31:55 +0900 Subject: [PATCH] Add boarder to sample to debug --- .../github/takahirom/roborazzi/sample/FirstFragment.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sample-android/src/main/java/com/github/takahirom/roborazzi/sample/FirstFragment.kt b/sample-android/src/main/java/com/github/takahirom/roborazzi/sample/FirstFragment.kt index d5a9ddfe..9ccc6c84 100644 --- a/sample-android/src/main/java/com/github/takahirom/roborazzi/sample/FirstFragment.kt +++ b/sample-android/src/main/java/com/github/takahirom/roborazzi/sample/FirstFragment.kt @@ -5,12 +5,18 @@ import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.compose.foundation.background +import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.size +import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text -import androidx.compose.runtime.* +import androidx.compose.runtime.Composable +import androidx.compose.runtime.getValue +import androidx.compose.runtime.mutableStateOf +import androidx.compose.runtime.remember +import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.platform.testTag @@ -76,6 +82,7 @@ fun SampleComposableFunction() { text = "Sub", Modifier .testTag("SubBoxButton") + .border(1.dp, Color.Black, MaterialTheme.shapes.medium) .background(Color.Gray) .clickable { count--