[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:
29
app/src/main/res/layout/active_share_view_holder.xml
Normal file
29
app/src/main/res/layout/active_share_view_holder.xml
Normal 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>
|
||||
Reference in New Issue
Block a user