FairEmail/app/src/main/res/layout/item_operation.xml

82 lines
3.6 KiB
XML
Raw Normal View History

2018-08-13 06:59:05 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-01-29 11:06:53 +00:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-13 06:59:05 +00:00
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2019-01-29 11:06:53 +00:00
android:layout_height="wrap_content">
2018-08-13 06:59:05 +00:00
2019-01-29 11:06:53 +00:00
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clItem"
android:layout_width="match_parent"
2018-08-13 06:59:05 +00:00
android:layout_height="wrap_content"
2019-03-07 20:33:29 +00:00
android:foreground="?attr/selectableItemBackground"
2019-03-12 19:43:51 +00:00
android:paddingStart="6dp"
2019-03-07 20:33:29 +00:00
android:paddingTop="3dp"
2019-03-12 19:43:51 +00:00
android:paddingEnd="6dp"
2019-03-07 20:33:29 +00:00
android:paddingBottom="3dp">
2018-08-13 06:59:05 +00:00
2019-05-11 19:04:27 +00:00
<ImageView
android:id="@+id/ivState"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_synchronizing"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
2020-09-28 07:18:56 +00:00
app:srcCompat="@drawable/twotone_compare_arrows_24" />
2019-05-11 19:04:27 +00:00
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-01-29 11:06:53 +00:00
android:id="@+id/tvFolder"
2019-05-11 19:04:27 +00:00
android:layout_width="150dp"
2019-01-29 11:06:53 +00:00
android:layout_height="wrap_content"
2019-05-11 19:04:27 +00:00
android:layout_marginStart="6dp"
2019-02-17 12:39:59 +00:00
android:ellipsize="middle"
2019-05-11 19:04:27 +00:00
android:gravity="center_vertical"
2019-01-29 11:06:53 +00:00
android:singleLine="true"
android:text="Folder"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2019-05-11 19:04:27 +00:00
app:layout_constraintBottom_toBottomOf="@id/ivState"
app:layout_constraintStart_toEndOf="@id/ivState"
app:layout_constraintTop_toTopOf="parent" />
2018-12-01 13:02:27 +00:00
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-01-29 11:06:53 +00:00
android:id="@+id/tvOperation"
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-05-11 19:04:27 +00:00
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
2019-03-12 19:43:51 +00:00
android:ellipsize="end"
2019-05-11 19:04:27 +00:00
android:gravity="center_vertical"
2019-02-17 12:39:59 +00:00
android:singleLine="true"
2019-01-29 11:06:53 +00:00
android:text="Name"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2019-05-11 19:04:27 +00:00
app:layout_constraintBottom_toBottomOf="@id/ivState"
2019-01-29 11:06:53 +00:00
app:layout_constraintEnd_toStartOf="@+id/tvTime"
2019-03-12 19:43:51 +00:00
app:layout_constraintStart_toEndOf="@id/tvFolder"
2019-05-11 19:04:27 +00:00
app:layout_constraintTop_toTopOf="parent" />
2018-12-01 13:02:27 +00:00
2020-02-28 16:34:43 +00:00
<eu.faircode.email.FixedTextView
2019-01-29 11:06:53 +00:00
android:id="@+id/tvTime"
2019-05-11 19:04:27 +00:00
android:layout_width="wrap_content"
2019-01-29 11:06:53 +00:00
android:layout_height="wrap_content"
2019-03-12 19:43:51 +00:00
android:ellipsize="start"
2019-05-11 19:04:27 +00:00
android:gravity="center_vertical"
2019-03-12 19:43:51 +00:00
android:singleLine="true"
2019-01-29 11:06:53 +00:00
android:text="Time"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
2019-05-11 19:04:27 +00:00
app:layout_constraintBottom_toBottomOf="@id/ivState"
2019-01-29 11:06:53 +00:00
app:layout_constraintEnd_toEndOf="parent"
2019-05-11 19:04:27 +00:00
app:layout_constraintTop_toTopOf="parent" />
2019-01-29 11:06:53 +00:00
2020-02-14 14:56:27 +00:00
<eu.faircode.email.FixedTextView
2019-01-29 11:06:53 +00:00
android:id="@+id/tvError"
android:layout_width="0dp"
android:layout_height="wrap_content"
2019-05-11 19:04:27 +00:00
android:layout_marginStart="6dp"
2019-01-29 11:06:53 +00:00
android:text="error"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?attr/colorWarning"
android:textIsSelectable="true"
app:layout_constraintEnd_toEndOf="parent"
2019-05-11 19:04:27 +00:00
app:layout_constraintStart_toEndOf="@id/ivState"
2019-03-12 19:43:51 +00:00
app:layout_constraintTop_toBottomOf="@id/tvFolder" />
2019-01-29 11:06:53 +00:00
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>