|
|
|
@ -28,10 +28,23 @@
|
|
|
|
|
android:text="Link title"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
|
android:textStyle="italic"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibShare"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvCaption" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.EditTextPlain
|
|
|
|
|
android:id="@+id/etLink"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
|
android:inputType="textUri|textMultiLine"
|
|
|
|
|
android:text="https://email.faircode.eu/"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibShare"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
@ -39,8 +52,8 @@
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
|
android:contentDescription="@string/title_share"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvTitle"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibCopy"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etLink"
|
|
|
|
|
app:srcCompat="@drawable/baseline_share_24" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
@ -49,34 +62,33 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
|
android:contentDescription="@string/title_clipboard_copy"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/tvTitle"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etLink"
|
|
|
|
|
app:srcCompat="@drawable/baseline_assignment_24" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.EditTextPlain
|
|
|
|
|
android:id="@+id/etLink"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
|
android:inputType="textUri|textMultiLine"
|
|
|
|
|
android:text="https://email.faircode.eu/"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvTitle" />
|
|
|
|
|
|
|
|
|
|
<eu.faircode.email.FixedTextView
|
|
|
|
|
android:id="@+id/tvDifferent"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
|
android:text="@string/title_different_link"
|
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibDifferent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/etLink" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibCopy" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/ibDifferent"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
|
android:contentDescription="@string/title_clipboard_copy"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/tvDifferent"
|
|
|
|
|
app:srcCompat="@drawable/baseline_insert_link_24" />
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
|
android:id="@+id/cbSecure"
|
|
|
|
@ -87,7 +99,7 @@
|
|
|
|
|
android:textColor="?attr/colorWarning"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvDifferent" />
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/ibDifferent" />
|
|
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
|
android:id="@+id/cbSanitize"
|
|
|
|
@ -159,6 +171,12 @@
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvHost" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpDifferent"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
app:constraint_referenced_ids="tvDifferent,ibDifferent" />
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/grpOwner"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|