From 4ed27c859e60cfbf852c9179b805d47b81719ef1 Mon Sep 17 00:00:00 2001 From: J-Macleod Date: Sun, 13 Mar 2022 04:44:02 -0400 Subject: [PATCH 1/3] Report Incident Activity Created with Text Inputs --- .idea/misc.xml | 1 + app/build.gradle | 3 + app/src/main/AndroidManifest.xml | 5 +- .../freeways/ReportIncidentActivity.kt | 11 +++ .../res/layout/activity_report_incident.xml | 92 +++++++++++++++++++ build.gradle | 2 +- 6 files changed, 112 insertions(+), 2 deletions(-) create mode 100644 app/src/main/java/com/ucmobiledevelopment/freeways/ReportIncidentActivity.kt create mode 100644 app/src/main/res/layout/activity_report_incident.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index e07490c..199690d 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -5,6 +5,7 @@ + diff --git a/app/build.gradle b/app/build.gradle index 11295c5..c3cba96 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -54,6 +54,9 @@ dependencies { implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0' implementation 'androidx.activity:activity-compose:1.4.0' + implementation 'androidx.appcompat:appcompat:1.4.1' + implementation 'com.google.android.material:material:1.5.0' + implementation 'androidx.constraintlayout:constraintlayout:2.1.3' testImplementation 'junit:junit:4.+' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bd9e319..e6a8c41 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,7 +2,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +