[ShareLocation] Add subscriber logic

Now other people are allowed to follow a shared location as well
while the app is running.
This commit is contained in:
Alexander Dörflinger
2025-03-21 11:30:53 +01:00
parent 5ec30a966f
commit ae50dd89df
13 changed files with 588 additions and 69 deletions

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="75dp"
android:layout_height="75dp"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/active_share_profile_picture"
android:layout_width="50dp"
android:layout_height="50dp"
app:civ_border_width="2dp"
app:civ_border_color="#FF000000"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<TextView
android:id="@+id/active_share_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="11sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:gravity="center"
tools:text="Alexander Dörflinger"
app:layout_constraintTop_toBottomOf="@id/active_share_profile_picture"/>
</androidx.constraintlayout.widget.ConstraintLayout>