Skip to content

Commit

Permalink
Add boarder to sample to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Jan 4, 2024
1 parent b871749 commit e8068cc
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -76,6 +82,7 @@ fun SampleComposableFunction() {
text = "Sub",
Modifier
.testTag("SubBoxButton")
.border(1.dp, Color.Black, MaterialTheme.shapes.medium)
.background(Color.Gray)
.clickable {
count--
Expand Down

0 comments on commit e8068cc

Please sign in to comment.