diff --git a/LocationUpdatesBackgroundKotlin/app/build.gradle b/LocationUpdatesBackgroundKotlin/app/build.gradle
index 04d0d529..77cf8b15 100644
--- a/LocationUpdatesBackgroundKotlin/app/build.gradle
+++ b/LocationUpdatesBackgroundKotlin/app/build.gradle
@@ -53,9 +53,17 @@ dependencies {
implementation 'androidx.core:core-ktx:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'androidx.preference:preference:1.1.0'
+ implementation 'androidx.room:room-runtime:2.2.4'
+ kapt 'androidx.room:room-compiler:2.2.4'
+
+ implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
+ implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
kapt 'com.android.databinding:compiler:3.1.4'
+ implementation 'com.google.android.gms:play-services-location:17.0.0'
+
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml b/LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml
index 354d4b42..a89684e4 100644
--- a/LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml
@@ -18,7 +18,8 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.google.android.gms.location.sample.locationupdatesbackgroundkotlin">
-
+
+
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_location_on_24px.xml b/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_location_on_24px.xml
new file mode 100644
index 00000000..5e736454
--- /dev/null
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_location_on_24px.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_my_location_24px.xml b/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_my_location_24px.xml
new file mode 100644
index 00000000..1ba60013
--- /dev/null
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_my_location_24px.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml
index cd414635..89171939 100644
--- a/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml
@@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
@@ -23,7 +22,7 @@
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".MainActivity">
+ tools:context=".ui.MainActivity">
\ No newline at end of file
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_location_update.xml b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_location_update.xml
new file mode 100644
index 00000000..d5a461b2
--- /dev/null
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_location_update.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml
index 58c42196..79089ee7 100644
--- a/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml
+++ b/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml
@@ -24,34 +24,66 @@
android:id="@+id/frameLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".PermissionRequestFragment">
+ tools:context=".ui.PermissionRequestFragment">
+
+
+ app:layout_constraintTop_toBottomOf="@+id/iconImageView" />
+
+