2019-07-24 11:27:29 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-03 02:31:26 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="true" style="@style/FlexInput.Items.File"
|
2019-07-24 11:27:29 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-11-20 22:09:14 +00:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/thumb_iv" android:layout_margin="4.0dip" android:layout_marginLeft="8.0dip" android:layout_marginTop="8.0dip" android:layout_marginStart="8.0dip" app:layout_constraintEnd_toStartOf="@id/file_name_tv" app:layout_constraintHorizontal_chainStyle="spread_inside" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toLeftOf="@id/file_name_tv" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" style="@style/FlexInput.Items.File.Image" />
|
2019-10-03 02:31:26 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatImageView android:layout_gravity="end|bottom|center" android:id="@id/type_iv" android:layout_width="@dimen/file_type_icon_dimen" android:layout_height="@dimen/file_type_icon_dimen" android:tint="?flexInputIconColor" app:layout_constraintBottom_toBottomOf="@id/thumb_iv" app:layout_constraintEnd_toEndOf="@id/thumb_iv" app:layout_constraintRight_toRightOf="@id/thumb_iv" />
|
2019-11-20 22:09:14 +00:00
|
|
|
<TextView android:id="@id/file_name_tv" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/text_margin" android:layout_marginTop="@dimen/margin" android:layout_marginRight="@dimen/text_margin" android:layout_marginBottom="@dimen/margin" android:maxLines="1" android:layout_marginStart="@dimen/text_margin" android:layout_marginEnd="@dimen/text_margin" app:layout_constraintEnd_toStartOf="@id/selection_indicator" app:layout_constraintLeft_toRightOf="@id/thumb_iv" app:layout_constraintRight_toLeftOf="@id/selection_indicator" app:layout_constraintStart_toEndOf="@id/thumb_iv" app:layout_constraintTop_toTopOf="parent" style="@style/FlexInput.Items.File.Name" />
|
2019-10-03 02:31:26 +00:00
|
|
|
<TextView android:id="@id/file_subtitle_tv" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/margin" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="@id/file_name_tv" app:layout_constraintLeft_toLeftOf="@id/file_name_tv" app:layout_constraintRight_toRightOf="@id/file_name_tv" app:layout_constraintStart_toStartOf="@id/file_name_tv" app:layout_constraintTop_toBottomOf="@id/file_name_tv" style="@style/FlexInput.Items.File.Subtitle" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/selection_indicator" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintLeft_toRightOf="@id/file_name_tv" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toEndOf="@id/file_name_tv" app:layout_constraintTop_toTopOf="parent" style="@style/FlexInput.Items.File.Selection" />
|
2019-07-24 11:27:29 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|