Files
doerflingerhelpers/app/src/main/res/layout/helper_group_tile_item.xml
Alexander Dörflinger 47149307fe Added initial "ShareLocation" UI
Added the UI and some base logic for the share location logic, which
still needs to be enhanced with actual GPS and database logic.
2025-03-19 09:37:22 +01:00

37 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/helper_group_tile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxHeight="150dp"
android:maxWidth="250dp"
android:padding="15dp"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/helper_group_tile_background">
<ImageView
android:id="@+id/iv_helper_group_icon"
android:layout_width="75dp"
android:layout_height="75dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:src="@drawable/ic_sleep_timer"/>
<TextView
android:id="@+id/tv_helper_group_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/iv_helper_group_icon"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
tools:text="Sleep Timer"
android:textStyle="bold"
android:maxLines="1"
android:textColor="@color/md_theme_primary"
/>
</androidx.constraintlayout.widget.ConstraintLayout>