2020-01-27 21:43:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-06-10 07:29:07 +00:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-27 21:43:46 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2022-06-10 07:29:07 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-01-27 21:43:46 +00:00
|
|
|
android:id="@+id/clItem"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/activatableItemBackground"
|
|
|
|
android:padding="6dp">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/cbKeyword"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Keyword"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/btnColor"
|
2021-07-04 08:24:36 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibEdit"
|
2020-01-27 21:43:46 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/btnColor" />
|
|
|
|
|
2022-06-10 07:29:07 +00:00
|
|
|
<ImageButton
|
2021-07-04 08:24:36 +00:00
|
|
|
android:id="@+id/ibEdit"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_legend_edit"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:tooltipText="@string/title_legend_edit"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/btnColor"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/cbKeyword"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/btnColor"
|
|
|
|
app:srcCompat="@drawable/twotone_edit_24" />
|
|
|
|
|
2021-10-04 05:37:45 +00:00
|
|
|
<eu.faircode.email.EditTextPlain
|
2021-07-04 08:24:36 +00:00
|
|
|
android:id="@+id/etKeyword"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
2021-10-04 05:37:45 +00:00
|
|
|
android:imeOptions="actionDone"
|
2021-07-04 08:24:36 +00:00
|
|
|
android:inputType="text"
|
|
|
|
android:text="Title"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/btnColor"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/ibSave"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/ibEdit"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/btnColor" />
|
|
|
|
|
2022-06-10 07:29:07 +00:00
|
|
|
<ImageButton
|
2021-07-04 08:24:36 +00:00
|
|
|
android:id="@+id/ibSave"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/title_save"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:tooltipText="@string/title_save"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/btnColor"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/etKeyword"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/btnColor"
|
2021-08-22 18:45:33 +00:00
|
|
|
app:srcCompat="@drawable/twotone_save_alt_24" />
|
2021-07-04 08:24:36 +00:00
|
|
|
|
2020-01-27 21:43:46 +00:00
|
|
|
<eu.faircode.email.ViewButtonColor
|
|
|
|
android:id="@+id/btnColor"
|
2020-03-18 20:09:16 +00:00
|
|
|
style="?android:attr/buttonStyleSmall"
|
2020-01-27 21:43:46 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-07-04 08:24:36 +00:00
|
|
|
android:layout_marginStart="12dp"
|
2020-10-06 17:17:28 +00:00
|
|
|
android:paddingHorizontal="6dp"
|
2020-01-27 21:43:46 +00:00
|
|
|
android:text="@string/title_select"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-07-04 08:24:36 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@+id/ibSave"
|
2020-01-27 21:43:46 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2021-07-04 08:24:36 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpNotEdit"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:constraint_referenced_ids="cbKeyword,ibEdit" />
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:id="@+id/grpEdit"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:visibility="visible"
|
|
|
|
app:constraint_referenced_ids="etKeyword,ibSave" />
|
2022-06-10 07:29:07 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</FrameLayout>
|