2019-02-13 05:22:37 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-03-24 18:59:55 +11:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:colorBackground"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="16dp"
|
2019-12-20 04:35:55 +11:00
|
|
|
android:paddingTop="8dp"
|
2019-03-24 18:59:55 +11:00
|
|
|
android:paddingEnd="16dp">
|
|
|
|
|
2019-02-13 05:22:37 +11:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
2019-03-24 18:59:55 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-13 05:22:37 +11:00
|
|
|
android:layout_gravity="end"
|
2019-12-20 04:35:55 +11:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
2019-02-13 05:22:37 +11:00
|
|
|
android:src="@drawable/ic_drag_indicator_24dp"
|
2019-03-24 18:59:55 +11:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
2019-12-20 04:35:55 +11:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
2019-03-24 18:59:55 +11:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:drawablePadding="12dp"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="?attr/status_text_large"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/chipGroup"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/imageView"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2019-12-20 04:35:55 +11:00
|
|
|
app:layout_goneMarginBottom="8dp"
|
2019-03-24 18:59:55 +11:00
|
|
|
tools:drawableStart="@drawable/ic_home_24dp"
|
|
|
|
tools:text="Home" />
|
|
|
|
|
2019-12-20 04:35:55 +11:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/removeButton"
|
|
|
|
style="?attr/image_button_style"
|
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/action_delete"
|
|
|
|
android:src="@drawable/ic_clear_24dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2019-03-24 18:59:55 +11:00
|
|
|
<com.google.android.material.chip.ChipGroup
|
|
|
|
android:id="@+id/chipGroup"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
2019-02-13 05:22:37 +11:00
|
|
|
|
2019-03-24 18:59:55 +11:00
|
|
|
<com.google.android.material.chip.Chip
|
|
|
|
android:id="@+id/actionChip"
|
|
|
|
style="@style/Widget.MaterialComponents.Chip.Action"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:checkable="false"
|
|
|
|
tools:text="add hashtag" />
|
2019-02-13 05:22:37 +11:00
|
|
|
|
2019-03-24 18:59:55 +11:00
|
|
|
</com.google.android.material.chip.ChipGroup>
|
2019-02-13 05:22:37 +11:00
|
|
|
|
2019-03-24 18:59:55 +11:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|