2018-06-18 21:26:18 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-06-18 21:26:18 +10:00
|
|
|
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"
|
2019-02-12 02:59:01 +11:00
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingBottom="12dp">
|
2018-06-18 21:26:18 +10:00
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-06-18 21:26:18 +10:00
|
|
|
android:id="@+id/accountMovedText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:drawablePadding="6dp"
|
|
|
|
android:textSize="?attr/status_text_medium"
|
2019-02-12 02:59:01 +11:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2018-06-18 21:26:18 +10:00
|
|
|
tools:text="Account has moved" />
|
|
|
|
|
2018-07-30 23:36:22 +10:00
|
|
|
<com.keylesspalace.tusky.view.RoundedImageView
|
2018-06-18 21:26:18 +10:00
|
|
|
android:id="@+id/accountMovedAvatar"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginTop="8dp"
|
2019-02-12 02:59:01 +11:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-06-18 21:26:18 +10:00
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedText"
|
|
|
|
tools:src="@drawable/avatar_default" />
|
|
|
|
|
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
<androidx.emoji.widget.EmojiTextView
|
2018-06-18 21:26:18 +10:00
|
|
|
android:id="@+id/accountMovedDisplayName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="?attr/status_text_large"
|
|
|
|
android:textStyle="normal|bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/accountMovedUsername"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/accountMovedAvatar"
|
|
|
|
tools:text="Display name" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/accountMovedUsername"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="?attr/status_text_medium"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/accountMovedAvatar"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/accountMovedAvatar"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/accountMovedDisplayName"
|
|
|
|
tools:text="\@username" />
|
|
|
|
|
2018-12-18 01:25:35 +11:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|