Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/note_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/activity_margin_half"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:orientation="vertical"
android:padding="@dimen/activity_margin_half">
<include
layout="@layout/item_header" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/activity_margin_half"
android:paddingLeft="4dp"
android:paddingRight="4dp">
<TextView
android:id="@+id/event_item_desc"
style="@style/TextAppearance.AppCompat.Body1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="0.54"
android:ellipsize="end"
android:maxLines="6"
android:paddingBottom="@dimen/activity_margin_half"
android:textColor="@color/secondary_text"
tools:text="Description" />
<ImageView
android:id="@+id/event_action_share"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:tint="@android:color/black"
android:visibility="gone"
app:srcCompat="@drawable/ic_share" />
</RelativeLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>