2019-06-23 02:34:14 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-04 23:49:03 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
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:layout_width="match_parent"
|
2019-06-23 02:34:14 +02:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2020-06-04 23:49:03 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:background="@color/lightThemeBackground">
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-07-13 14:43:30 +02:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:layout_marginBottom="6dp"
|
2020-06-04 23:49:03 +02:00
|
|
|
card_view:cardElevation="4dp"
|
|
|
|
card_view:cardCornerRadius="6dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/contact_avatar"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_person_black_24dp" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/contact_status_badge"
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="15dp"
|
|
|
|
android:src="@drawable/circle"
|
|
|
|
android:tint="@android:color/holo_green_dark"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/contact_avatar"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/contact_avatar" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:text="@tools:sample/full_names"
|
|
|
|
android:textSize="20sp"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/contact_avatar"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/contact_avatar"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/contact_address" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_address"
|
|
|
|
android:layout_width="285dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/contact_avatar"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.050"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/contact_avatar"
|
|
|
|
tools:text="romeo@montague.lit" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_presence"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="4dp"
|
|
|
|
tools:text="Unavailable due to extended inactivity for more than 15 minutes."/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-07-13 14:43:30 +02:00
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:layout_marginBottom="6dp"
|
2020-06-04 23:49:03 +02:00
|
|
|
app:cardElevation="4dp"
|
|
|
|
app:cardCornerRadius="6dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="8dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Used Account"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_account"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:text="vanitasvitae@jabberhead.tk"/>
|
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:visibility="gone"
|
2020-06-04 23:49:03 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 11:45:07 +01:00
|
|
|
android:orientation="vertical">
|
2020-06-04 23:49:03 +02:00
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Categories"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"/>
|
2020-06-04 23:49:03 +02:00
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
android:id="@+id/contact_groups"
|
|
|
|
android:layout_width="match_parent"
|
2020-06-04 23:49:03 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 11:45:07 +01:00
|
|
|
app:chipSpacing="4dp">
|
2020-06-04 23:49:03 +02:00
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:chipStrokeColor="@color/black"
|
|
|
|
android:text="Work"/>
|
|
|
|
|
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Dungeons n' Dragons"/>
|
|
|
|
|
|
|
|
</com.google.android.material.chip.ChipGroup>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/button_add_to_group"
|
2020-06-04 23:49:03 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 11:45:07 +01:00
|
|
|
android:text="Mark Mercury Seven"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2020-06-04 23:49:03 +02:00
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:layout_width="match_parent"
|
2020-12-02 13:36:04 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:layout_marginBottom="6dp">
|
2020-11-30 11:45:07 +01:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
2020-12-02 13:36:04 +01:00
|
|
|
android:padding="8dp">
|
2020-06-05 13:45:53 +02:00
|
|
|
|
2020-11-30 11:45:07 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/title"
|
2020-06-05 13:45:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 11:45:07 +01:00
|
|
|
android:text="Identity Key"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/contact_ikey_fingerprint"
|
|
|
|
layout="@layout/view_openpgp_4_fingerprint_info_toggleable"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-06-04 23:49:03 +02:00
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
2020-07-13 14:43:30 +02:00
|
|
|
<include layout="@layout/view_fingerprints_card_toggleable"
|
|
|
|
android:id="@+id/contact_fingerprints"
|
2020-06-26 16:00:47 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-07-13 14:43:30 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginBottom="64dp"/>
|
2020-06-26 16:00:47 +02:00
|
|
|
|
2020-06-04 23:49:03 +02:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
|
|
style="@style/Widget.MaterialComponents.ExtendedFloatingActionButton.Icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/fab"
|
|
|
|
android:transitionName="fab"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
app:icon="@drawable/ic_message_black_24dp"/>
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|