android: USB层+实时画面+UI骨架(阶段3a)
This commit is contained in:
@@ -4,18 +4,17 @@ import android.os.Bundle
|
||||
import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.activity.enableEdgeToEdge
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import com.mag160c.thermal.ui.AppRoot
|
||||
import com.mag160c.thermal.ui.theme.Mag160cTheme
|
||||
|
||||
class MainActivity : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
enableEdgeToEdge()
|
||||
setContent { App() }
|
||||
setContent {
|
||||
Mag160cTheme {
|
||||
AppRoot()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun App() {
|
||||
Text("MAG160C build check")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user