feat: front only, buttons to stop and add
This commit is contained in:
parent
a41c2c50c8
commit
bee619286a
41 changed files with 15 additions and 4 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
gradle/
|
||||
build
|
||||
.idea
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
6
|
||||
9
|
||||
0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,13 +1,12 @@
|
|||
package xyz.atnrch.wrench.display
|
||||
|
||||
import androidx.compose.foundation.layout.Box
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.material.Button
|
||||
import androidx.compose.material.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.unit.dp
|
||||
|
||||
@Composable
|
||||
fun WrenchDisplay(
|
||||
|
@ -18,9 +17,18 @@ fun WrenchDisplay(
|
|||
modifier = Modifier.fillMaxSize()
|
||||
) {
|
||||
Row {
|
||||
|
||||
Button(onStartButtonClick) {
|
||||
Text("Watch")
|
||||
}
|
||||
Spacer(Modifier.width(16.dp))
|
||||
Button({}) {
|
||||
Text("Stop")
|
||||
}
|
||||
Spacer(Modifier.width(16.dp))
|
||||
Button({}) {
|
||||
Text("Add...")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue