[ShareLocation] Added background service functionality

Now the sharing of the location should also be working from
the background.
This commit is contained in:
Alexander Dörflinger
2025-03-21 13:37:32 +01:00
parent ae50dd89df
commit eab7153ea1
18 changed files with 379 additions and 248 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true">
<shape android:layout_height="match_parent">
<solid android:color="@color/md_theme_secondaryContainer_mediumContrast" />
<corners
android:bottomLeftRadius="4dp"
android:bottomRightRadius="4dp"
android:topLeftRadius="4dp"
android:topRightRadius="4dp" />
</shape>
</item>
<item android:state_selected="false">
<shape>
<solid android:color="@color/md_theme_background" />
<corners
android:bottomLeftRadius="4dp"
android:bottomRightRadius="4dp"
android:topLeftRadius="4dp"
android:topRightRadius="4dp" />
</shape>
</item>
</selector>