Updated example to not use native activity anymore
This commit is contained in:
parent
ba70a4c666
commit
a73f82e191
23 changed files with 321 additions and 163 deletions
6
examples/android/android-simple/app/src/main/res/values/colors.xml
Executable file
6
examples/android/android-simple/app/src/main/res/values/colors.xml
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#3F51B5</color>
|
||||
<color name="colorPrimaryDark">#303F9F</color>
|
||||
<color name="colorAccent">#FF4081</color>
|
||||
</resources>
|
||||
5
examples/android/android-simple/app/src/main/res/values/dimens.xml
Executable file
5
examples/android/android-simple/app/src/main/res/values/dimens.xml
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
<resources>
|
||||
<!-- Default screen margins, per the Android Design guidelines. -->
|
||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||
</resources>
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name">Kompute Android Example</string>
|
||||
<string name="app_name">KomputeJni</string>
|
||||
</resources>
|
||||
|
|
|
|||
11
examples/android/android-simple/app/src/main/res/values/styles.xml
Executable file
11
examples/android/android-simple/app/src/main/res/values/styles.xml
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue