From c7039b6b0f6ab0f99fefecac07196ada6da2221a Mon Sep 17 00:00:00 2001 From: Isidro Henoch Date: Fri, 3 Dec 2021 21:18:33 -0600 Subject: Inits the project --- androidApp/src/main/AndroidManifest.xml | 18 ++++++++++++++++++ .../mx/trackermap/TrackerMap/android/MainActivity.kt | 20 ++++++++++++++++++++ androidApp/src/main/res/layout/activity_main.xml | 19 +++++++++++++++++++ androidApp/src/main/res/values/colors.xml | 6 ++++++ androidApp/src/main/res/values/styles.xml | 9 +++++++++ 5 files changed, 72 insertions(+) create mode 100644 androidApp/src/main/AndroidManifest.xml create mode 100644 androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt create mode 100644 androidApp/src/main/res/layout/activity_main.xml create mode 100644 androidApp/src/main/res/values/colors.xml create mode 100644 androidApp/src/main/res/values/styles.xml (limited to 'androidApp/src/main') diff --git a/androidApp/src/main/AndroidManifest.xml b/androidApp/src/main/AndroidManifest.xml new file mode 100644 index 0000000..8131d77 --- /dev/null +++ b/androidApp/src/main/AndroidManifest.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt new file mode 100644 index 0000000..e7d1b5e --- /dev/null +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/MainActivity.kt @@ -0,0 +1,20 @@ +package mx.trackermap.TrackerMap.android + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle +import mx.trackermap.TrackerMap.Greeting +import android.widget.TextView + +fun greet(): String { + return Greeting().greeting() +} + +class MainActivity : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_main) + + val tv: TextView = findViewById(R.id.text_view) + tv.text = greet() + } +} diff --git a/androidApp/src/main/res/layout/activity_main.xml b/androidApp/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..73626a6 --- /dev/null +++ b/androidApp/src/main/res/layout/activity_main.xml @@ -0,0 +1,19 @@ + + + + + + \ No newline at end of file diff --git a/androidApp/src/main/res/values/colors.xml b/androidApp/src/main/res/values/colors.xml new file mode 100644 index 0000000..4faecfa --- /dev/null +++ b/androidApp/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ + + + #6200EE + #3700B3 + #03DAC5 + \ No newline at end of file diff --git a/androidApp/src/main/res/values/styles.xml b/androidApp/src/main/res/values/styles.xml new file mode 100644 index 0000000..1971a0a --- /dev/null +++ b/androidApp/src/main/res/values/styles.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file -- cgit v1.2.3