File tree 3 files changed +9
-7
lines changed
android-sample/app/src/main/kotlin/com/fernandocejas/sample
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ This repository aims to cover The Rust Programming Language integration with oth
7
7
- ** [ WEB] ( web-sample/ ) :** via WebAssembly.
8
8
- ** [ DESKTOP] ( desktop-sample/ ) :** via [ Tauri] ( https://tauri.app/ ) .
9
9
10
+ At the moment ONLY the Android Part is done:
11
+
10
12
<p align =" center " >
11
13
<img src =" https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3 " width =" 300 " alt =" rust-cross-platform-project-overview " />
12
- <img src =" https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3 " width =" 300 " alt =" rust-cross-platform-project-overview " />
13
- <img src =" https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3 " width =" 300 " alt =" rust-cross-platform-project-overview " />
14
14
</p >
15
15
16
16
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ import androidx.compose.runtime.remember
43
43
import androidx.compose.runtime.setValue
44
44
import androidx.compose.ui.Alignment
45
45
import androidx.compose.ui.Modifier
46
+ import androidx.compose.ui.graphics.Color
46
47
import androidx.compose.ui.res.stringResource
47
48
import androidx.compose.ui.unit.dp
48
49
import androidx.core.view.WindowCompat
@@ -63,7 +64,8 @@ class MainActivity : AppCompatActivity() {
63
64
MaterialTheme {
64
65
Surface (
65
66
modifier = Modifier .fillMaxSize(),
66
- color = MaterialTheme .colorScheme.background
67
+ color = Color .Gray
68
+ // color = MaterialTheme.colorScheme.background
67
69
) {
68
70
Column (modifier = Modifier .fillMaxSize()) {
69
71
MainScreenComponent ()
Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ This crate fully depends on the `crypto` crate and its main purpose is to **act
42
42
#### Available commands
43
43
44
44
``` bash
45
- $ cargo build // build the debug version of the project.
46
- $ cargo build --bin release // build the release version of the project for all android targets.
47
- $ cargo build --bin publish // copy all the released libraries/crates inside the android project.
48
- $ cargo test // run all the tests.
45
+ $ cargo build // build the debug version of the project.
46
+ $ cargo run --bin release // build the release version of the project for all android targets.
47
+ $ cargo run --bin publish // copy all the released libraries/crates inside the android project.
48
+ $ cargo test // run all the tests.
49
49
```
50
50
51
51
### ** cryptor_c**
You can’t perform that action at this time.
0 commit comments